Top "Msbuild" questions

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

MSBuild does not contain a value for the "VCTargetsPath" property

I recently installed the Visual Studio 11 Developer Preview to try it out, and now my VS 2010 projects won't open. Instead, …

visual-studio visual-studio-2010 msbuild projects-and-solutions visual-studio-2012
MSBuild error MSB3021: Unable to copy file. Could not find file 'obj\Release\myWebProject1.dll'

When using TeamCity to compile my MSBuild XML task script, it fails with this: [10:43:03]: myWebProject1\ myWebProject 1 .csproj (3s) [10:43:07]: [ myWebProject1\ myWebProject1 .…

.net .net-4.0 msbuild teamcity msbuild-task
How do I get .NET Core projects to copy NuGet references to the build output?

I'm trying to write a plugin system with .NET Core, and one of my requirements are to be able to …

c# msbuild .net-core nuget csproj
How to build .NET 4.6 Framework app without Visual Studio installed?

Until now, I could build .NET 4.5.2 using command line c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild MySolution.sln The only …

msbuild .net-4.6
Is there a way to automatically include content files into asp.net project file?

I'm frequently adding a lot of content files (mostly images and js) to my ASP.NET project. I'm using VS …

asp.net msbuild csproj
Copy to Output Directory copies folder structure but only want to copy files

I have a VS2008 I want to copy certain files from a directory into my /bin/ folder. I have set …

visual-studio-2008 msbuild
How to upgrade msbuild to C# 6?

I want to use C# 6 in my project (null propagation, other features). I've installed VS 2015 on my PC and it …

c# msbuild continuous-integration roslyn c#-6.0
How licenses.licx file is used

I've got licenses.licx file that is included to one of my projects properties. I am not sure how that …

c# visual-studio msbuild cruisecontrol.net
Post build event execute PowerShell

Is it possible to set up a .NET project with a post build event to execute a powershell script? I …

c# .net powershell msbuild
MSBuild Task syntax for deleting files

I'm trying to write a MSBuild Task that deletes the Obj directory and PDBs from my bin folder on my …

msbuild msbuild-task