Skip to content

Commit 3d19ecb

Browse files
committed
Rename Newtonsoft.Json.Lite.dll to Newtonsoft.Json.dll
It solves UnusedByteCodeStripper2 error
1 parent 6067480 commit 3d19ecb

File tree

7 files changed

+5
-6
lines changed

7 files changed

+5
-6
lines changed

build.fsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ Target "Test" (fun _ ->
4949

5050
Target "Package" (fun _ ->
5151
(!! ("src/Newtonsoft.Json/bin/" + buildConfiguration + "/Newtonsoft.Json.dll*")) |> Copy "src/UnityPackage/Assets/Middlewares/JsonNet"
52-
("src/Newtonsoft.Json/bin/" + buildConfiguration + "Lite/Newtonsoft.Json.dll") |> CopyFile "src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.Lite.dll"
53-
("src/Newtonsoft.Json/bin/" + buildConfiguration + "Lite/Newtonsoft.Json.dll.mdb") |> CopyFile "src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.Lite.dll.mdb"
52+
(!! ("src/Newtonsoft.Json/bin/" + buildConfiguration + "Lite/Newtonsoft.Json.dll*")) |> Copy "src/UnityPackageLite/Assets/Middlewares/JsonNet"
5453
Unity (Path.GetFullPath "src/UnityPackage") "-executeMethod PackageBuilder.BuildPackage"
5554
Unity (Path.GetFullPath "src/UnityPackageLite") "-executeMethod PackageBuilder.BuildPackage"
5655
(!! "src/UnityPackage/*.unitypackage") |> Seq.iter (fun p -> MoveFile binDir p)
0 Bytes
Binary file not shown.
Binary file not shown.

src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.Lite.dll renamed to src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.dll

244 KB
Binary file not shown.

src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.Lite.dll.mdb renamed to src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.dll.mdb

96.6 KB
Binary file not shown.

src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.Lite.dll.mdb.meta renamed to src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.dll.mdb.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.Lite.dll.meta renamed to src/UnityPackageLite/Assets/Middlewares/JsonNet/Newtonsoft.Json.dll.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)