2017-08-31 59 views
0

我有一個錯誤,而建設我發佈UWP項目,這裏是輸出:發佈生成失敗的Microsoft .NET本地1.7

1> Generating native code 
1> Generating fixups for native code 
1>C:\Users\τασος\.nuget\packages\microsoft.net.native.compiler\1.7.0\tools\Microsoft.NetNative.targets(697,5): error : RHBIND : error RHB0016: Import of '' failed: bad file extension (must be .obj or .lib). 
1>C:\Users\τασος\.nuget\packages\microsoft.net.native.compiler\1.7.0\tools\Microsoft.NetNative.targets(697,5): error : ILT0005: 'C:\Users\τασος\.nuget\packages\microsoft.net.native.compiler\1.7.0\tools\x64\ilc\Tools\rhbind.exe @"C:\Users\τασος\Documents\Visual Studio 2015\Projects\AuebUnofficial\AuebUnofficial\obj\x64\Release\ilc\intermediate\rhbindargs.ΟΠΑ-AUEB.rsp"' returned exit code 16 
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 
========== Deploy: 0 succeeded, 0 failed, 0 skipped ========== 

和線

<LoggerBasedExecTask 
     Condition="'$(UseDotNetNativeLogger)'=='true'" 
     Application="$(_IlcExePath)" 
     Parameters="$(_IlcInvocationParameters)" 
     MessageLog="$(_IlcIntermediateRootPath)ilclog.csv" 
     UseCommandProcessor="false" 
     > 
     <Output TaskParameter="ExitCode" PropertyName="_IlcExitCode" /> 
    </LoggerBasedExecTask> 

我不知道在哪裏是錯誤,但這是巨大的。每次我打開vs2017我發現一個新的bug ...

+0

我在.NET Native團隊工作。你可以用ilcRepro文件向我發送郵件嗎? ([email protected])https://github.com/dotnet/core/blob/master/Documentation/ilcRepro.md –

回答

0

解決方案是將Microsoft.NETCore.UniversalWindowsPlatform塊金包降級到5.2.2。之後,我可以爲商店創建.appxs或在Release上構建。