Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afd2310

Browse files
KevinRansombaronfel
authored andcommitted
Fix Package Scripting nuget package (#9862)
1 parent b152848 commit afd2310

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/fsharp/FSharp.Compiler.Private.Scripting/FSharp.Compiler.Private.Scripting.fsproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<NuspecProperty Include="FSharpCoreVersion=$(FSCorePackageVersion)-$(VersionSuffix)" />
16+
<NuspecProperty Include="FsharpCorePackageVersion=$(FSCorePackageVersion)" Condition="'$(VersionSuffix)'==''" />
17+
<NuspecProperty Include="FsharpCorePackageVersion=$(FSCorePackageVersion)-$(VersionSuffix)" Condition="'$(VersionSuffix)'!=''" />
1718
<NuspecProperty Include="TargetFramework=$(TargetFramework)" />
1819
</ItemGroup>
1920

src/fsharp/FSharp.Compiler.Private.Scripting/FSharp.Compiler.Private.Scripting.nuspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
<language>en-US</language>
66
<dependencies>
77
<group targetFramework=".NETStandard2.0">
8+
<dependency id="FSharp.Core" version="$FSharpCorePackageVersion$" />
89
</group>
910
</dependencies>
1011
</metadata>
1112
<files>
1213
$CommonFileElements$
13-
<file src="FSharp.Compiler.Private.Scripting\$Configuration$\$TargetFramework$\FSharp.Core.dll" target="lib\netstandard2.0" />
14-
<file src="FSharp.Compiler.Private.Scripting\$Configuration$\$TargetFramework$\FSharp.Core.xml" target="lib\netstandard2.0" />
1514
<file src="FSharp.Compiler.Private.Scripting\$Configuration$\$TargetFramework$\FSharp.Compiler.Private.Scripting.dll" target="lib\netstandard2.0" />
1615
<file src="FSharp.Compiler.Private.Scripting\$Configuration$\$TargetFramework$\FSharp.Compiler.Private.Scripting.xml" target="lib\netstandard2.0" />
1716
<file src="FSharp.Compiler.Private.Scripting\$Configuration$\$TargetFramework$\FSharp.Compiler.Private.dll" target="lib\netstandard2.0" />

0 commit comments

Comments
 (0)