Navigation Menu

Skip to content

Commit

Permalink
Updated to use PackageLicenseFile for NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
Turnerj committed May 13, 2019
1 parent 282f843 commit c510c53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions MongoFramework.sln
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2024
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.352
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoFramework", "src\MongoFramework\MongoFramework.csproj", "{D871CD75-CC1E-4482-934F-42E74B2BF255}"
EndProject
Expand All @@ -21,7 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "global", "global", "{BA1176
.appveyor.yml = .appveyor.yml
.codecov.yml = .codecov.yml
.editorconfig = .editorconfig
LICENSE = LICENSE
License.txt = License.txt
README.md = README.md
EndProjectSection
EndProject
Expand Down
6 changes: 5 additions & 1 deletion src/Directory.build.props
Expand Up @@ -8,7 +8,7 @@

<PackageId>$(AssemblyName)</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseUrl>https://github.com/TurnerSoftware/MongoFramework/blob/master/LICENSE</PackageLicenseUrl>
<PackageLicenseFile>License.txt</PackageLicenseFile>
<PackageProjectUrl>https://github.com/TurnerSoftware/MongoFramework</PackageProjectUrl>
<PackageBaseTags>mongo;mongodb</PackageBaseTags>

Expand All @@ -35,5 +35,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\License.txt" Pack="true" PackagePath="$(PackageLicenseFile)"/>
</ItemGroup>

</Project>

0 comments on commit c510c53

Please sign in to comment.