VDimensions.MSBuild.Sdk.ExternalAnnotations
0.7.30
dotnet add package VDimensions.MSBuild.Sdk.ExternalAnnotations --version 0.7.30
NuGet\Install-Package VDimensions.MSBuild.Sdk.ExternalAnnotations -Version 0.7.30
<PackageReference Include="VDimensions.MSBuild.Sdk.ExternalAnnotations" Version="0.7.30"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="VDimensions.MSBuild.Sdk.ExternalAnnotations" Version="0.7.30" />
<PackageReference Include="VDimensions.MSBuild.Sdk.ExternalAnnotations"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add VDimensions.MSBuild.Sdk.ExternalAnnotations --version 0.7.30
#r "nuget: VDimensions.MSBuild.Sdk.ExternalAnnotations, 0.7.30"
#:package VDimensions.MSBuild.Sdk.ExternalAnnotations@0.7.30
#addin nuget:?package=VDimensions.MSBuild.Sdk.ExternalAnnotations&version=0.7.30
#tool nuget:?package=VDimensions.MSBuild.Sdk.ExternalAnnotations&version=0.7.30
VDimensions.MSBuild.Sdk.ExternalAnnotations
According to the JetBrains.Annotations, consumers of a library may provided its own $(AssemblyName).ExternalAnnotations.xml alongside the referenced binary, whcich will enable useful compiler hints for users of the JetBrains Resharper extension for VisualStuduio or their own Rider IDE.
This package provides support for embedding this $(AssemblyName).ExternalAnnotations.xml file in the nuget package of your library.
How this package works
The package supports separate ExternalAnnotations.xml per TFM, because it is designed to support multi-targeting projects (typically libraries). Developers are required to maintain a separate ExternalAnnotations file per TFM, in the form of ExternalAnnotations.$(TargetFramework).xml. The file must be located in the root of the project structure. Referencing the VDimensions.MSBuild.Sdk.ExternalAnnotations package will take care for automatically embedding each external annotations xml file in the appropriate place within nuget package file. This means, that for each TFM, the ExternalAnnotations.$(TargetFramework).xml will be embedded as lib\$(TargetFramework)\$(AssemblyName).ExternalAnnotations.xml, as per JetBrains documentation.
NOTE
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.
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.