Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

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

Reply
 
Old 05-13-2008   #1 (permalink)
scott ocamb


 
 

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

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



My System SpecsSystem Spec
Old 08-12-2008   #2 (permalink)
S Ravi


 
 

Build issue

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



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
MSBuild Project files and BuildUri .NET General
MSBuild script for Getlatest cource code .NET General
MSBuild TargetOutputs Question. .NET General
Building a project that uses PowerShell using MSBuild PowerShell
Program written in Access 2003 works on XP machine, but not Vista Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46