@Elaws wrote:
Hi !
I just updated VS 2017 to 15.9.13 (installed with .NET Desktop) and Monogame to 3.7.1. Everything built fine before these updates, and now getting the following build error :
No way to resolve conflict between "System.Runtime.WindowsRuntime, Version=4.0.11.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System.Runtime.WindowsRuntime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". Choosing "System.Runtime.WindowsRuntime, Version=4.0.11.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
3> Consider app.config remapping of assembly "System.Runtime.WindowsRuntime, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "4.0.10.0" [] to Version "4.0.11.0" [] to solve conflict and get rid of warning.
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file.When I use "Auto-generate bindings redirects", no more build error, but when I run the program, I get the following exception :
Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=4.0.11.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
It occurs when this code is executed :
graphics = new GraphicsDeviceManager(this);
Any idea how to solve this problem ?
Thank you very much in advance !
Posts: 3
Participants: 2