我最近從Windows 8.1 Pro升級到Windows 10 Pro。我還安裝了Visual Studio 2015 Professional,並卸載了Visual Studio 2013 Professional。Visual Studio 2015(Windows 10)中的.NET Native編譯失敗
每當我嘗試建立在釋放模式在Windows 10應用程序啓用了「.NET本地工具鏈」時,出現兩個錯誤:
1. RHBIND : error RHB0007: Could not load input file 'D:\Projects\MyProject\obj\x86\Release\ilc\intermediate\MDIL\MyProject.mdilexe'.
2. ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\Tools\rhbind.exe @"D:\Projects\MyProject\obj\x86\Release\ilc\intermediate\rhbindargs.MyProject.rsp"' returned exit code 7
同樣的項目/解決方案建立在我的同事的完全正常計算機(最近也從Windows 8.1 Pro升級到帶有Visual Studio 2015 Professional的Windows 10 Pro)。
我已經嘗試幾次修復Visual Studio 2015的安裝,但現在沒有運氣。
此外,似乎沒有關於退出代碼rhbind.exe
的任何信息。我仔細檢查了*.mdilexe
和*.rsp
文件的存在。他們都是絕對創建的,並且不是空的...
有沒有其他人有過這些問題,還是隻是我?
編輯 我應該指出,增加輸出中的日誌在Visual Studio的詳細程度不會產生有關錯誤的詳細信息。然而,也有一些警告,第一,只是第二個錯誤之前後,立即來了:
4>STARTPROCESSTASK : warning : Unsupported section type '.tks0' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
4>STARTPROCESSTASK : warning : Unsupported section type '.tks1' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
4>STARTPROCESSTASK : warning : Unsupported section type '.tks2' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
4>STARTPROCESSTASK : warning : Unsupported section type '.tks3' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
4>STARTPROCESSTASK : warning : Unsupported section type '.tks4' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
4>STARTPROCESSTASK : warning : Unsupported section type '.tks5' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
4>STARTPROCESSTASK : warning : Unsupported section type '.tks6' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
4>STARTPROCESSTASK : warning : Unsupported section type '.tks7' in 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\lib\Native\corelib.native.lib(f:\binaries\Intermediate\\FxCore\x86ret\corelib.native\ThunkPoolThunks_x86.obj)', skipping the import of that section.
爲什麼修復Visual Studio 2015的安裝不能修復它? – markus
它不適合我.. –
你有可能上傳該文件夾以幫助我們嗎? – AbsoluteSith