43 lines
1.5 KiB
Markdown
43 lines
1.5 KiB
Markdown
|
---
|
||
|
title: ASP.NET Core Web SDK
|
||
|
author: Rick-Anderson
|
||
|
description: Overview of Microsoft.NET.Sdk.Web.
|
||
|
ms.author: riande
|
||
|
ms.date: 2/27/2020
|
||
|
no-loc: [Blazor]
|
||
|
uid: razor-pages/web-sdk
|
||
|
---
|
||
|
|
||
|
# ASP.NET Core Web SDK
|
||
|
|
||
|
### Overview
|
||
|
|
||
|
`Microsoft.NET.Sdk.Web` is a [MSBuild project SDK](https://docs.microsoft.com/visualstudio/msbuild/how-to-use-project-sdk) for building ASP.NET Core apps. It's possible to build an ASP.NET Core app without this SDK, however, the Web SDK is:
|
||
|
|
||
|
* Tailored towards providing a first-class experience.
|
||
|
* The recommended target for most users.
|
||
|
|
||
|
Use the Web.SDK in a project:
|
||
|
|
||
|
```xml
|
||
|
<Project SDK="Microsoft.NET.Sdk.Web">
|
||
|
<!-- omitted for brevity -->
|
||
|
</Project>
|
||
|
```
|
||
|
|
||
|
Features enabled by using the Web SDK:
|
||
|
|
||
|
* Projects targeting .NET Core 3.0 or later implicitly reference:
|
||
|
|
||
|
* The [ASP.NET Core shared framework](xref:fundamentals/metapackage-app).
|
||
|
* [Analyzers](xref:https://docs.microsoft.com/visualstudio/extensibility/getting-started-with-roslyn-analyzers) designed for building ASP.NET Core apps.
|
||
|
* The WebSDK enables MSBuild targets that enables the use of publish profiles, and publishing using WebDeploy.
|
||
|
|
||
|
### Properties
|
||
|
|
||
|
| Property | Description |
|
||
|
| -------- | ----------- |
|
||
|
| `DisableImplicitFrameworkReferences` | Disables implicit reference to the `Microsoft.AspNetCore.App` shared framework. |
|
||
|
| `DisableImplicitAspNetCoreAnalyzers` | Disables implicit reference to ASP.NET Core analyzers. |
|
||
|
| `DisableImplicitComponentsAnalyzers` | Disables implicit reference to Razor Components analyzers when building Blazor (server) applications. |
|