project SDK
The Sdk attribute at the top of a project file, such as Microsoft.NET.Sdk or Microsoft.NET.Sdk.Web, that imports a set of default build settings.
In more detail
SDK-style projects include source files automatically, which keeps project files short and reviewable. The web SDK adds the ASP.NET Core shared framework and web defaults.
Example
<Project Sdk="Microsoft.NET.Sdk.Web">Related terms
- project file — The XML file, such as Hello.csproj, that tells the build which SDK, target framework, packages and settings a project uses.
- MSBuild — The build engine behind .NET that reads project files and runs the steps that restore packages, compile code and produce output.
- ASP.NET Core — The .NET framework for building web applications and web APIs, including the server, routing, middleware, security and configuration.
Taught in
- What is .NET? Runtime vs SDK, and LTS vs STS — Modern .NET Core, C# & Enterprise Microservices
- Solutions, Projects, and Target Frameworks — Modern .NET Core, C# & Enterprise Microservices