Basilisque.CommonBuild
1.0.0
Requires NuGet 4.0 or higher.
dotnet add package Basilisque.CommonBuild --version 1.0.0
NuGet\Install-Package Basilisque.CommonBuild -Version 1.0.0
<PackageReference Include="Basilisque.CommonBuild" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Basilisque.CommonBuild" Version="1.0.0" />
<PackageReference Include="Basilisque.CommonBuild"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Basilisque.CommonBuild --version 1.0.0
#r "nuget: Basilisque.CommonBuild, 1.0.0"
#:package Basilisque.CommonBuild@1.0.0
#addin nuget:?package=Basilisque.CommonBuild&version=1.0.0
#tool nuget:?package=Basilisque.CommonBuild&version=1.0.0
Basilisque - Common Build
Overview
This project provides optional common build configuration for projects that use the Basilisque framework. But it also can be used without Basilique.
So if you like the contained configuration feel free to use it, otherwise simply don't.
Description
This project doesn't contain any assemblies that will be deployed with the target project. Instead it only contains build time configuration (.props/.targets-files, ...) to provide a common basic set of configuration to all target projects.
Usage
Simply installing this NuGet package will automatically include the contained .props and .targets files in the build. For more information about how this can be configured, please see the GitHub page.
Conventions
The configuration is based on conventions regarding the names of the target projects. (The folder structure of the solution is irrelevant.)
ExampleSolution
- MyProject.Service
Containing the startup code of a backend (Windows) service- MyProject.Service.Tests
Containing automated tests. In this case for the MyProject.Service-project- MyProject.API
Containing the public facing code of the backend (API-Controllers, ...)- MyProject.API.Tests
Containing automated tests. In this case for the MyProject.API-project- MyProject.Domain
Containing the business logic- MyProject.Domain.Tests
Containing automated tests. In this case for the MyProject.Domain-project- MyProject.DataAccess
Containing the data access layer (e.g. using Entity Framework)- MyProject.DataAccess.Tests
Containing automated tests. In this case for the MyProject.DataAccess-project- MyProject.Benchmarks
Containing benchmarks for a project- MyProject.CodeAnalysis
Containing code analysis support for the project like source generators, analyzers and fixes
Obviously not all applications need all of those project types. So e.g. if you don't need data access, then just do not create a project named like it. But if you do need data access, then let the project name end with .DataAccess. That is the intention behind the configuration in Basilisque.CommonBuild.
Provided Configuration
The package provides many different default configurations and versioning.
For detailed information, please have a look at the GitHub page:
License
The Basilisque framework (including this repository) is licensed under the Apache License, Version 2.0.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Basilisque.CommonBuild:
| Package | Downloads |
|---|---|
|
Basilisque.CommonFrameworkBuild
This project provides common build configuration for all parts of the Basilisque framework. It is NOT recommended to use this unless you're developing a part of the framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 351 | 6/20/2025 |
| 1.0.0-RC30 | 287 | 5/26/2025 |