Xunit.DependencyInjection.Template
1.3.0
dotnet new install Xunit.DependencyInjection.Template::1.3.0
This package contains a .NET Template Package you can call from the shell/command line.
Xunit.DependencyInjection.Template
Intro
Used to create a xunit test project with Xunit.DependencyInjection
Install
dotnet new install Xunit.DependencyInjection.Template
Use
Create a test project within a folder:
dotnet new create xunit-di
Create a test project with Specific TargetFramework:
By default, we create the test project targeted at net8.0
, you can change the target framework via -f <targetFrameworkName>
or --framework <targetFrameworkName>
dotnet new create xunit-di -f net9.0
Create test project include folder:
dotnet new create xunit-di -n <TestProjectName>
Develop
dotnet templating Wiki: https://github.com/dotnet/templating/wiki
# package
dotnet pack Xunit.DependencyInjection.Template.csproj -o out
# install
dotnet new install ./out/Xunit.DependencyInjection.Template.1.2.0.nupkg
# testing
dotnet new create xunit-di -n TestProject
# uninstall
dotnet new uninstall Xunit.DependencyInjection.Template
Package
dotnet pack -o out
publish the nupkg file to nuget for release
-
.NETStandard 2.0
- 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.
Update to .NET 8