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

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
 
S

S Ravi

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!!!! : )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top