[UWP]修改Json文件时发布构建问题 [英] [UWP]Release build issue when Json file modified

查看:100
本文介绍了[UWP]修改Json文件时发布构建问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在uwp项目中添加System.Reflection.Emit.ILGeneration 虽然是Nuget。 "-aot"不支持此功能。运行时间。因此,我删除了运行时,并且能够毫无问题地继续运行。我能够编译并构建调试
模式。但是一旦我切换到发布模式,它就会开始抱怨缺少"-aot"运行时间。你能帮忙吗?任何帮助将不胜感激。

I am trying add System.Reflection.Emit.ILGeneration in uwp project  though Nuget. This is not supported by "-aot" runtimes. Hence I have deleted the runtimes and was able to proceed without any issues. I was able compile and build in debug modes. But as soon as I switch to Release mode it starts complaining about missing "-aot" runtimes. Can you please assist on this? Any help would be appreciated.

推荐答案

您好vj_12,

Hi vj_12,

根据你的描述,我成功安装了这个软件包,但我甚至无法在visual studio 2015的调试模式下成功编译,我的项目目标平台是14393。

According to your description, I installed this package successfully, but I even cannot compile successfully in debug mode in visual studio 2015 and my project target platform is 14393.

但当我切换到visual studio 2017和项目目标到15063,然后您会发现您可以成功安装此软件包并成功构建调试/发布模式。这意味着此软件包与14393 SDK不兼容。如果您想要使用
,则需要切换到2017年的visual studio并将目标设定为15063。

But when I switch to visual studio 2017 and project targets to 15063, then you will find that you can install this package successfully and build in debug/release mode successfully. It means that this package is not compatible with the 14393 SDK. If you want to use it, you would need to switch to visual studio 2017 and project targets to 15063.

最好的问候,

Xavier Eoro

Xavier Eoro


这篇关于[UWP]修改Json文件时发布构建问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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