Failed to load Microsoft.ServiceHosting.Tools file or assembly.

I got a new workstation, and I first installed VS 2013 with the Windows Azure SDK 2.3. But then I realized that our project was built on the Windows Azure SDK 2.2. So I uninstalled SDK 2.3 and then installed 2.2. After that, I received the project from TFS and tried to start it, and there was a problem:

Cannot debug the project because some runtime file was missing.

So, I tried to restore it by completely uninstalling the Windows Azure SDK 2.2 and restoring my VisualStudio. But now I get this error message:

Could not load file or assembly "Microsoft.ServiceHosting.Tools, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = 232wedsfd3f4" or one of its dependencies. The system cannot find the specified file.

I looked through the project and there was no link to Miscrosoft.ServiceHosting . Both the database and the clouds work. I don’t know what happened on the machine, since Azure is a new field for me. Does anyone face the same problem?

+4
source share
4 answers

I will finally solve the problem! But I will not delete the message because I think that some other people may encounter the same problem.

(Win8.1 Ultimate), Hyper-V, Azure Emulator . Windows Pro Enterprise !

, - , .

+1

, Azure SDK VS.NET 2013.

Azure SDK (http://azure.microsoft.com/en-us/downloads/) VS.NET , OP.

+3

VS 2012. - Azure. , ,

'Could not load file or assembly ***'Microsoft.ServiceHosting.Tools'***'

The problem was resolved after installing Microsoft Azure Emulator and Microsoft Azure Storage Emulator.

+3
source

Reinstalling MicrosoftAzureComputeEmulator-x64 and MicrosoftAzureStorageEmulator solved the problem. No need to install the full Azure SDK again.

I faced the same problem, and the problem of reinstalling above 2 software products and restarting the visual studio fixed the problem.

0
source

Source: https://habr.com/ru/post/1536907/


All Articles