Skip to content

Commit

Permalink
Add SourceLink support
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-xu committed Jan 15, 2022
1 parent 95631bc commit e6e5d3e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/Ninject/Ninject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Company>Ninject Project Contributors</Company>
<Product>Ninject: Lightweight dependency injection for .NET</Product>
<Description>Ninject is a lightning-fast, ultra-lightweight dependency injector for .NET applications.</Description>
<Copyright>2007-2010 Enkari, Ltd. 2010-2017 Ninject Project Contributors.</Copyright>
<Copyright>2007-2010 Enkari, Ltd. 2010-2020 Ninject Project Contributors.</Copyright>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyOriginatorKeyFile>..\Ninject.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand All @@ -19,6 +19,10 @@
<PackageIconUrl>https://github.com/ninject/ninject/raw/master/logos/Ninject-Logo32.png</PackageIconUrl>
<PackageLicenseUrl>https://github.com/ninject/ninject/raw/master/LICENSE.txt</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<NoWarn>CS0618</NoWarn>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/ninject/Ninject</RepositoryUrl>
<DebugType>pdbonly</DebugType>
Expand All @@ -35,8 +39,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>All</PrivateAssets>
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

Expand Down

0 comments on commit e6e5d3e

Please sign in to comment.