I'm trying to deploy to Azure Websites (Preview) from TFS (Preview). The build works and the website is deployed but when my code tries to access the Azure RoleEnvironment the website throws the following exception:
Could not load file or assembly 'msshrtmi, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I've tried all solutions proposed in the following thread with no luck. I think it has do to with the TFS.
I have tested this:
- Reinstalled Azure SDK and Tools
- Removed all PlatformTarget from projectfiles
- Wrote post-build event to delete msshrtmi.dll
- Targeted all assemblies to x64 (-> failed all unit tests on TFS, it seems to be x86, even if allowing x64 in .testsettings)
Could not load file or assembly 'msshrtmi' or one of its dependencies (Azure Table Storage Access)
I've ran out of ideas on how to troubleshoot this issue? Does anyone have any suggestions?