问题描述
我已经成功安装并运行了几个简单的应用程序,但只能在调试模式下运行。
I have succesfull installed and run several simple apps, but only in debug mode.
当我将配置切换到发布模式时,我在编译时遇到错误 for对于头部应用来说,甚至是无头的。
When I Switch the configuration to release mode, I get an error while compiling for headless as even for head application.
我是否必须在发布模式下配置不同的东西?
Do I have to configure something different in release mode?
我得到的错误是:
Schweregrad
Schweregrad
代码
Beschreibung
Beschreibung
镨ojekt
Datei
Zeile
Fehler
Der Befehl"" C :\ Program Program(x86)\ MSBuild \ Microros\.NetNative\ARM\ilc\ilc.exe" / in:" C:\ UserGroup \ IoT II \HeadlessBlinkDemo \HeadlessBlinkDemo \obj\ARM\Release\ilc\ in" / out:" C:\ UserGroup \ IoT II \HeadlessBlinkDemo \HeadlessBlinkDemo \bin\ARM\Release\ilc"
/ intermediatespath:" C:\ UserGroup \ IoT II \HeadlessBlinkDemo \HeadlessBlinkDemo \obj\ARM\Release\ilc\ intermediate" / v:normal / keepintermediates:true / buildtype:ret /exename:"HeadlessBlinkDemo.winmd" / makepripath:" C:\Program Files(x86)\ Windows
Kits \10\bin\x64 \ MakePri.exe" / appPriConfigPath:" obj\ARM\Release" / appPriProjectRoot:" C:\ UserGroup \ IoT II \HeadlessBlinkDemo \HeadlessBlinkDemo" / rcpath:" C:\Program Files(x86)\ Windows Wits\\\\\\\\\\\\\\\\\\\\\\ / targetplatformsdklibpath:" C:\Program
Files(x86)\ Windows Wits\\\\\\\\\\\\\\\\\\\\\\\\ / targetplatformsdkmetadatapath:" C:\ UserGroup \ IoT II \HeadlessBlinkDemo \HeadlessBlinkDemo \obj\ARM\Release\ilc\in \ WinMetadata" / targetframeworkpath:" C:\Program Files(x86)\ Reference Assemblies\Microsoft\Framework\.NETCore \v4.5.1"
/ externalReferencePath:" C:\Program Files(x86)\ Windows's Kits \10\References\Windows.Devices.DevicesLowLevelContract\1.0.0.0" / externalReferencePath:"C:\Program Files(x86)\ Windows Wits\\ References \ Windows.System.SystemManagementContract\ .1.0.0.0"
/ RdXmlPath:" C:\Program Files(x86)\ MSBuild\Microsoft\.NetNative\LibraryXML" / suppressPDBWarnings:true / AllowNoManagedCode" wurde mit dem Code 4005 beendet。
Der Befehl ""C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\ARM\ilc\ilc.exe" /in:"C:\UserGroup\IoT II\HeadlessBlinkDemo\HeadlessBlinkDemo\obj\ARM\Release\ilc\in" /out:"C:\UserGroup\IoT II\HeadlessBlinkDemo\HeadlessBlinkDemo\bin\ARM\Release\ilc" /intermediatespath:"C:\UserGroup\IoT II\HeadlessBlinkDemo\HeadlessBlinkDemo\obj\ARM\Release\ilc\intermediate" /v:normal /keepintermediates:true /buildtype:ret /exename:"HeadlessBlinkDemo.winmd" /makepripath:"C:\Program Files (x86)\Windows Kits\10\bin\x64\MakePri.exe" /appPriConfigPath:"obj\ARM\Release" /appPriProjectRoot:"C:\UserGroup\IoT II\HeadlessBlinkDemo\HeadlessBlinkDemo" /rcpath:"C:\Program Files (x86)\Windows Kits\10\\bin\x86\rc.exe" /targetplatformsdklibpath:"C:\Program Files (x86)\Windows Kits\10\lib\10.0.10069.0\um" /targetplatformsdkmetadatapath:"C:\UserGroup\IoT II\HeadlessBlinkDemo\HeadlessBlinkDemo\obj\ARM\Release\ilc\in\WinMetadata" /targetframeworkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.DevicesLowLevelContract\1.0.0.0" /externalReferencePath:"C:\Program Files (x86)\Windows Kits\10\References\Windows.System.SystemManagementContract\1.0.0.0" /RdXmlPath:"C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\LibraryXML" /suppressPDBWarnings:true /AllowNoManagedCode" wurde mit dem Code 4005 beendet.
HeadlessBlinkDemo
HeadlessBlinkDemo
推荐答案
当我选择'Build'时测试它是否正常 - >> "重建解决方案"它构建良好,没有任何错误。
To test that it builds okay when I selected ‘Build’ -> ‘Rebuild Solution’ it built fine without any errors.
我希望有所帮助。
这篇关于在发行版mde中运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!