提交 4ee0140a 编写于 作者: B Brett V. Forsgren

replace deprecated nuspec `iconUrl` element with `icon`

上级 fd440a9f
......@@ -26,3 +26,5 @@ mono/config.make text eol=lf
targets.make text eol=lf
*.bsl linguist-vendored=true
*.png binary
......@@ -13,10 +13,11 @@
<Authors>Microsoft Corporation; F# community contributors</Authors>
<PackageLicenseUrl>https://github.com/fsharp/FSharp.Compiler.Service/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/fsharp/FSharp.Compiler.Service</PackageProjectUrl>
<PackageIconUrl>https://raw.github.com/fsharp/FSharp.Compiler.Service/master/misc/logo.png</PackageIconUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F#, compiler, msbuild</PackageTags>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\misc\logo.png" Pack="true" Visible="false" PackagePath="" />
<Compile Include="$(FSharpSourcesRoot)\fsharp\LegacyMSBuildReferenceResolver.fs">
<Link>Service/MSBuildReferenceResolver.fs</Link>
</Compile>
......
......@@ -11,10 +11,11 @@
<Authors>Microsoft Corporation; F# community contributors</Authors>
<PackageLicenseUrl>https://github.com/fsharp/FSharp.Compiler.Service/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/fsharp/FSharp.Compiler.Service</PackageProjectUrl>
<PackageIconUrl>https://raw.github.com/fsharp/FSharp.Compiler.Service/master/misc/logo.png</PackageIconUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F#, compiler, msbuild</PackageTags>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\misc\logo.png" Pack="true" Visible="false" PackagePath="" />
<Compile Include="..\FSharp.Compiler.Service.ProjectCrackerTool\ProjectCrackerOptions.fs">
<Link>ProjectCrackerOptions.fs</Link>
</Compile>
......
......@@ -25,7 +25,7 @@
<Authors>Microsoft Corporation; F# community contributors</Authors>
<PackageLicenseUrl>https://github.com/fsharp/FSharp.Compiler.Service/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/fsharp/FSharp.Compiler.Service</PackageProjectUrl>
<PackageIconUrl>https://raw.github.com/fsharp/FSharp.Compiler.Service/master/misc/logo.png</PackageIconUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F#, fsharp, interactive, compiler, editor</PackageTags>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
......@@ -38,6 +38,7 @@
<DefineConstants>$(DefineConstants);FX_RESHAPED_REFEMIT</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\misc\logo.png" Pack="true" Visible="false" PackagePath="" />
<Compile Include="..\FSharp.Compiler.Service\AssemblyInfo.fs">
<Link>AssemblyInfo/AssemblyInfo.fs</Link>
</Compile>
......
......@@ -9,6 +9,10 @@
<PackageDescription>FSharp.Core redistributables from Visual F# Tools version $(FSPackageMajorVersion) For F# $(FSCoreMajorVersion). Contains code from the F# Software Foundation.</PackageDescription>
</PropertyGroup>
<ItemGroup>
<Content Include="icon.png" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FSharp.Core\FSharp.Core.fsproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
......
......@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
$CommonMetadataElements$
<iconUrl>https://fsharp.org/img/logo.png</iconUrl>
<icon>icon.png</icon>
<language>en-US</language>
<dependencies>
<group targetFramework=".NETStandard2.0" />
......@@ -10,6 +10,8 @@
</dependencies>
</metadata>
<files>
<file src="FSharp.Core.nuget\$Configuration$\netstandard2.0\icon.png" target="icon.png" />
<file src="FSharp.Core\$Configuration$\netstandard2.0\FSharp.Core.dll" target="lib\netstandard2.0" />
<file src="FSharp.Core\$Configuration$\netstandard2.0\FSharp.Core.sigdata" target="lib\netstandard2.0" />
<file src="FSharp.Core\$Configuration$\netstandard2.0\FSharp.Core.optdata" target="lib\netstandard2.0" />
......
此差异由.gitattributes 抑制。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册