ANcpLua.NET.Sdk.Templates
3.4.34
dotnet new install ANcpLua.NET.Sdk.Templates::3.4.34
ANcpLua.NET.Sdk
Opinionated MSBuild SDK for .NET projects.
Quick Start
global.json:
{
"msbuild-sdks": {
"ANcpLua.NET.Sdk": "3.4.31",
"ANcpLua.NET.Sdk.Web": "3.4.31",
"ANcpLua.NET.Sdk.Test": "3.4.31"
}
}
<Project Sdk="ANcpLua.NET.Sdk"></Project>
<Project Sdk="ANcpLua.NET.Sdk.Web"></Project>
<Project Sdk="ANcpLua.NET.Sdk.Test"></Project>
Central Package Management is mandatory
All variants force <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> (and the
enforcement target errors if a consumer overrides it). Every consuming repo must ship a
Directory.Packages.props at or above the consumer's directory — even an empty one suffices:
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
</Project>
Without it, restore fails with NU1015: PackageReference items do not have a version specified
on the SDK-injected analyzers (ANcpLua.Analyzers, Microsoft.CodeAnalysis.BannedApiAnalyzers)
because the SDK switches them to GlobalPackageReference, which only resolves through CPM.
Documentation
Related
- ANcpLua.Analyzers — Custom Roslyn analyzers (auto-injected)
- ANcpLua.Roslyn.Utilities — Source generator utilities
- ANcpLua.Agents — MAF runtime helpers + agent test infrastructure
Initial architecture inspired by Meziantou.NET.Sdk.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.34 | 32 | 5/18/2026 |
| 3.4.33 | 32 | 5/16/2026 |
| 3.4.32 | 42 | 5/14/2026 |
| 3.4.31 | 38 | 5/13/2026 |
| 3.4.30 | 35 | 5/13/2026 |
| 3.4.29 | 68 | 5/12/2026 |
| 3.4.28 | 66 | 5/12/2026 |
| 3.4.27 | 87 | 5/11/2026 |
| 3.4.26 | 85 | 5/11/2026 |
| 3.4.25 | 88 | 5/10/2026 |
| 3.4.24 | 88 | 5/10/2026 |
| 3.4.23 | 88 | 5/10/2026 |
| 3.4.22 | 94 | 5/10/2026 |
| 3.4.21 | 100 | 5/9/2026 |
| 3.4.20 | 89 | 5/7/2026 |
| 3.4.19 | 84 | 5/6/2026 |
| 3.4.18 | 93 | 5/6/2026 |
| 3.4.17 | 89 | 5/5/2026 |