我的.xml文件怎么了? [发布] [调试] [英] Whats wrong with my .xml file? [release][debug]

查看:120
本文介绍了我的.xml文件怎么了? [发布] [调试]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要求发布版本,但总是得到调试.我的.xml文件出了什么问题:

I ask for release build but always get debug. Whats wrong with my .xml file:

< ItemGroup >
< SolutionFile 包含 = " D:\ develop \ projects \ Score2 \ src \ call \ Score2 \ Score2.sln" />
< 包含 "D:\ develop \ projects \ Score2 \ src \ call \ Score2 \ Score2.sln"" < 属性 > Configuration = 发布 </ 属性 >
</ ProjectToBuild >
< 名称 构建" < MSBuild 项目 = <字体样式="color:blue">"@(ProjectToBuild)" />
</ 目标 >
<ItemGroup> 
  <SolutionFile Include="D:\develop\projects\Score2\src\call\Score2\Score2.sln" /> 
<ProjectToBuild Include="D:\develop\projects\Score2\src\call\Score2\Score2.sln"
            <Properties>Configuration=Release</Properties
</ProjectToBuild> 
 
<Target Name="Build"
    <MSBuild Projects="@(ProjectToBuild)"/> 
</Target> 

推荐答案

您好,

检查是否在Configuration Manager中是否在发行版配置中设置了每个项目的发行版.您可能改为使用Debug
Hi,

Check if under Configuration Manager if in release siolution configuration each projects are set with release. You may be have Debug instead


这篇关于我的.xml文件怎么了? [发布] [调试]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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