Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

OpenTK application crashing after updating via NuGet

$
0
0

Our Windows Forms Application crashes after we install a new version of OpenTK via NuGet. The rest of the application runs but forms using the OpenTK part just crash the application when loaded. We include two dlls in our Application, OpenTK.dll and OpenTK.GLControl.dll and worked with two similar versions until now. NuGet provides Updates, but the versioning for the two dlls is different: v3.2.0 for the first and v3.1.0 for the second, which may also cause the error or the need to store the information NuGet puts into the .config.exe file.

We only have this problem after deleting the Application.config.exe, where NuGet stores the following lines:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="OpenTK" publicKeyToken="bad199fe84eb3df4" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.2.0.0" newVersion="3.2.0.0" /></dependentAssembly></assemblyBinding>

We would like to ship the .exe without the .config.exe file and would like to know if there is a way of putting this configuration into the .exe file, enabling us to update to new Versions of OpenTK when available.


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>