You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
Hi,
My project had some strange issues with mixed sharpdx versions (disclaimer: I never installed and referenced any 3.0.0 lib):
Although the projects files and nuget (both in Visual Studio and in the project files itself) referenced 2.6.3, the project compiled with 3.0.0. In addition the compiled assemblies were corrupt. Visual Studio just outputs a warning in the build window. Even using msbuild with verbose:diag did not help: Everything is fine, until "suddenly" the 3.6.3 is replaced by 3.0.0 "because it is referenced by" the 2.6.3 libs (yes, that is weird) (sorry, in german):
Vereinheitlichte Abh„ngigkeit "SharpDX, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1". (Aufgaben-ID: 162)
...
Dieser Verweis konnte nicht aufgel”st werden. Die SharpDX, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1-Assembly wurde nicht gefunden. Stellen Sie sicher, dass die Assembly auf dem Datentr„ger vorhanden ist. Falls dieser Verweis im Code erforderlich ist, k”nnen Kompilierungsfehler auftreten. (Aufgaben-ID: 162)
...
Erforderlich für "SharpDX.Direct3D11.Effects, Version=2.6.3.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL". (Aufgaben-ID: 162)
BUT I found the solution, I just want to share it, in case someone has the same problems:
Visual Studio adds an assembly binding if you change the runtime version: App.config
Unless you started to reference 3.0.0 assemblies, and then reverted back to use 2.6.3 assemblies, I can't see why you would get 3.0.0 messing up the App.config file.
Hi,
My project had some strange issues with mixed sharpdx versions (disclaimer: I never installed and referenced any 3.0.0 lib):
Although the projects files and nuget (both in Visual Studio and in the project files itself) referenced 2.6.3, the project compiled with 3.0.0. In addition the compiled assemblies were corrupt. Visual Studio just outputs a warning in the build window. Even using msbuild with verbose:diag did not help: Everything is fine, until "suddenly" the 3.6.3 is replaced by 3.0.0 "because it is referenced by" the 2.6.3 libs (yes, that is weird) (sorry, in german):
BUT I found the solution, I just want to share it, in case someone has the same problems:
Visual Studio adds an assembly binding if you change the runtime version:
App.config
Just remove the
<assemblyBinding>
blocks and everything is fine again.A similar issue can be found here
P.S.: This issue can be closed xD
The text was updated successfully, but these errors were encountered: