Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using PackageLicenseExpression #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ foreach ($src in ls $PSScriptRoot\..\src/*) {
$version = $BuildVersionNumber
}

& dotnet build -c Release
& dotnet build -c Release /p:ContinuousIntegrationBuild=True
& dotnet pack -c Release --include-symbols -o ..\..\artifacts --no-build /p:PackageVersion=$version
if($LASTEXITCODE -ne 0) { exit 1 }

Expand Down
20 changes: 7 additions & 13 deletions src/Flurl.Http.Xml/Flurl.Http.Xml.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,27 @@
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Authors>Luk Vermeulen</Authors>
<PackageLicenseUrl>https://github.com/lvermeulen/Flurl.Http.Xml/blob/master/LICENSE</PackageLicenseUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/lvermeulen/Flurl.Http.Xml</PackageProjectUrl>
<Copyright>Copyright 2016-2020 by Luk Vermeulen. All rights reserved.</Copyright>
<RepositoryUrl>https://github.com/lvermeulen/Flurl.Http.Xml</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Flurl;Http;Xml</PackageTags>
<PackageIconUrl>http://i.imgur.com/llEKpRL.png?1</PackageIconUrl>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>XML extensions to Flurl.Http</Description>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Flurl.Http" Version="4.0.0" />
<PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45'">
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.4'">
<PackageReference Include="System.Xml.XPath.XDocument" Version="4.3.0" />
<ItemGroup>
<None Include="..\..\README.md" Pack="true" Visible="false" PackagePath="README.md"/>
<None Include="..\..\assets\noun_320630_cc.png" Pack="true" Visible="false" PackagePath="icon.png"/>
</ItemGroup>

</Project>