Top "Msbuild" questions

Microsoft Build Engine, also known as MSBuild, is a build platform for managed code and was part of .NET Framework.

Visual Studio 2015 project builds failed but no errors

My project builds all fail but I'm not shown any errors. I tried cleaning and rebuilding, that didn't work. I …

visual-studio visual-studio-2015 build msbuild
allowDefinition='MachineToApplication' msbuild error

We have a ASP.NET MVC with 4-5 different build configurations. Whenever we change the build configuration, we need to …

msbuild web-config
How to Integrate ILMerge into Visual Studio Build Process to Merge Assemblies?

I want to merge one .NET DLL assembly and one C# Class Library project referenced by a VB.NET Console …

visual-studio visual-studio-2008 msbuild ilmerge
Using xcopy to copy files from several directories to one directory

Is it possible to use xcopy to copy files from several directories into one directory using only one xcopy command? …

msbuild exec xcopy
How to create a Batch File for Visual Studio Command Prompt

I want to create a batch file for Visual Studio 2008 x64 Cross Tools Command Prompt to do something continuesly in …

visual-studio command-line msbuild continuous-integration terminal
Get Visual Studio to run a T4 Template on every build

How do I get a T4 template to generate its output on every build? As it is now, it only …

visual-studio tfs msbuild t4
remove nuget package restore from solution

I added the recent nuget package restore feature to a solution using 'Enable NuGet Package Restore': http://docs.nuget.org/…

visual-studio-2010 visual-studio msbuild nuget
VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515)

I am experiencing a strange issue with VS2010. We use TFS to build our API dlls and we used to …

visual-studio-2010 msbuild .net-4.0 tfsbuild sgen
MSB3270: Mismatch between the processor architecture - Fakes Framework

Since I use Fakes Framework in my UnitTest, I get the following MSBuild warning. warning MSB3270: There was a mismatch …

.net msbuild compiler-warnings microsoft-fakes
How do I force MSBuild to compile for 32-bit mode?

I'm using MSBuild (via NAnt) to compile a bunch of VB.NET assemblies. Because these assemblies depend on COM Interop, …

.net vb.net msbuild 64-bit 32-bit