【发布时间】:2017-10-30 19:38:13
【问题描述】:
我在构建要发布的 uwp 项目时出错,输出如下:
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……
【问题讨论】:
-
我在 .NET Native 团队工作。你能给我发一封带有 ilcRepro 文件的邮件吗? (dotnetnative@microsoft.com)github.com/dotnet/core/blob/master/Documentation/ilcRepro.md
标签: uwp visual-studio-2017 .net-native