.net native抽了...
使用.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所属公司不存在任何关联关系;
如果本帖内容或者相关资源侵犯到您的合法权益,或者您认为存在问题,那么请您务必点此举报或投诉!
Quote***链接停止解析***
首先得确认你的vs是RC还是正式版
其次确认你的开发工具是最新的,现在最新的API版本是10.0.26624
SDK今天早上用vs2015安装器装的,肯定是正式版。
我怀疑Windows 10 SDK文件破损。
但是修复了一次后问题仍然存在。
Quote***链接停止解析***
SDK今天早上用vs2015安装器装的,肯定是正式版。
我怀疑Windows 10 SDK文件破损。
但是修复了一次后问题 ...
试一下新建一个项目然后把原来的代码拷过去再编译一次
Quote***链接停止解析***
试一下新建一个项目然后把原来的代码拷过去再编译一次
我现在把反馈发给微软了。就说是中文项目路径的问题。
Quote***链接停止解析***
我现在把反馈发给微软了。就说是中文项目路径的问题。
你是用中文版系统还是英文版系统,VS是英文版还是中文版
Quote***链接停止解析***
我把项目路径改成英文,编译过了......
我也遇到了,搞了一下午,没想到是中文路径的问题,现在搞定了,谢谢你。