Hi,
When building a CLR Storedprocedure Project using MSBuild on our build server (Team City) we're getting the following error:
error MSB4019: The imported project
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\SqlServer.targets"
was not found. Confirm that the path
in the declaration is
correct, and that the file exists o...
I'm trying to get the build automation going for our TFS solution. The solution contains multiple class libraries, and one web site (not a web project). Everything seems to build fine, except for the web site. I'm getting the following error:
ASPNETCOMPILER : error ASPRUNTIME: The target directory is not empty, and does not appear to co...
Hello,
I am using TFS 2008 and writing my builds using the built-in TeamBuild. I have the build set up in such a way that it will create a work item of type Bug upon failure, and will also create a bug upon unit test failure. However; today our build partially succeeded due to the fact that an exec task kicked off an executable which ...
I've a (C++) solution with a Tools project and a Main project. Main depends on Tools.
I can build this project easily using MSBuild with e.g.
msbuild /t:configuration="Release" Main.sln
The Tools project only have the "Release" and "Debug" configuration. The Main project also have a "Release Lite" configuration - from within Visual S...
I've got VS 2010 RC running and have two publish profiles set up in it, one for publishing to the staging server and one for the developer test box. It works great but I want to put the deployment to our dev server into our build server and run it on check-in.
I'm looking for an MS Build target or a command I can call via MS Build that ...
I am following the CSLA.NET for Silverlight pattern of using the same filename for the business objects assemblies. For example:
CSLA.dll // .NET assembly
MyProject.Entities.dll // .NET assembly
CSLA.dll // Silverlight assembly
MyProject.Entities.dll // Silverlight assembly
This is done so you can use a si...
With MSBuild, as soon as an error occurs, the execution of the project is stopped unless ContinueOnError=true.
Is there a way to stop the execution of the project without raising an error?
I'd like to have this possibility because I have an existing set of msbuild project files and in some circumstances, I would need to stop processin...
I have added custom build messages so the Visual Studio GUI shows status messages during the course of a msbuild. I would like to now add something dynamic so I can inject random cute thoughts for the build-watcher.
How could this be done?
Thanks.
...
Hello,
I'm on a Japanese system and when I run MsBuild.exe to build a Visual Studio project, I get a mix of Japanese and English in the output:
C:\path\to\solution>C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild.exe solution.sln
Microsoft (R) Build Engine Version 3.5.30729.1
[Microsoft .NET Framework, Version 2.0.50727.3082]
Copyright ...
I have installed TFS2010 Beta 2 with default settings and configured a CI build with a solution containing the indivial projects.
My *.cspoj files could have:
<OutputPath>bin\debug\</OutputPath>
Or alternatively:
<OutDir>bin\debug\</OutDir>
When the build server is done building and running tests etc. all the assemblies are placed...
I have a CI process set up in TFS 2008 so that every time a check-in happens a build is triggered but only if a build is not already running. The exact setting used in the configuration is the radio button labeled:
"Accumulate check-ins until the prior build finishes (fewer builds)"
The checkbox "Build no more than every _ minutes." is ...
I'm trying to build a web deployment project using TFS automated build process. When I build the project directly in Visual Studio 2008, it works fine. But from TFS, I get the following error:
"C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\BuildType\TFSBuild.proj" (EndToEndIteration target) (1) ->
"C:\Users\tfsservice...
We are using .NET 3.5 with VS2008. I have a solution with ~20 projects in it, and that number will grow over time as the application grows and adds new modules. Today I needed to set a property on every project. I had to edit each csproj file to add the following:
<Target Name="BeforeBuild">
<CreateProperty Condition=" '$(Solut...
Hi,
I am getting strange behavior from MSBuild.
I use the command:
msbuild.exe /p:Configuration="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" "MySolution.sln" && exit %%ERRORLEVEL%%
And it gives me the error:
MySolution.sln : error MSB4126: The specified solution configuration "Release|Windows Mobile 5.0 Pocket PC SDK (...
Is there any tool that will create .proj file. Its very cumbersome to create it by hand for big & complex project structure.
...
Hello,
I am working on a web application in VS 2008. To compile the applicaiton I go to Build in Visual Studio and click on Build Solution and when i have to deploy the site I click on Publish and it publishes the site to a directory.
Now my question is when do we use this msbuild file? what exactly this file does for Us?
Thanks.
...
Not going into detail on why I want to do this, I need to execute a macro inside Visual Studio as part of our msbuild script. The macro performs some actions in the IDE and then calls Application.Quit() to close the IDE.
Do you know if there is a way to make devenv.exe return some error code or anything really that could let msbuild kno...
I'm having a problem when a project is committed to SVN, which in turn is automatically picked up by our newly set-up CruiseControl.NET server, the UnitTests are failing.
The unit tests are written in the default Visual Studio Unit test framework - which is the problem. I spot that nUnit appears to be recommended as a good alternative. ...
Given this command:
MSBuild.exe build.xml /p:Configuration=Live /p:UseMerge=true /p:EnableUpdateable=false
how can I form a string like this in my build script:
UseMerge=true;EnableUpdateable=true
where I might not know which properties were used at the command line.
...
I am looking to implement a tinderbox, (a build server that does clean version control check-outs and full system builds of everything in a given source repository or project), and something like "continuous integration" for small teams, with Delphi.
I am loathe to commit to a commercial "build server" product and am hoping I can do a l...