I'm currently trying to build a company hub for WindowsPhone 8.1. So I made the AET and registered as a Company in the Dev Center. Now I have a problem by calling the InstallationManager.AddPackageAsync() method. It gives me the Error in the title: addpackageasync an attemp was made to reference [...] read more
When I start a console app from an asp.net application and set UseShellExecute = False, I get the error: > Unhandled Exception: System.IO.FileLoadException: Could not load file or > assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089' or one of its dependencies. An attempt was > made to reference a token that [...] read more
I have created a new C# project using a Word 2013 and 2016 VSTO Add-in template in Visual Studio 2015. I have not done any changes to the auto-generated project code in order to see how it will be built on my TFS 2015 Build Server. The build produced the [...] read more
I have the following code which for some reason keeps throwing up this error: An attempt was made to reference a token that does not exist. (Exception from HRESULT: 0x800703F0) private bool LockVolume(SafeFileHandle handle) { int byteReturned; const uint FSCTL_LOCK_VOLUME = 0x00090018; if (DeviceIoControl(handle, FSCTL_LOCK_VOLUME, null, 0, null, 0, out [...] read more