Skip to content

Commit ca445de

Browse files
committed
Convert embedded license into SPDX expression for simplicity
and require license acceptance (good practice)
1 parent e6c9e6e commit ca445de

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/WinAppCommunity.Sdk.csproj

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<LangVersion>12.0</LangVersion>
66
<WarningsAsErrors>nullable</WarningsAsErrors>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
8+
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
99

1010
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1111
<IncludeSymbols>true</IncludeSymbols>
@@ -17,7 +17,6 @@
1717
<Version>0.0.0</Version>
1818
<Product>WinAppCommunity</Product>
1919
<Description></Description>
20-
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
2120
<PackageIcon>logo.png</PackageIcon>
2221
<PackageProjectUrl>https://github.com/UWPCommunity/WinAppCommunity.Sdk</PackageProjectUrl>
2322
<PackageReleaseNotes>
@@ -28,6 +27,7 @@ Initial release of WinAppCommunity.Sdk.
2827
<DebugType>embedded</DebugType>
2928
<NeutralLanguage>en</NeutralLanguage>
3029
<Authors>Arlo Godfrey</Authors>
30+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3131
</PropertyGroup>
3232

3333
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -46,13 +46,6 @@ Initial release of WinAppCommunity.Sdk.
4646
<Deterministic>true</Deterministic>
4747
</PropertyGroup>
4848

49-
<ItemGroup>
50-
<None Include="..\LICENSE.md">
51-
<Pack>True</Pack>
52-
<PackagePath></PackagePath>
53-
</None>
54-
</ItemGroup>
55-
5649
<ItemGroup>
5750
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.0" />
5851
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />

0 commit comments

Comments
 (0)