VDimensions.MSBuild.Sdk.Nuspec 0.8.33

dotnet add package VDimensions.MSBuild.Sdk.Nuspec --version 0.8.33
                    
NuGet\Install-Package VDimensions.MSBuild.Sdk.Nuspec -Version 0.8.33
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VDimensions.MSBuild.Sdk.Nuspec" Version="0.8.33">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VDimensions.MSBuild.Sdk.Nuspec" Version="0.8.33" />
                    
Directory.Packages.props
<PackageReference Include="VDimensions.MSBuild.Sdk.Nuspec">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VDimensions.MSBuild.Sdk.Nuspec --version 0.8.33
                    
#r "nuget: VDimensions.MSBuild.Sdk.Nuspec, 0.8.33"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VDimensions.MSBuild.Sdk.Nuspec@0.8.33
                    
#:package 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.
#addin nuget:?package=VDimensions.MSBuild.Sdk.Nuspec&version=0.8.33
                    
Install as a Cake Addin
#tool nuget:?package=VDimensions.MSBuild.Sdk.Nuspec&version=0.8.33
                    
Install as a Cake Tool

VDimensions.MSBuild.Sdk.Nuspec

Ensures that your MSBuild project infers sensible defaults to package-specific MSBuild properties. this is useful if you use MSBuild to produce a nuget package without manually creating a nuspec file.

The Problem

MSBuild inhibits the ability to automatically generate a .nuspec file and build a .nuget package trouth its toolchain, however developers need to configure certain MSBuild property ($(NuspecProperties)) beforehand in order for the produced package to include accurate and sufficient information.

$(NuspecProperties) is a semi-colon-separated list of property-value pairs that are translated into the respective structure of the auto-generated nuspec file.

A number of those properties can be inferred from values already part of the MSBuild project, so developers do not need to define them by hand over and over again.

The Solution

This package includes MSBuild targets that would pre-populate the following MSBuild properties realated to nuget package generation with default vaules automatically, except the same properties have already been defined by the defeloper. In that case the package would respect the project's original setup.

Property Value
$(NuspecProperties) if empty, it will be populated as defined below. If not, nothing will change.
$(AssemblyName) id=$(AssemblyName); will be added to the autogenerated nuspec
$(PackageVersion) version=$(PackageVersion); will be added to the autogenerated nuspec
$(Copyright) copyright=$(Copyright); will be added to the autogenerated nuspec
$(Authors) authors=$(Authors); will be added to the autogenerated nuspec
$(Owners) authors=$(Owners); will be added to the autogenerated nuspec
$(License) license=$(License); will be added to the autogenerated nuspec
$(Configuration) config=$(Configuration); will be added to the autogenerated nuspec
$(Description) description=$(Description); will be added to the autogenerated nuspec
$(PackageTags) tags=$(PackageTags); will be added to the autogenerated nuspec
$(PackageIconUri) icon=$(PackageIconUri); will be added to the autogenerated nuspec
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
0.8.33 0 9/15/2026
0.7.30 46 9/10/2026
0.7.26 88 9/7/2026
0.7.7 296 4/11/2026
0.7.6 278 4/11/2026
0.7.5 278 4/11/2026
0.6.12 818 2/26/2023
0.6.11 820 12/29/2022
0.6.10 892 11/9/2022
0.6.9 882 11/9/2022
0.6.8 855 11/9/2022
0.6.7 916 10/18/2022
0.6.6 889 10/18/2022
0.6.3 890 5/4/2021
0.6.2 845 5/3/2021
0.6.1 850 5/3/2021
0.6.0 859 5/3/2021
Loading failed