Skip to content

Commit ab52433

Browse files
authored
Merge pull request #97 from WhiteBlackGoose/dev
Pack script + paths fixed
2 parents 39af11f + 906771c commit ab52433

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Diff for: src/Plotly.NET.Interactive/Plotly.NET.Interactive.fsproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
</PropertyGroup>
3131

3232
<ItemGroup>
33+
<None Include="Repack.ps1" />
3334
<None Include="..\..\docs\img\logo.png" Pack="true" PackagePath="\" />
34-
<None Include="..\..\bin\Plotly.NET.Interactive\net5.0\Plotly.NET.Interactive.dll" Pack="true" PackagePath="interactive-extensions/dotnet" />
35+
<None Include="..\Plotly.NET.Interactive\bin\Release\$(TargetFramework)\Plotly.NET.Interactive.dll" Pack="true" PackagePath="interactive-extensions/dotnet" />
3536
<Compile Include="AssemblyInfo.fs" />
3637
<Compile Include="Extension.fs" />
3738
</ItemGroup>

Diff for: src/Plotly.NET.Interactive/Repack.ps1

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# clean up the previously-cached NuGet packages
2+
Remove-Item -Recurse ~\.nuget\packages\Plotly.NET.Interactive* -Force
3+
Remove-Item -Recurse ~\.nuget\packages\Plotly.NET* -Force
4+
5+
# build and pack Plotly.NET.Interactive
6+
dotnet restore
7+
dotnet clean
8+
dotnet build -c Release
9+
dotnet pack -c Release

0 commit comments

Comments
 (0)