在发行版mde中运行应用程序 [英] Running app in release mde

查看:100
本文介绍了在发行版mde中运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功安装并运行了几个简单的应用程序,但只能在调试模式下运行。

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

推荐答案

使用C#版本的
BlinkyHeadless
,我首先选择了"远程计算机"并在"调试"模式下输入了我的Rpi2设备的IP地址。 
然后当我切换到'Release'时,我注意到部署目标已经转回'Device'而不是'Remote Machine',所以你可能只需将它配置为部署到'Remote Machine' '再次?

In running a quick test with the C# version of BlinkyHeadless, I first selected ‘Remote Machine’ and entered the IP address for my Rpi2 device in ‘Debug’ mode.  Then when I switched to ‘Release’ I noticed that the deployment target flipped back to ‘Device’ instead of ‘Remote Machine’, so maybe you just need to configure it to deploy to the ‘Remote Machine’ again?

当我选择'Build'时测试它是否正常 - >> "重建解决方案"它构建良好,没有任何错误。

To test that it builds okay when I selected ‘Build’ -> ‘Rebuild Solution’ it built fine without any errors.

我希望有所帮助。


这篇关于在发行版mde中运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆