Skip to content

Commit 7c6ec95

Browse files
committed
Fix build Newtonsoft.Json
1 parent ba8572a commit 7c6ec95

File tree

6 files changed

+30
-10
lines changed

6 files changed

+30
-10
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,6 @@ docsrc/content/license.md
183183
docsrc/content/release-notes.md
184184
.fake
185185
docsrc/tools/FSharp.Formatting.svclog
186+
187+
/docs
188+
AssemblyInfo.fs

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 1.1.2 - Aug 16 2018
2+
* Support .net framework 4.7
3+
* Minor improvments
4+
15
### 1.1.1 - Jun 22 2018
26
* Support netStandard 2.0
37
* Add new chart (SLOMP)

build.fsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ Target.create "Build" (fun _ ->
161161
]
162162
}
163163
MSBuild.build setParams solutionFile
164+
Shell.copyFile
165+
(__SOURCE_DIRECTORY__ + @"\src\FSharp.Plotly\bin\" + configuration + @"\netstandard2.0\Newtonsoft.Json.dll")
166+
(__SOURCE_DIRECTORY__+ @"\packages\Newtonsoft.Json\lib\netstandard2.0\Newtonsoft.Json.dll")
164167
)
165168

166169
// --------------------------------------------------------------------------------------
@@ -416,7 +419,12 @@ Target.create "All" ignore
416419
==> "Release"
417420

418421

419-
"BuildPackage"
422+
"Clean"
423+
==> "AssemblyInfo"
424+
==> "Build"
425+
==> "CopyBinaries"
426+
==> "RunTests"
427+
==> "NuGet"
420428
==> "GitReleaseNuget"
421429

422430
Target.runOrDefault "All"

src/FSharp.Plotly.WPF/AssemblyInfo.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ open System.Reflection
55
[<assembly: AssemblyTitleAttribute("FSharp.Plotly.WPF")>]
66
[<assembly: AssemblyProductAttribute("FSharp.Plotly")>]
77
[<assembly: AssemblyDescriptionAttribute("A F# interactive charting library using plotly.js")>]
8-
[<assembly: AssemblyVersionAttribute("1.1.1")>]
9-
[<assembly: AssemblyFileVersionAttribute("1.1.1")>]
8+
[<assembly: AssemblyVersionAttribute("1.1.2")>]
9+
[<assembly: AssemblyFileVersionAttribute("1.1.2")>]
1010
[<assembly: AssemblyConfigurationAttribute("Release")>]
1111
do ()
1212

1313
module internal AssemblyVersionInformation =
1414
let [<Literal>] AssemblyTitle = "FSharp.Plotly.WPF"
1515
let [<Literal>] AssemblyProduct = "FSharp.Plotly"
1616
let [<Literal>] AssemblyDescription = "A F# interactive charting library using plotly.js"
17-
let [<Literal>] AssemblyVersion = "1.1.1"
18-
let [<Literal>] AssemblyFileVersion = "1.1.1"
17+
let [<Literal>] AssemblyVersion = "1.1.2"
18+
let [<Literal>] AssemblyFileVersion = "1.1.2"
1919
let [<Literal>] AssemblyConfiguration = "Release"

src/FSharp.Plotly/AssemblyInfo.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ open System.Reflection
55
[<assembly: AssemblyTitleAttribute("FSharp.Plotly")>]
66
[<assembly: AssemblyProductAttribute("FSharp.Plotly")>]
77
[<assembly: AssemblyDescriptionAttribute("A F# interactive charting library using plotly.js")>]
8-
[<assembly: AssemblyVersionAttribute("1.1.1")>]
9-
[<assembly: AssemblyFileVersionAttribute("1.1.1")>]
8+
[<assembly: AssemblyVersionAttribute("1.1.2")>]
9+
[<assembly: AssemblyFileVersionAttribute("1.1.2")>]
1010
[<assembly: AssemblyConfigurationAttribute("Release")>]
1111
do ()
1212

1313
module internal AssemblyVersionInformation =
1414
let [<Literal>] AssemblyTitle = "FSharp.Plotly"
1515
let [<Literal>] AssemblyProduct = "FSharp.Plotly"
1616
let [<Literal>] AssemblyDescription = "A F# interactive charting library using plotly.js"
17-
let [<Literal>] AssemblyVersion = "1.1.1"
18-
let [<Literal>] AssemblyFileVersion = "1.1.1"
17+
let [<Literal>] AssemblyVersion = "1.1.2"
18+
let [<Literal>] AssemblyFileVersion = "1.1.2"
1919
let [<Literal>] AssemblyConfiguration = "Release"

src/FSharp.Plotly/FSharp.Plotly.fsproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net45;net47;netstandard2.0</TargetFrameworks>
44
<RootNamespace>FSharp.Plotly</RootNamespace>
@@ -39,5 +39,10 @@
3939
<None Include="paket.references" />
4040
<None Include="paket.template" />
4141
</ItemGroup>
42+
43+
<ItemGroup>
44+
<PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
45+
</ItemGroup>
46+
4247
<Import Project="..\..\.paket\Paket.Restore.targets" />
4348
</Project>

0 commit comments

Comments
 (0)