自从我添加了Akavache之后,我的Xamarin应用程序就不再构建了。Csc/ CoreCompile失败。如果我移除阿卡瓦奇,它就会建得很好。没有任何错误,但我可以在输出窗口中找到以下错误:
8> Output Item(s): CscCommandLineArgs= (TaskId:201)
8>Done executing task "Csc" -- FAILED. (TaskId:201)
8>Done building target "CoreCompile" in project "My.App.csproj" -- FAILED.: (TargetId:242)
8>Target "_CheckForCompileOutputs: (TargetId:243)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\git\Apps\My.App\My.App.csproj" (target "_CleanGetCurrentAndPriorFileWrites" depends on it):
8>Set Property: _DocumentationFileProduced=false
8>Set Property: _DebugSymbolsProduced=false
8>Done building target "_CheckForCompileOutputs" in project "My.App.csproj".: (TargetId:243)我正在使用Akavach5.0在一个PCL项目的Xamarin。只有我的应用程序的PCL项目无法构建。但是Akavache用于另一个/一个被引用的PCL项目,名为My.App.Data。目标框架是Xamarin标准:.NET框架4.5、ASP.NET Core1.0、Windows8、Windows 8.1、Xamarin.Android、Xamarin.iOS (经典版)和Xamarin.Mac。
当"C:\Program (X86)\MSBuild\14.0\bin\csc.exe“使用Akavache时,构建就会失败:
程序文件(x86)\MSBuild\14.0\bin\csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /errorendlocation /preferreduilang:en-US
发布于 2017-03-30 12:21:44
我可以解决这个问题。我在2.0版而不是1.6版中使用了Splat。
https://stackoverflow.com/questions/43111059
复制相似问题