Skip to content

Commit f04f175

Browse files
committed
Setup projects for nuget publishing
1 parent 3e12f80 commit f04f175

3 files changed

Lines changed: 26 additions & 6 deletions

File tree

‎SpotifyAPI.Web.Auth/SpotifyAPI.Web.Auth.csproj‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,31 @@
66
<PackageId>SpotifyAPI.Web.Auth</PackageId>
77
<Title>SpotifyAPI.Web.Auth</Title>
88
<Authors>Jonas Dellinger</Authors>
9-
<PackageLicenseUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/LICENSE</PackageLicenseUrl>
9+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1010
<PackageProjectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</PackageProjectUrl>
1111
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
1212
<Description>
13-
Authorization Flows for the Spotify's Web API, written in .NET
13+
An embedded Web Server, based on EmbeddedIO, for Spotify Web API Authorization flows
1414

1515
For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET
1616
</Description>
1717
<PackageTags>
1818
spotify api music .net c# spotify-client
1919
</PackageTags>
20+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
21+
<IncludeSymbols>true</IncludeSymbols>
22+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
23+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
24+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
25+
<NoWarn>1591</NoWarn>
26+
</PropertyGroup>
27+
28+
<PropertyGroup Condition="'$(APPVEYOR)' == 'true'">
29+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
2030
</PropertyGroup>
2131

2232
<ItemGroup>
33+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
2334
<PackageReference Include="EmbedIO" Version="3.4.3">
2435
<PrivateAssets>None</PrivateAssets>
2536
</PackageReference>

‎SpotifyAPI.Web/Models/Request/LibrarySaveAlbumsRequest.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ namespace SpotifyAPI.Web
55
public class LibrarySaveAlbumsRequest : RequestParams
66
{
77
/// <summary>
8-
98
/// </summary>
109
/// <param name="ids">
1110
/// A comma-separated list of the Spotify IDs.

‎SpotifyAPI.Web/SpotifyAPI.Web.csproj‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,34 @@
44
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
55
<LangVersion>8.0</LangVersion>
66
<Nullable>enable</Nullable>
7-
<!-- <GenerateDocumentationFile>true</GenerateDocumentationFile> -->
87
<PackageId>SpotifyAPI.Web</PackageId>
98
<Title>SpotifyAPI.Web</Title>
109
<Authors>Jonas Dellinger</Authors>
11-
<PackageLicenseUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/LICENSE</PackageLicenseUrl>
10+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1211
<PackageProjectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</PackageProjectUrl>
1312
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
1413
<Description>
15-
An API for Spotify's Web API, written in .NET
14+
A Client for Spotify's Web API, written in .NET
1615

1716
For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET
1817
</Description>
1918
<PackageTags>
2019
spotify api music .net c# spotify-client
2120
</PackageTags>
21+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
22+
<IncludeSymbols>true</IncludeSymbols>
23+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
24+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
25+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
26+
<NoWarn>1591</NoWarn>
27+
</PropertyGroup>
28+
29+
<PropertyGroup Condition="'$(APPVEYOR)' == 'true'">
30+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
2231
</PropertyGroup>
2332

2433
<ItemGroup>
34+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
2535
<PackageReference Include="Newtonsoft.Json" Version="12.0.3">
2636
<PrivateAssets>None</PrivateAssets>
2737
</PackageReference>

0 commit comments

Comments
 (0)