Fixed a warning about using the icon link for the nuget package, so we now use an icon.png

Updated the build to use the most current dotnet core and also the nerdbank gitversion.
This commit is contained in:
Robin Krom
2020-05-06 20:42:03 +02:00
parent 2a553c3804
commit 7ab5a58c2a
4 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -29,10 +29,10 @@ stages:
- task: NuGetToolInstaller@1
- task: UseDotNet@2
displayName: 'Use .NET Core sdk 3.1'
displayName: 'Use .NET Core sdk 3.1.2'
inputs:
packageType: sdk
version: 3.1.101
version: 3.1.201
- task: DotNetCoreCLI@2
displayName: Build
+3 -2
View File
@@ -8,7 +8,7 @@
<Copyright>Copyright (c) 2009-2020 Philipp Sumi</Copyright>
<Company>hardcodet.net</Company>
<Authors>Philipp Sumi</Authors>
<PackageIconUrl>http://www.hardcodet.net/wp-content/themes/inove/favicon.ico</PackageIconUrl>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/hardcodet/wpf-notifyicon</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>hhttp://www.hardcodet.net/projects/wpf-notifyicon</PackageProjectUrl>
@@ -49,11 +49,12 @@ Source code and extensive sample application available at http://www.hardcodet.n
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.0.50">
<PackageReference Include="Nerdbank.GitVersioning" Version="3.1.91">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
<None Include="$(SolutionDir)\icon.png" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- SourceLink -->
+4 -3
View File
@@ -1,5 +1,6 @@
{
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "1.6.65"
}
"sdk": {
"version": "3.1.200",
"rollForward": "latestPatch"
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB