https://github.com/CZEMacLeod/MSBuild.SDK.SystemWeb
This MSBuild SDK is designed to allow for the easy creation and use of SDK (shortform) projects targeting ASP.NET 4.x using System.Web.
https://github.com/CZEMacLeod/MSBuild.SDK.SystemWeb
aspnet aspnet4 c-sharp dotnet dotnetframework hacktoberfest msbuild-sdk sdk visual-basic
Last synced: about 1 month ago
JSON representation
This MSBuild SDK is designed to allow for the easy creation and use of SDK (shortform) projects targeting ASP.NET 4.x using System.Web.
- Host: GitHub
- URL: https://github.com/CZEMacLeod/MSBuild.SDK.SystemWeb
- Owner: CZEMacLeod
- License: mit
- Created: 2021-02-26T07:29:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T16:42:02.000Z (2 months ago)
- Last Synced: 2025-04-01T11:41:45.209Z (about 2 months ago)
- Topics: aspnet, aspnet4, c-sharp, dotnet, dotnetframework, hacktoberfest, msbuild-sdk, sdk, visual-basic
- Language: Visual Basic .NET
- Homepage:
- Size: 600 KB
- Stars: 172
- Watchers: 9
- Forks: 11
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# MSBuild.SDK.SystemWeb
[](https://dev.azure.com/flexviews/MSBuild.SDKs.SystemWeb/_build/latest?definitionId=69&branchName=main)
[](https://czemacleod.github.io/MSBuild.SDK.SystemWeb/)
[](https://github.com/CZEMacLeod/MSBuild.SDK.SystemWeb/actions/workflows/pages/pages-build-deployment)This MSBuild SDK is designed to allow for the easy creation and use of SDK (shortform) projects targeting ASP.NET 4.x using System.Web.
## What's available
### [MSBuild.SDK.SystemWeb](src/MSBuild.SDK.SystemWeb)
[](https://nuget.org/packages/MSBuild.SDK.SystemWeb)
[](https://nuget.org/packages/MSBuild.SDK.SystemWeb)This is the basic SDK that enables Visual Studio to work with an ASP.Net 4.x based project using a short form project file.
### [MSBuild.SDK.SystemWeb.Templates](src/MSBuild.SDK.SystemWeb.Templates)
[](https://nuget.org/packages/MSBuild.SDK.SystemWeb.Templates)
[](https://nuget.org/packages/MSBuild.SDK.SystemWeb.Templates)This is a set of templates that allow for the easy creation of projects based on the MSBuild.SDK.SystemWeb project SDK type.
### [MSBuild.SDK.SystemWeb.RazorLibrary](src/MSBuild.SDK.SystemWeb.RazorLibrary)
[](https://nuget.org/packages/MSBuild.SDK.SystemWeb.Templates)
[](https://nuget.org/packages/MSBuild.SDK.SystemWeb.Templates)This is an SDK that allows Visual Studio to work with an ASP.Net 4.x / MVC 5 based Razor Library.
This makes it easy to use the [RazorGenerator](https://github.com/RazorGenerator/RazorGenerator) system with an SDK type project.## Read The Docs
### [Documentation](https://czemacleod.github.io/MSBuild.SDK.SystemWeb/)
## How can I use these SDKs?
When using an MSBuild Project SDK obtained via NuGet (such as the SDKs in this repo) a specific version **must** be specified.
Either append the version to the package name:
```xml
...
```Or omit the version from the SDK attribute and specify it in the version in `global.json`, which can be useful to synchronise versions across multiple projects in a solution:
```json
{
"msbuild-sdks": {
"MSBuild.SDK.SystemWeb" : "4.0.88"
}
}
```Since MSBuild 15.6, SDKs are downloaded as NuGet packages automatically. Earlier versions of MSBuild 15 required SDKs to be installed.
For more information, [read the documentation](https://docs.microsoft.com/visualstudio/msbuild/how-to-use-project-sdk).
## What are MSBuild SDKS?
MSBuild 15.0 introduced new project XML for .NET Core that we refer to as SDK-style. These SDK-style projects looks like:```xml
net48
```
At evaluation time, MSBuild adds implicit imports at the top and bottom of the project like this:
```xml
net48
```