Atya.Build.Sdk 1.5.2

Prefix Reserved
<Sdk Name="Atya.Build.Sdk" Version="1.5.2" />
                    
For projects that support Sdk, copy this XML node into the project file to reference the package.
#:sdk Atya.Build.Sdk@1.5.2
                    
#:sdk directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.

Atya.Build.Sdk

Atya.Build.Sdk centralizes Atya's build, packaging, SourceLink/MinVer, naming, and NuGet metadata defaults.

Usage

Pin the SDK version in the repository's global.json:

{
  "msbuild-sdks": {
    "Atya.Build.Sdk": "1.4.0"
  }
}

Use the SDK from each project:

<Project Sdk="Atya.Build.Sdk">
  <PropertyGroup>
    <PackageId>Atya.Foundation.Example</PackageId>
    <AssemblyName>Atya.Foundation.Example</AssemblyName>
    <RootNamespace>Atya.Foundation.Example</RootNamespace>
    <Description>Example Atya package.</Description>
    <Authors>AtyaLibraries</Authors>
    <RepositoryUrl>https://github.com/AtyaLibraries/Example</RepositoryUrl>
  </PropertyGroup>
</Project>

Defaults

All defaults are conditional and can be overridden in the consuming project.

  • Supply chain: NuGetAudit, NuGetAuditMode, NuGetAuditLevel, UseLockFiles, RestorePackagesWithLockFile
  • Framework and language: TargetFramework, LangVersion, Nullable, ImplicitUsings
  • Build quality: AnalysisLevel, EnforceCodeStyleInBuild, Deterministic, ContinuousIntegrationBuild, TreatWarningsAsErrors
  • Repository-derived: RepositoryHasGitDirectory, RepositoryUrlIsConfigured
  • Packaging: Company, RepositoryType, PackageLicenseExpression, PackageReadmeFile, GenerateDocumentationFile, IncludeSymbols, SymbolPackageFormat, DebugType, EmbedUntrackedSources, PublishRepositoryUrl, MinVerTagPrefix
  • Test projects: executable xUnit v3 projects with centralized versions and injected references/global usings for xUnit v3, the Visual Studio runner, FluentAssertions 7.2.0, NSubstitute, coverlet, and Atya.Governance.Testing when IsTestProject=true

Packable projects must use an Atya.{Area}.{Name} package ID, align AssemblyName and RootNamespace with PackageId, provide Description, Authors, and RepositoryUrl, and contain no unresolved __ placeholders in package metadata.

Set SkipPackageNamingValidation=true for an explicit naming exception. Set AtyaDisableBuildSdkGuards=true only when all naming and metadata guards must be disabled. Set AtyaDisableInjectedReferences=true to opt out of injected package references.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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
1.5.2 1,257 7/6/2026
1.5.1 408 7/2/2026
1.5.0 996 6/27/2026
1.4.0 448 6/21/2026
1.3.2 367 6/21/2026
1.3.0 529 6/15/2026
1.2.0 376 6/15/2026
1.1.0 234 6/15/2026
1.0.2 222 6/15/2026
1.0.1 236 6/15/2026
1.0.0 228 6/14/2026