dotnet add package MSBuild.Microsoft.VisualStudio.Web.targets --version
NuGet\Install-Package MSBuild.Microsoft.VisualStudio.Web.targets -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MSBuild.Microsoft.VisualStudio.Web.targets" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuild.Microsoft.VisualStudio.Web.targets --version
#r "nuget: MSBuild.Microsoft.VisualStudio.Web.targets,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MSBuild.Microsoft.VisualStudio.Web.targets as a Cake Addin
#addin nuget:?package=MSBuild.Microsoft.VisualStudio.Web.targets&version=

// Install MSBuild.Microsoft.VisualStudio.Web.targets as a Cake Tool
#tool nuget:?package=MSBuild.Microsoft.VisualStudio.Web.targets&version=

MSBuild targets for Web and WebApplications that come with Visual Studio. Useful for build servers that do not have Visual Studio installed.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on MSBuild.Microsoft.VisualStudio.Web.targets:

Package Downloads

Created on 2022-06-27 21:28


A custom build target that automatically transforms config files for each environment defined


Slickflow Designer is a process diagram editor based on BPMN style.


SlickSafe Web Project for User Authorization System



GitHub repositories (11)

Showing the top 5 popular GitHub repositories that depend on MSBuild.Microsoft.VisualStudio.Web.targets:

Repository Stars
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
A sample meant to demonstrate domain driven design using a veterinary hospital management system.
A Web Rapid Development Framework For .NET4.472 Based On AdminLTE
OPC client made simpler, for UA and DA
An example of an enterprise-ready architecture built with NServicebus, GetEventStore, RabbitMq, and ServiceStack
Version Downloads Last updated 7,462,130 6/24/2016 3,266 6/23/2016 74,632 5/17/2016
14.0.0 507,601 7/29/2015
12.0.4 445,138 12/3/2014
12.0.1 158,716 2/27/2014 501,294 5/8/2013

v14.0.0.3 - Fix MSBuildThisFileFullPath/MSBuildThisFileDirectory
       v14.0.0.2 - Fix no support for non-default `repositoryPath` -
       v14.0.0.1 - Automatically use the package version if VSToolsPath is not specified by VS.
       v14.0.0 - Includes .targets files from Visual Studio 2015 that can be found in the "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\{Web,WebApplications}" directories.
       The files are in the "tools\VSToolsPath" directory.