VDimensions.MSBuild.Sdk.ExternalAnnotations 0.8.35

dotnet add package VDimensions.MSBuild.Sdk.ExternalAnnotations --version 0.8.35
                    
NuGet\Install-Package VDimensions.MSBuild.Sdk.ExternalAnnotations -Version 0.8.35
                    
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.ExternalAnnotations" Version="0.8.35">
  <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.ExternalAnnotations" Version="0.8.35" />
                    
Directory.Packages.props
<PackageReference Include="VDimensions.MSBuild.Sdk.ExternalAnnotations">
  <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.ExternalAnnotations --version 0.8.35
                    
#r "nuget: VDimensions.MSBuild.Sdk.ExternalAnnotations, 0.8.35"
                    
#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.ExternalAnnotations@0.8.35
                    
#: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.ExternalAnnotations&version=0.8.35
                    
Install as a Cake Addin
#tool nuget:?package=VDimensions.MSBuild.Sdk.ExternalAnnotations&version=0.8.35
                    
Install as a Cake Tool

VDimensions.MSBuild.Sdk.ExternalAnnotations

According to the JetBrains.Annotations, the authors of .NET library projects need to provide $(AssemblyName).ExternalAnnotations.xml file alongside the compiled binary output, whcich will enable useful compiler hints for consumers of the library in case they use JetBrains tools for .NET development (ReShaper and Rider).

How this package works

This package aids in embedding the $(AssemblyName).ExternalAnnotations.xml file in the nuget package of referencing projects so that it conforms to the standard established by JetBrains.

.NET projects, especially multi-targeting libraries, may need to expose a separate ExternalAnnotations.xml file per TFM. In order to achive this with the help of VDimensions.MSBuild.Sdk.ExternalAnnotations, the he developers must:

  1. Supply a separate ExternalAnnotations file per TFM, named ExternalAnnotations.$(TargetFramework).xml
  2. The file must be located in the root of the project structure.
  3. Reference the VDimensions.MSBuild.Sdk.ExternalAnnotations.

The VDimensions.MSBuild.Sdk.ExternalAnnotations package will automatically pick the matching ExternalAnnotations.$(TargetFramework).xml to the current build target, and embed them accordig to the JetBrains specification -- so that ExternalAnnotations.$(TargetFramework).xml will become embedded as lib\$(TargetFramework)\$(AssemblyName).ExternalAnnotations.xml.

What this packes does not do

The package is not responsible for producing the ExternalAnnotations.xml itself, it only takes care for properly embedding it into a nuget package while respecting the multi-targeting paradigm.
It is expected that the package authors will produce the ExternalAnnotations.xml either manually, or with the help of other tools.

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.35 54 9/15/2026
0.8.33 57 9/15/2026
0.7.30 68 9/10/2026
0.7.26 99 9/7/2026
0.7.7 309 4/11/2026
0.7.6 288 4/11/2026
0.7.5 285 4/11/2026
0.6.12 867 2/26/2023