Need to use .net4.6.2 version of System.runtime
I am using the third-party dll in my application. while generating the UWP build for HoloLens environment, build fails with following error
CS1705: Assembly 'x.y.z' with identity 'x.y.z, Version=2.0.0.0, Culture=neutral, PublicKeyToken=33101ee013558559' uses 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
So on referring the few post in the community i copied the 'system.runtime' dll from the
C:\Program Files\Unity\Hub\Editor\2020.3.20f1\Editor\Data\MonoBleedingEdge\lib\mono\4.6.2-api
but that resulted in another compiler error of
File does not contain a valid CIL image
UWP build settings
Environment
Unity : 2020.3.20f1 Vs: 16.11.3 OS build : 19044.1469 .Net version on system PSChildName Version
v2.0.50727 2.0.50727.4927 v3.0 3.0.30729.4926 Windows Communication Foundation 3.0.4506.4926 Windows Presentation Foundation 3.0.6920.4902 v3.5 3.5.30729.4926 Client 4.8.04084 Full 4.8.04084 Client 4.0.0.0
Kindly guide me how to solve this issue to generate the Build for UWP
Your answer
Follow this Question
Related Questions
Facebook.Unity.Gameroom.dll was not registered 6 Answers
Error While Building for Windows Universal 0 Answers
How to resolve Supported API test failure in Windows App Certification Kit - Test Results 0 Answers
Unity plugins colliding with eacother error message when I build and run 0 Answers
Building Error 0 Answers