473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

MsBuild Job Failure

Hi,

I created a scheduler job with MsBuild. Now the job failed because
something is wrong with the msbuild xml file, specifically, it's C:
\program files\..\..\msbuild (271,2) error: One or more post restore
tasks failed.

Line 271 in msbuild file is white space between the last ItemGroup and
the first Target as shown below. Anyone can tell me what's wrong?
<ItemGroup>
<TestAccounts Include="GMO\Service-dataprod">
<DevAccount>GMO\service-datatest</DevAccount>
<DevDBLogin>GMOService-datatest</DevDBLogin>
</TestAccounts>
<TestAccounts Include="GMO\Service-pace">
<DevAccount>GMO\service-devpace</DevAccount>
<DevDBLogin>GMOService-devpace</DevDBLogin>
</TestAccounts>
<TestAccounts Include="GMO\Service-pcrp">
<DevAccount>GMO\service-dcrp</DevAccount>
<DevDBLogin>GMOService-dcrp</DevDBLogin>
</TestAccounts>
<TestAccounts Include="GMO\Service-prs">
<DevAccount>GMO\service-dprs</DevAccount>
<DevDBLogin>Service-dprs</DevDBLogin>
</TestAccounts>
<TestAccounts Include="GMO\Service-gprs">
<DevAccount>GMO\service-devgprs</DevAccount>
<DevDBLogin>Service-devgprs</DevDBLogin>
</TestAccounts>
</ItemGroup>

=========>Line 271 here!!!
<Target Name="DBRebuild">

<VSSGetForRebuild
DatabaseList="@($(DatabaseList))"
VSSUserName="service-datatest"
VSSPassword="funnyfish"
VSSReplace="true"
VSSDatabasePath="$(VSSDatabasePath)"
VSSRootPath="$/$(ProductName)/Databases"
WorkingDirectoryRoot="$(WorkingDirectoryRoot)"
/>
<RebuildDatabases
DatabaseList="@($(DatabaseList))"
TestAccountList="@(TestAccounts)"
Environment="$(Environment)"
PathToGMODeployTool="$(PathToGMODeployTool)"
WorkingDirectoryRoot="$(WorkingDirectoryRoot)"
DeployToolAdditionalCommandline=""
LogDeployToolOutput="true"
ServiceAccountRunningUnder="GMO\service-datatest"
SQLAccount="sa"
SQLPassword="password"
/>
</Target>

Jun 6 '07 #1
0 932

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Uma Abhyankar | last post by:
Hello, I am using .NET Beta1 Visual Studio. I have to invoke VCBuild through MSBuild on command prompt. I have following issues: Issue1: -------- MSBuild invokes VCBuild internally....
1
by: Uma Abhyankar | last post by:
Hello All, I was facing an issue with VCBuild on Beta1. Today after shifting to .NET Beta2, it looks like the issue is still not resolved :-( I have to invoke VCBuild through MSBuild on command...
4
by: cisco | last post by:
could not find anything specific to this but does anyone know of msbuild has a new quick start tutorials. The only one i can find seem to be for the preview version of msbuild. Is thiis the only...
0
by: Ian Harding | last post by:
There doesn't seem to be a build or msbuild specific group, so I hope this is a suitable place to ask. If msbuild is run from a command prompt directly on a colution containing C++ project files...
5
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class...
0
by: ME | last post by:
I have a need to generate both the DLL version of my application and an EXE version. I would like to build both of them with a single call "build". One of the ideas I have come up with is to...
3
by: Danny | last post by:
Hi I trying to master msBuild but have a problem. I have a solution that I wish to build using msbuild but want to override BeforeBuild/AfterBuild targets for each of the projects. I trying to...
0
by: Curious | last post by:
Hi, I created a scheduler job with MsBuild. Now the job failed because something is wrong with the msbuild xml file, specifically, it's C: \program files\..\..\msbuild (271,2) error: One or more...
7
by: shapper | last post by:
Hello, I am working on an ASP.MET MVC Web Application with NET 3.5 in VS 2008. I need to run some extra tasks on this project build so I download MSBuild from http://msbuildtasks.tigris.org/....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.