Hi,
I am trying to build the documentation for my application using Sandcastle Help File Builder. One requirement is that I must specify the documentation source for e.g.:
<DocumentationSources>
<DocumentationSource sourceFile="@(DocumentationSourceFiles)" xmlns="" />
</DocumentationSources>
I have defined @(DocumentationSourceFiles...
Hi,
I am using ReadLinesFromFile for reading multiple lines from a txt file and appending it to the path in sql.execute. The problem is its reading all the lines and appending them at once:
Text File Contents:
a.sql
b.sql
Sql.Execute ServerName="$(ServerName)" DatabaseName="CDRCntroller" path="..\DB\CDRController\BROKER...
Is it possible to run an msbuild task that populates a property or Item from an imported file "A" and then use these values in another file which imports file "A"?
EDIT: FileX imports FileA and FileY imports FileA. One of FileA's property is changed in FileX. Can this changed value be accessed in FileY
...
Hi,
How can I get multiple item metadata with the same name in a c# msbuild task, for example if I were to have:
<ItemGroup>
<Assemblies Include = "S:\SVN\SomeDirectory\src\">
<excludeAssembly>AssemblyName_1</excludeAssembly>
<excludeAssembly>AssemblyName_2</excludeAssembly>
<excludeAssembly>AssemblyName_3</excludeAssembl...
Well I have a fairly large project which msbuild keeps timing out on.
How can we stop msbuild from timing out?
...
I've got the following scenario:
An application is built via the IDE and via a build script. The build script is used for the initial setup (fetching dependencies, setting up environment), to generate the binaries and for the continuous integration process.
I want the binaries to have as an AssemblyFileVersion the month and day on build,...
I have two solutions to build in Teambuild, one is the application itself, the other one is the WiX installer. I want to build the application using "Any CPU" build configuration and the installer using "x86". I've listed the "Any CPU" solution first in my project file, but Teambuild always builds the "x86" solution first.
I'm setting B...
I'm trying to setup cruisecontrol.net to work with our existing projects.
The projects use the visual studio 2008 testing tools (running as .net 2.0).
During the actual build process I get several error messages, most or which are:
Type 'TestClass' is not defined.
I'm assuming that this is because I don't have the testing framework i...
We have a solution with around 100+ projects, most of them C#. Naturally, it takes a long time to both open and build, so I am looking for best practices for such beasts. Along the lines of questions I am hoping to get answers to, are:
how do you best handle references between projects
should "copy local" be on or off?
should every p...
I have a custom Task that I want to execute when building my C# projects. This task is located in MyTask.dll, which references another assembly, MyCommon.DLL.
The problem is that MyCommon.dll is located at "..\Common\MyCommon.dll" relative to MyTask.dll, which puts it outside the AppBase dir for MSBuild process. I've confirmed that this...
Hello,
I want to copy the output files from my build to a staging server, but I can't figure out how to find the path used by TeamCity to store the build output in from in MSBuild. Any help?
Thanks!
...
I have seen the prior questions and answers. In that one question, the original poster asked a followup question:
what are the compelling reasons to use msbuild? are there cons?
I didn't see the answer to that. I'd like to know the converse, too. What are the compelling features of Nant?
I think, for nant, cross-platform is b...
I need to shell out (to call svn commit on my .application file) after a ClickOnce publish. However I've not been able to find a way to hook it into my MSBuild .csproj file.
The PostBuild Event is too early
And calling 'start Some.exe' in PostBuild does not run in the background
And using the AfterBuild Target from MSBuild is done befo...
I am trying to convert my shop from using VSS to TFS.
Our current codebase consists of a large number of Visual Studio 2008 solutions and I've noticed some of them seem to cause MSBuild to fail, but I cannot figure out why. The actual solutions themselves and the projects they hold build correctly, but the overall build still fails.
...
I'm putting a large codebase into Team Foundation Server. I would like the build process to create a "ready to deploy" build of our projects.
The normal way we've been doing this is to have each project's output be in its own folder. So, for example, we wind up with something like
C:\project1\
assembly1.dll
asse...
I've added a Web Deployment Project to my solution to create a clean deployment of my web application. This works mostly as expected... i.e. builds the source & then copies the files to be deployed to a /Release folder (and excludes things like source files and my .svn folders, etc).
But now I want to explicitly exclude some other files...
Hi,
I have written a custom MSBuild task, call it TaskA, that parses a file and does some processing on it. I now want to write another MSBUild task, call it TaskB, that uses TaskA within it. I know that I could use TaskA like a normal class and just call its execute method from TaskB. But do you think that this is plausible? Will the l...
I want my load tests to be run as part of my build. Can I do this with Ocracoke?
...
We have setup TFS to automatically build when we checkin, that works fine.
Our problem is how do we get the unit tests to run on the server.
How do we run tests on the build server?
How do we automatically run SQL Scripts on the server to build the test database?
Do we need to install Visual Studio on the Build Server?
Do we need Visu...
Hello. I maintain the build of a fairly large piece of software, consisting of roughly 350 csharp projects. Our build time for a debug built clocks in at about 17 minutes.
I have been looking at ways to improve build time, and the BuildInParallel property did look intriguing. Especially since we have a quad-core server doing our buil...