Xamarin build error Exception while loading assemblies: System.IO.FileNotFoundException

前端 未结 2 1615
一生所求
一生所求 2020-12-11 16:56

always i try to Build my Xamarin app i get this error. And i dont know why. I use the System.Security.dll of .Net Framework 4 and i though this should work. Thanks.

相关标签:
2条回答
  • 2020-12-11 17:38

    I had the same issue with System.Web. All I had to do was to add the System.Web reference from the GAC.

    update

    GAC is probably the wrong word here. Those are the default .net (mono) framework libraries. You can find them in Project/References/ and right click to 'Edit References' you'd find the framework libraries under Packages tab.

    0 讨论(0)
  • 2020-12-11 17:41

    Add the missing .dll to your project(s).

    Right click on the References folder -> Add Reference -> Browse -> C:\Windows\Microsoft.NET\Framework64\<version number>\ -> <missing.dll>

    Clean your project and rebuild

    0 讨论(0)
提交回复
热议问题