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
<PackageReference Include="VDimensions.MSBuild.Sdk.ExternalAnnotations" Version="0.8.35"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="VDimensions.MSBuild.Sdk.ExternalAnnotations" Version="0.8.35" />
<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.8.35
#r "nuget: VDimensions.MSBuild.Sdk.ExternalAnnotations, 0.8.35"
#:package VDimensions.MSBuild.Sdk.ExternalAnnotations@0.8.35
#addin nuget:?package=VDimensions.MSBuild.Sdk.ExternalAnnotations&version=0.8.35
#tool nuget:?package=VDimensions.MSBuild.Sdk.ExternalAnnotations&version=0.8.35
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:
- Supply a separate ExternalAnnotations file per TFM, named
ExternalAnnotations.$(TargetFramework).xml - The file must be located in the root of the project structure.
- 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.
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.