msbuild

How to use aspnet_compiler.

Hi, Afterlooking at this [post][1], I thought that I would give it a go. So, in my Post Build Event, I've put... C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler -v / -p "$(ProjectDir)\" ...then clicked Build Solution. Unfortunately, I got the following error: "Could not load type 'MyWebProject.UI.Global'. C:\global....

How i start with msbuild & nant for autobuild

I m new for msbuild & nant. How i start this in my envronment : .net3.5 ...

Help in building nhibernate from source

I downloaded nant 0.86 beta which seems to be the latest release. Now running: nant default.build I get this error: detected nant 0.86 beta 1, consider upgrading to a newer version when building for .net 3.5 default.build does not exist in this project What am I doing wrong here? Update downloaded the nighly build, now running: na...

Can I build a Delphi multi language project from the command line?

Using Delphi 2009 (or higher) and the ITE (Internal Translation Manager), how can I build the language projects from the command line? The projects are for example Project\Languages\DEU\Project_DEU.bdsproj Project\Languages\ENG\Project_ENG.bdsproj Theses bdsproj files are not MSBuild projects, so do I have to call DCC32 and pass all ...

need help in msbuild script for build pass\fail

I have a question related to MSBuild script. my scenario is, if build fails build output should be copied into local system. if build passes, build output goes into server destination folder. can anybody help me out. i am trying this with MSBuild not with Teambuilds. Thanks Shanthi ...

Building a WPF Application with XAML through msbuild

I am attempting to build a simple WPF Application using msbuild via a custom script (below). The project builds and executes fine through Visual Studio, however if I use the msbuild script it builds successfully, and generates the executable, but crashes immediately on startup (with a "WPFApplication has stopped working" error message). ...

Adding AllowPartiallyTrustedCallers with MSBuild

I am using CC.Net with MSBuild tasks to build an application that is composed of a number of solutions and projects. We are using the AssemblyInfo MSBuild Community task to update version info in AssemblyInfo.cs. Unfortunately the AllowPartiallyTrustedCallers attribute doesn't get in and the AssemblyInfo task tells me that the AllowParti...

Setting up StyleCop for team development

We are trying to setup stylecop for a team development environment. So far what we have done is: Checked the files into source control Create an environment variable on every machine that points to that location (each dev has source checked out to a different location, this solves that) Add the tag to the project as follows: This w...

Visual studio 2008 & nant , msbuild how we use this for automate? Is nant work for vs2008?

I am working on a windows as well as web projects. We currently use Visual Studio to build our solution using visual studio 2008. I would like to move to a more powerful build system such as Nant or MsBuild for atomate. What are the ways & how i do this? Currntly we use Visual source safe & mercurial(hg) as source control How does thi...

Clearing externals during a subversion tag running from MSBuild

Hi, I'm using SvnCopy (from the MSBuild community tasks) to create a tag in Subversion. What I would like to do is for the Externals on any folders in the trunk to not be copied during the process. Is this possible? TIA ...

Subversion oddity - svn info revision higher than last changed rev on project folder

Got something going on I can't explain. I have a working copy of my project - done svn update (which says: Updated to revision 1895), I know it's the latest. When I perform an svn info on the project folder, the Revision is 1895, but the Last Changed Rev is 1888. Inspecting the log using TortoiseSVN shows 1888 as the last revision, no ...

Setting AssemblyFileVersion with MSBuild-call?

Hello, We have a batch-based buildprocess and we are using MSBuild only for compiling our project-files from visual studio. We also have integrated wix into our build-process. To set the version of our software we specify in the main-build-script some environment variables, that we use during the build-process. My problem is, that i hav...

Is it possible to build using a .NET version without 'installing' that version?

I would like to have in my repository as tagged or submodules the different versions of .NET like is possible with other external products nunit, ninject, rhinomocks. ProjectX is created with .NET 3.0 and nunit 2.4.x Projecty is created with .NET 3.5 and nunit 2.5.x Project Z is created with .NET 4.0B2 and a preproduction release of nuni...

trigger config transformation in TFS 2010 or msbuild

I'm attempting to make use of configuration transformations in a continuous integration environment. I need a way to tell the TFS build agent to perform the transformations. I was kind of hoping it would just work after discovering the config transform files (web.qa-release.config, web.production-release.config, etc...). But it doesn't....

Copy files to a remote server via RDP using a script

We have a couple production servers that are configured to only allow access via RDP. There are no acessible shares. The dev team have no say in changing this setup but we want to automate code deployments to these machines. Presently we have to set Remote Desktop to share a local drive with the server, then RDP to the server and manuall...

Resolving MSB3247 - Found conflicts between different versions of the same dependent assembly

A .NET 3.5 solution ended up with this warning when compiling with msbuild. Sometimes NDepend might help out but in this case it didn't give any further details. Like Bob I ended up having to resort to opening each assembly in ILDASM until I found the one that was referencing an older version of the dependant assembly. I did try using ...

MSBuild Extension Pack: Credentials for File/Folder tasks?

Good afternoon, say is it possible to provide credentials (username/pw) for file or folder activities (e.g. removecontent) with the MSBuild Extension Pack? As in.. the build user is not necessary the one I want to use to deleted/work with on certain folders/files I need to modify/delete (e.g. remotely on UNC shares). Is this doable? I ...

MSBuild: Conditional Construct (Project Reference | File Reference)

I´m still trying to eleminate the need of a cobol compiler in a Project with cobol-Projects in it. Is it possible to create following build behaviour: If the Configuration is Debug then use ProjectReferences on ExCobol.cblproj if the Configuration is DebugVB then use FileReferences on ExCobol.dll When Yes, How to achieve it? I assum...

File diff in MSBuild?

How do I diff two files in MSBuild? I cannot find any specific task to do it. If possible, is it also possible to exclude certain rows, or patterns in the files eg. 2009-12-09T10:03:07.6888125+02:00 ...

How can I access app.config on the BeforeBuild event from a custom MSBuild task?

I've written a custom MSBuild task to generate model code from MSSQL stored procedures. I want to use the same configuration for my task to connect to the database as the application does. I've created a config section that looks like this <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="Core...