Common MSBuild Project SDKs, build targets, and configuration assets for .NET projects and libraries across the smdn/Smdn.* repositories.
This repository hosts a collection of MSBuild Project SDKs and build assets shared across various .NET library projects in the smdn/Smdn.* repositories.
It provides the following MSBuild packages (packaged with DevelopmentDependency=true):
Smdn.MSBuild.ProjectAssets.CommonProvides common MSBuild project configurations, property defaults (e.g., assembly attributes), code analyzer settings (.editorconfig), and build/packaging tools/scripts used across .NET projects.Smdn.MSBuild.ProjectAssets.LibraryExtendsSmdn.MSBuild.ProjectAssets.Commonwith specialized configurations tailored for .NET library projects. This includes default settings for building and packaging, code analysis rules, trimming and Native AOT support, NUnit testing frameworks, and release/documentation tooling.Smdn.MSBuild.DefineConstants.NETSdkApiProvides.targetsfiles that automatically define compilation symbols (e.g.,SYSTEM_ARRAY_EMPTY,GENERIC_MATH_INTERFACES) corresponding to the availability of .NET SDK APIs based on the target framework.
The primary objective of this repository is to unify and standardize the build, test, and packaging processes for .NET libraries maintained within the smdn/Smdn.* repositories.
While these packages are open source and freely available for anyone to use, they are primarily intended for internal use within smdn/Smdn.* projects. If you choose to adopt these packages in your own projects, please be aware of the following caveats:
- No Regression Tests: There are no dedicated regression test suites for these SDK packages.
- No Official Documentation: Comprehensive documentation or user guides are not provided.
- Frequent Breaking Changes: Breaking changes—including feature additions, removals, and renames—may occur even within minor version updates, as updates are driven by the evolving requirements of internal projects.
Note
This repository was extracted from smdn/Smdn.Fundamentals. Due to the historical repository split, the git commit log may contain unrelated historical commits from the original repository.
-
smdn/workflows-dotnetA repository hosting shared GitHub Actions workflows for .NET projects. The MSBuild SDK projects in this repository include specific configuration definitions (MSBuild Targets, Properties, and Items) designed to seamlessly coordinate with the reusable CI/CD workflows provided bysmdn/workflows-dotnet. -
smdn/Smdn.Reflection.ReverseGeneratingA .NET project that reverse-generates C# source code from assembly public APIs using reflection.Smdn.MSBuild.ProjectAssets.Libraryintegrates a tool that automatically generates API lists in C# code format (*.apilist.cs) during the NuGet package creation process. Runningdotnet packautomatically executes this generator and outputs*.apilist.csfiles to the default path.
Contributions are appreciated!
If there's a feature you would like to add or a bug you would like to fix, please read Contribution guidelines and create an Issue or Pull Request.
IssueやPull Requestを送る際は、Contribution guidelinesをご覧頂ください。 可能なら英語が望ましいですが、日本語で構いません。
This project is licensed under the terms of the MIT License.