我在StackOverflow上看到了关于它的多个帖子/问题但是关于ASP.NET
我得到以下内容:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2):错误:加载程序集时出现异常:System.IO.FileNotFoundException:无法加载程序集' System.Web.Mvc,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'。也许它在Mono for Android配置文件中不存在? 文件名:' System.Web.Mvc.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(Mono.Cecil.AssemblyNameReference reference,Mono.Cecil.ReaderParameters参数)[0x00099]在/ Users / builder / data / lanes / 5749 / 9cfa7836 / source / xamarin-android /外部/ Java.Interop / src目录/ Java.Interop.Tools.Cecil / Java.Interop.Tools.Cecil / DirectoryAssemblyResolver.cs:229 在/Users/builder/data/lanes/5749/9cfa7836/source/xamarin-android/external/Java.Interop/src中的Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(Mono.Cecil.AssemblyNameReference reference)[0x00000] /Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:179 at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(Java.Interop.Tools.Cecil.DirectoryAssemblyResolver resolver,System.Collections.Generic.ICollection`1 [T] assemblies,Mono.Cecil.AssemblyDefinition assembly,System.Boolean topLevel)[0x0015c ]< 998d78d5ee6d46b491b77aff8eeaf856&gt ;:0 at Xamarin.Android.Tasks.ResolveAssemblies.Execute(Java.Interop.Tools.Cecil.DirectoryAssemblyResolver resolver)[0x001c7] in< 998d78d5ee6d46b491b77aff8eeaf856>:0(NightLine.Droid)
现在有趣的一点是,我的项目并不是一个所有的ASP.NET项目x)首先,到底是什么?
我播放了这段视频:https://channel9.msdn.com/Shows/XamarinShow/Snack-Pack-15-Upgrading-to-XamarinForms-to-NET-Standard
我将.NET Standard项目升级到2.0。我的Android目标是8.0和编译器。我尝试升级所有的Xamarin.Android。*包但没有成功......
有什么想法吗?
由于