MSBuild works everywhere except on one problem machine -Help!!!!

  • Thread starter Thread starter scott ocamb
  • Start date Start date
S

scott ocamb

All,

We have an application that builds fine under visual studio, even on the
"problem" machine.
We are trying to use MSBuild from the command line to build that
application.

We use the following command
c:\windows\microsoft.net\framework\v3.5\msbuild wordagent.csproj
/p:configuration=release

This also works fine on every machine except for the "problem" machine.

On this "problem" machine we get the error at the end of this post.

If we modify the WordAgent.csproj.user as shown below msbuild works fine on
the "problem" machine. Of course, this is not the solution we want.

Any help would be appreciated. If you live in the West Chester Pa. area, i
will buy you a beer if you help us solve this!!!! : )

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
<PublishUrlHistory>http://localhost/WordDLPAgent/</PublishUrlHistory>
<InstallUrlHistory>
</InstallUrlHistory>
<SupportUrlHistory>
</SupportUrlHistory>
<UpdateUrlHistory>
</UpdateUrlHistory>
<BootstrapperUrlHistory>
</BootstrapperUrlHistory>
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>true</VerifyUploadedFiles>

we added this an it works fine

<OutputPath>bin\Release</OutputPath>


</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Debug|AnyCPU' ">
<StartArguments>debug\XmlExamples\TLF001.xml
C:\WordAgentTest\JobError\Error.txt true false</StartArguments>
<StartWorkingDirectory>C:\WordAgent\bin\</StartWorkingDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Release|AnyCPU' ">
<StartWorkingDirectory>
</StartWorkingDirectory>
</PropertyGroup>
</Project>



-------- Error --------

C:\WordAgentBuild>buildagent
C:\WordAgentBuild>c:\windows\microsoft.net\framework\v3.5\msbuild
wordagent.csproj /p:configuration=release
Microsoft (R) Build Engine Version 3.5.21022.8
[Microsoft .NET Framework, Version 2.0.50727.1433]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 5/13/2008 3:28:57 AM.
Project "C:\WordAgentBuild\wordagent.csproj" on node 0 (default targets).
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(529,9):
error : The OutputPath property is not set for
this project. Please check to make sure that you have specified a valid
Configuration/Platform combination. Configur
ation='release' Platform='MCD'
Done Building Project "C:\WordAgentBuild\wordagent.csproj" (default
targets) -- FAILED.

Build FAILED.
"C:\WordAgentBuild\wordagent.csproj" (default target) (1) ->
(_CheckForInvalidConfigurationAndPlatform target) ->
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(529,9):
error : The OutputPath property is not set f
or this project. Please check to make sure that you have specified a valid
Configuration/Platform combination. Config
uration='release' Platform='MCD'
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00
 
I am also having the same problem. Code compiles everywhere except one computer with Duo 2 processor. Were you able to compile yours?

Thanks.

Original Post

MSBuild works everywhere except on one problem machine -Help!!!! - scott ocamb
13-May-08 04:54:48



All,

We have an application that builds fine under visual studio, even on the
We are trying to use MSBuild from the command line to build that
application.

We use the following command
c:\windows\microsoft.net\framework\v3.5\msbuild wordagent.csproj
/p:configuration=release

This also works fine on every machine except for the "problem" machine.

On this "problem" machine we get the error at the end of this post.

If we modify the WordAgent.csproj.user as shown below msbuild works fine on
the "problem" machine. Of course, this is not the solution we want.

Any help would be appreciated. If you live in the West Chester Pa. area, i
will buy you a beer if you help us solve this!!!! : )
 
Back
Top