未为项目TFS2012设置OutputPath属性 [英] The OutputPath property is not set for project TFS2012

查看:61
本文介绍了未为项目TFS2012设置OutputPath属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Team Foundation服务器上有一个构建版本,它提供了这个交战:

C:\ Windows \ microsoft.NET \ Framework64 \v4.0.30319 \\ \\ Microsoft.Common.targets(610):没有为项目'Plugin.DeploymentTool.csproj'设置OutputPath属性。请检查以确保您为此项目指定了Configuration和Platform的有效组合。 Configuration ='Release'Blatter ='x86'。您可能会看到此消息,因为您正在尝试构建没有解决方案文件的项目,并且已指定了此项目不存在的非默认配置或平台。



我找不到任何解决方案或为什么我收到此错误。但后来我看了生成的zip文件,Binary文件夹是空的。我曾尝试使用x86,x64和Any CPU,如果有任何差异,那就没有了。



如果我查看项目文件,它看起来没问题。

I have a build in our Team Foundation server which gives this warring:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (610): The OutputPath property is not set for project 'Plugin.DeploymentTool.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Release' Platform='x86'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project.

I can't find any solution or why i get this error. But then i look at the generated zip file, the Binary folder are empty. I have tried to use the x86, x64 and Any CPU, to se if there are are any difference, which there are not.

If i look into the project file, it looks okay.

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>

推荐答案

(配置)|


(平台)'=='调试| AnyCPU' >
< DebugSymbols > true < / DebugSymbols >
< DebugType > 完整< / DebugType >
< 优化 > false < / Optimize >
< OutputPath > bin \Debug \ < / OutputPath >
< DefineConstants > DEBUG; TRACE < / DefineConstants >
< ErrorReport > 提示< / ErrorReport >
< WarningLevel > 4 < / WarningLevel >
< / PropertyGroup >
< Pro pertyGroup 条件 = '
(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <PropertyGroup Condition=" '


(配置)|


这篇关于未为项目TFS2012设置OutputPath属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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