I added an ItemGroup for ExcludeFromBuild items in the PreBuild target in my Web Deployment project:
<ItemGroup>
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\Test\**\*.*" />
</ItemGroup>
After the build the assembly in the output still contains the compiled classes from the files in ~/Test. That's not what I expected.
Here i...
It seems like it should be possible to configure Visual Studio to print out how long the compile takes.
Perhaps somewhere in the .sln file. If the sln is compiled from the command line using msbuild, it prints the time.
...
How do I configure my web application to display the current build number information and Subversion Revision number? I'm looking for something similiar to what SO does with its SVN Revision number.
...
Hi.
I have several projects in a solution, which I build using msbuild in the quiet mode (/v:q).
However, this is too quiet for me. I would like it to print the name of the currently built project. So if A.sln contains 1.csproj, 2.csproj and 3.csproj, then msbuild A.sln should print something like:
1
2
3
Thanks.
EDIT:
I would also...
I am developing using 3.0 and VS 2008.
The problem is my build server does not have 3.5 installed and therefore I cant build the solution as MSBuild for 2.0 will not support the VS 2008 solution file.
There is no easy answer to this besides downgrading to VS 2005.
Any ideas folks?
...
I'd like to create a CruiseControl.NET task to mimic the publish functionality for web applications in Visual Studios. Any suggested approaches or examples? Thanks.
...
As part of my TFS (2008) build I want to manually copy the binaries and Views of an ASP.NET MVC project to a number of different locations. All existing binaries and views are copied successfully. Unfortunately, however, any newly added views are ignored during their first build. If I then start another build, they are included.
Here is...
I am getting the following error when I publish my ClickOnce application with MSBuild. I have a pre-publish task which copys the correct app.config file into the project before the publish and this is the only thing that I think could be causing this error. How can I correct this?
Following failure messages were
detected: File,
...
I'm interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE?
I like to use different editors quite a bit and I'm thinking of changing over to using something that can keep me IDE free.
Thanks!
...
I'm building a number of projects via a script, and the occasional use of custom build events causes a great deal of difficulty for the build system. If it is possible, I'd like to invoke MSBuild.exe in such a was as to block the execution of any build events. In the long run, this is not an issue for build automation - submitters of p...
I'm considering writing my own delivery code using PowerShell and/or C#, maybe shelling to NAnt or MSBuild.
Why should I not go this way? Is this such a really hard
endeavor compared to using NAnt or MSBuild?
Any good, modern book that can help?
Any better ideas?
Background (P.S. This is a religious issue for some. No insult inten...
Some of my .csproj project files have special target "AssembleJS" that merges all .js files included in project in one big file (i.e. webcontrols.csproj has target "AssembleJS" with output "webcontrols.js").
So if I have project parts.csproj
That has target AssembleJS.
References project webcontrols.csproj.
References utility projec...
Is there a command line utility to modify the tnsnames.ora file for the oracle client?
[EDIT] I'm looking for something similar to odbcconf.exe (for editing ODBC connection on windows) to modify the tnsnames.ora file.
[EDIT2] I'm using MSBUILD from my automated build script. The MSBuild Community Tasks Project has an AddTnsName task t...
Using the VS 2008 GDR update, I have created a database project. I have created a SQL Server deployment package. I have created a database unit test.
Using some wizards, the stuff got into my tfsbuild.proj file so near the end of the automated build process a database is created.
I lack a little control of the whole process, I now see....
I'm currently developping a bootstrapper to deploy one of my VSTO addins.
I thus created a prerequisites list before compiled it with MSBuild, but I also need to test and install the otkloadr.dll fix (KB907417). In a first time I used a custom bootstrapper package, but the package directory and files must be included with my deployment ...
I have a C# web app project which actually has no ASP.Net or C# in it. It's just a single html page with some Javascript, CSS, and a couple of images.
I want to use MSBuild to deploy a version of this app to an output folder with minified JS and CSS.
With the following code, I get an error "CSC: fatal error CS2008: No inputs specified...
I recently stumbled upon Code Contracts and have started using them in my C# projects. However, I also have a number of projects written in C++/CLI.
For C# and VB, Code Contracts offer a handy configuration panel in the project properties dialog. For a C++/CLI project, there is no such panel.
From the documentation, I got the impressio...
I'm looking to extend some post build tasks to include the checking out and then checking in of a DLL. We are using TFS and I know there are command line tools to do this. What I don't know how to do is to integrate these into my existing post build tasks. Right now my post build tasks are simple and are managed in Visual Studio through ...
I have a msbuild script with custom logic to deploy my service to the qa server automatically. I have to overwrite the default config with a dedicated one, but when I use <Copy SourceFiles="web.other.config" DestinationFiles="web.config" /> it does nothing.
How can I make it work?
...
How can I get MSBuild to do a full build of a Delphi project equivalent to dcc32 -b?
I've got two projects I'm trying to build, the first one uses some conditional defines, which are getting passed via msbuild to the dcc32. However, some common units appear to be stuck with the first set of conditionals, so the second project is built ...