首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PCL/ Xamarin项目Csc/ CoreCompile失败

PCL/ Xamarin项目Csc/ CoreCompile失败
EN

Stack Overflow用户
提问于 2017-03-30 07:19:43
回答 1查看 279关注 0票数 0

自从我添加了Akavache之后,我的Xamarin应用程序就不再构建了。Csc/ CoreCompile失败。如果我移除阿卡瓦奇,它就会建得很好。没有任何错误,但我可以在输出窗口中找到以下错误:

代码语言:javascript
复制
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

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-03-30 12:21:44

我可以解决这个问题。我在2.0版而不是1.6版中使用了Splat。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43111059

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档