.net native抽了...

tmp00000 UID.995403
2015-07-30 发表

使用.net native编译失败,关闭.net native编译成功。我不知道这是不是编译器的Bug.
编译失败时的输出:
1>------ Build started: Project: 西北大学教务处.Universal2, Configuration: Release x64 ------
1> 西北大学教务处.Universal2 -> G:\vs2013\西北大学教务处\西北大学教务处.Universal2\bin\x64\Release\西北大学教务处.Universal.exe
1> Starting .NET Native compilation
1> Processing application code
1> Computing application closure and generating interop code
1> Compiling interop code
1> Generating serialization code
1> Cleaning up unreferenced code
1> Running native compilers
1>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x64\ilc\IlcInternals.targets(1142,5): error : ILT0005: 'C:\Program Files (x86)\Windows Kits\10\bin\x86\rc.exe /r /fo "G:\vs2013\西北大学教务处\西北大学教务处.Universal2\obj\x64\Release\ilc\intermediate\BuildInfo\BuildInfo.res" "G:\vs2013\西北大学教务处\西北大学教务处.Universal2\obj\x64\Release\ilc\intermediate\BuildInfo\BuildInfo.rc"' returned exit code 1
1>
1>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\Microsoft.NetNative.targets(434,5): error MSB3073: The command ""C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x64\ilc\ilc.exe" /in:"G:\vs2013\西北大学教务处\西北大学教务处.Universal2\obj\x64\Release\ilc\in" /out:"G:\vs2013\西北大学教务处\西北大学教务处.Universal2\bin\x64\Release\ilc" /intermediatespath:"G:\vs2013\西北大学教务处\西北大学教务处.Universal2\obj\x64\Release\ilc\intermediate" /v:normal /keepintermediates:true /buildtype:ret /exename:"西北大学教务处.Universal.exe" /makepripath:"C:\Program Files (x86)\Windows Kits\10\bin\x64\MakePri.exe" /appPriProjectRoot:"G:\vs2013\西北大学教务处\西北大学教务处.Universal2" /rcpath:"C:\Program Files (x86)\Windows Kits\10\\bin\x86\rc.exe" /targetplatformsdklibpath:"C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\um" /targetplatformsdkmetadatapath:"G:\vs2013\西北大学教务处\西北大学教务处.Universal2\obj\x64\Release\ilc\in\WinMetadata" /targetframeworkpath:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsPhoneContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsVoipContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.SocialInfo.SocialInfoContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Wallet.WalletContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardEmulatorContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Embedded.DeviceLockdown.DeviceLockdownContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Gaming.Preview.GamesEnumerationContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.Sockets.ControlChannelTriggerContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.PhoneContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.StartScreen.DualSimTileContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Security.EnterpriseData.EnterpriseDataContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.GuidanceContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.LocalSearchContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileHardwareTokenContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileRetailInfoContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.System.UserProfile.UserProfileContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.WebUI.Core.WebUICommandBarContract\1.0.0.0" /RdXmlPath:"C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\LibraryXML" /suppressPDBWarnings:true /AllowNoManagedCode /UseCustomFramework "/logger:CsvLogger;2688;2648"" exited with code 1201.

敬告:
为防止不可控的内容风险,本站已关闭新用户注册,新贴的发表及评论;
你现在看到的内容只是互联网用户曾经发表的言论快照,仅用于老用户留存纪念,且仅与科技行业相关,全部内容不代表本站观点及立场;
本站重新开放前已针对包括用户隐私、版权保护、信息安全、国家政策在内的各种互联网法律法规要求,执行了隐患内容的自查、屏蔽和删除;
本站目前所属个人主体,未有任何盈利安排与计划,且与原WFUN.COM所属公司不存在任何关联关系;
如果本帖内容或者相关资源侵犯到您的合法权益,或者您认为存在问题,那么请您务必点此举报或投诉!
全部回复:
德巴德 UID.1076476
2015-07-30 回复

首先得确认你的vs是RC还是正式版

其次确认你的开发工具是最新的,现在最新的API版本是10.0.26624

然后再来找编译器的问题

tmp00000 UID.995403
2015-07-30 回复

Quote***链接停止解析***
首先得确认你的vs是RC还是正式版

其次确认你的开发工具是最新的,现在最新的API版本是10.0.26624


SDK今天早上用vs2015安装器装的,肯定是正式版。
我怀疑Windows 10 SDK文件破损。
但是修复了一次后问题仍然存在。

德巴德 UID.1076476
2015-07-30 回复

有没有别的错误代码什么的,这点看不出来哪里错了

德巴德 UID.1076476
2015-07-30 回复

Quote***链接停止解析***
SDK今天早上用vs2015安装器装的,肯定是正式版。
我怀疑Windows 10 SDK文件破损。
但是修复了一次后问题 ...


试一下新建一个项目然后把原来的代码拷过去再编译一次

tmp00000 UID.995403
2015-07-30 回复

Quote***链接停止解析***
试一下新建一个项目然后把原来的代码拷过去再编译一次


我把项目路径改成英文,编译过了......

tmp00000 UID.995403
2015-07-30 回复

Quote***链接停止解析***
试一下新建一个项目然后把原来的代码拷过去再编译一次


我现在把反馈发给微软了。就说是中文项目路径的问题。

德巴德 UID.1076476
2015-07-30 回复

Quote***链接停止解析***
我现在把反馈发给微软了。就说是中文项目路径的问题。


你是用中文版系统还是英文版系统,VS是英文版还是中文版

wifi王道 UID.553
2015-07-31 回复

新的SDK在创建Store App第一次同步Key的时候肯定假死,等一会儿强制关闭再创建就正常了。

tmp00000 UID.995403
2015-08-02 回复

Quote***链接停止解析***
你是用中文版系统还是英文版系统,VS是英文版还是中文版


都是中文

阳光****色的 UID.727385
2015-09-03 回复

Quote***链接停止解析***
我把项目路径改成英文,编译过了......


我也遇到了,搞了一下午,没想到是中文路径的问题,现在搞定了,谢谢你。

本站使用Golang构建,点击此处申请开源鄂ICP备18029942号-4联系站长投诉/举报