Open FollowCD opened 6 years ago
[00:01:04] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net20/LitJSON.dll [00:01:05] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net35/LitJSON.dll [00:01:06] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net40/LitJSON.dll [00:01:06] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net45/LitJSON.dll [00:01:07] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/netstandard1.5/LitJSON.dll [00:01:08] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/netstandard2.0/LitJSON.dll about this ,I thought when built command execute here, I've got the .dll file, But when I checked on My PC ,there was nothing ,even those folder didnt't exit!
Doesn't the official nuget package already work with unity?
https://www.nuget.org/packages/LitJson/
We multitarget believe the .NET framework 2.0 moniker works with Unity stable and the latest unity bits supports .NET standard both of those amongst a few other are avail in the nuget package.
[00:00:00] Build started [00:00:01] git config --global core.autocrlf input [00:00:01] git clone -q --branch=develop https://github.com/FollowCD/litjson.git C:\projects\litjson [00:00:02] git checkout -qf aee3e16648554cc011e2526ec3c0ca5de094a736 [00:00:02] .\build.ps1 --target="AppVeyor" --verbosity=Verbose [00:00:04] dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.4/dotnet-sdk-2.1.4-win-x64.zip [00:00:05] dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.4/dotnet-sdk-2.1.4-win-x64.zip [00:00:15] dotnet-install: Adding to current process PATH: "C:\projects\litjson.dotnet\". Note: This change will not be visible if PowerShell was run as a child process. [00:00:15] dotnet-install: Installation finished [00:00:15] Installing Cake 0.25.0... [00:00:17] Analyzing build script... [00:00:17] Processing build script... [00:00:17] Installing tools... [00:00:23] Compiling build script... [00:00:28] [00:00:28] ---------------------------------------- [00:00:28] Setup [00:00:28] ---------------------------------------- [00:00:28] Executing custom setup action... [00:00:28] Calculating Semantic Version [00:00:28] INFO [06/14/18 20:14:56:62] Working directory: C:\projects\litjson [00:00:28] INFO [06/14/18 20:14:56:63] IsDynamicGitRepository: False [00:00:28] INFO [06/14/18 20:14:56:81] Returning Project Root from DotGitDirectory: C:\projects\litjson.git - C:\projects\litjson [00:00:28] INFO [06/14/18 20:14:56:82] Running on Windows. [00:00:28] INFO [06/14/18 20:14:56:82] Applicable build agent found: 'AppVeyor'. [00:00:28] INFO [06/14/18 20:14:56:82] Branch from build environment: [00:00:29] INFO [06/14/18 20:14:57:24] IsDynamicGitRepository: False [00:00:29] INFO [06/14/18 20:14:57:24] Returning Project Root from DotGitDirectory: C:\projects\litjson.git - C:\projects\litjson [00:00:29] INFO [06/14/18 20:14:57:24] Project root is: C:\projects\litjson [00:00:29] INFO [06/14/18 20:14:57:24] DotGit directory is: C:\projects\litjson.git [00:00:29] INFO [06/14/18 20:14:57:25] IsDynamicGitRepository: False [00:00:29] INFO [06/14/18 20:14:57:25] Returning Project Root from DotGitDirectory: C:\projects\litjson.git - C:\projects\litjson [00:00:29] INFO [06/14/18 20:14:57:25] Begin: Loading version variables from disk cache [00:00:29] INFO [06/14/18 20:14:57:25] Cache file C:\projects\litjson.git\gitversion_cache\BDF4B71F4AAC6B5AA364F281D90020AE5C975CBC.yml not found. [00:00:29] INFO [06/14/18 20:14:57:25] End: Loading version variables from disk cache (Took: 1.00ms) [00:00:29] INFO [06/14/18 20:14:57:25] IsDynamicGitRepository: False [00:00:29] INFO [06/14/18 20:14:57:25] Returning Project Root from DotGitDirectory: C:\projects\litjson.git - C:\projects\litjson [00:00:29] INFO [06/14/18 20:14:57:35] Using latest commit on specified branch [00:00:29] INFO [06/14/18 20:14:57:39] Running against branch: develop (aee3e16648554cc011e2526ec3c0ca5de094a736) [00:00:29] INFO [06/14/18 20:14:57:41] 0 commits found between aee3e16648554cc011e2526ec3c0ca5de094a736 and aee3e16648554cc011e2526ec3c0ca5de094a736 [00:00:29] INFO [06/14/18 20:14:57:41] Begin: Calculating base versions [00:00:29] INFO [06/14/18 20:14:57:50] Fallback base version: 0.1.0 with commit count source c92aadbbaa8619b9c06006b8a6e2d3c00cbfb4da [00:00:29] INFO [06/14/18 20:14:57:61] Git tag 'v0.13.0': 0.13.0 with commit count source aee3e16648554cc011e2526ec3c0ca5de094a736 [00:00:29] INFO [06/14/18 20:14:57:61] Git tag 'v0.12.0': 0.12.0 with commit count source a9bbc1c820099380c29509d3cd4e3fd8f9bf83fc [00:00:29] INFO [06/14/18 20:14:57:62] Git tag 'v0.9.0': 0.9.0 with commit count source e16713d5b79329325db3c2b79b6fe52344be4907 [00:00:29] INFO [06/14/18 20:14:57:62] Git tag 'v0.7.0': 0.7.0 with commit count source 7b389ecbb79895b26df3a162c58aaaa7d466c85a [00:00:29] INFO [06/14/18 20:14:57:67] Merge target tagged 'v0.13.0': 0.13.0 with commit count source aee3e16648554cc011e2526ec3c0ca5de094a736 [00:00:29] INFO [06/14/18 20:14:57:67] Merge target tagged 'v0.12.0': 0.12.0 with commit count source a9bbc1c820099380c29509d3cd4e3fd8f9bf83fc [00:00:29] INFO [06/14/18 20:14:57:67] Merge target tagged 'v0.11.0': 0.11.0 with commit count source 52d96c758ccc0f9918cfb3815e0d1bf725645c58 [00:00:29] INFO [06/14/18 20:14:57:67] Merge target tagged 'v0.10.0': 0.10.0 with commit count source 0f970e2472e9207157d80e6b2921b231943dd784 [00:00:29] INFO [06/14/18 20:14:57:67] Merge target tagged 'v0.10.0': 0.10.0 with commit count source 0f970e2472e9207157d80e6b2921b231943dd784 [00:00:29] INFO [06/14/18 20:14:57:67] Merge target tagged 'v0.9.0': 0.9.0 with commit count source e16713d5b79329325db3c2b79b6fe52344be4907 [00:00:29] INFO [06/14/18 20:14:57:68] Merge target tagged 'v0.7.0': 0.7.0 with commit count source 7b389ecbb79895b26df3a162c58aaaa7d466c85a [00:00:29] INFO [06/14/18 20:14:57:74] Merge message 'Merge branch 'release/0.11.0' into develop [00:00:29] [00:00:29] * release/0.11.0: [00:00:29] Release notes migrated to litjson.net': 0.11.0 with commit count source c6af2aa74df0377d6d6436cf85cebf8ff80dfd89 [00:00:29] INFO [06/14/18 20:14:57:75] Found multiple base versions which will produce the same SemVer (0.13.0), taking oldest source for commit counting (Git tag 'v0.12.0') [00:00:29] INFO [06/14/18 20:14:57:75] Base version used: Merge target tagged 'v0.12.0': 0.12.0 with commit count source a9bbc1c820099380c29509d3cd4e3fd8f9bf83fc [00:00:29] INFO [06/14/18 20:14:57:75] End: Calculating base versions (Took: 338.01ms) [00:00:29] INFO [06/14/18 20:14:57:79] 6 commits found between a9bbc1c820099380c29509d3cd4e3fd8f9bf83fc and aee3e16648554cc011e2526ec3c0ca5de094a736 [00:00:29] INFO [06/14/18 20:14:57:80] Begin: Creating dictionary [00:00:29] INFO [06/14/18 20:14:57:80] End: Creating dictionary (Took: 2.00ms) [00:00:29] INFO [06/14/18 20:14:57:80] Begin: Storing version variables to cache file C:\projects\litjson.git\gitversion_cache\BDF4B71F4AAC6B5AA364F281D90020AE5C975CBC.yml [00:00:29] INFO [06/14/18 20:14:57:84] End: Storing version variables to cache file C:\projects\litjson.git\gitversion_cache\BDF4B71F4AAC6B5AA364F281D90020AE5C975CBC.yml (Took: 39.00ms) [00:00:29] INFO [06/14/18 20:14:57:84] Applicable build agent found: 'AppVeyor'. [00:00:29] Executing GenerateSetVersionMessage for 'AppVeyor'. [00:00:30] Set AppVeyor build number to '0.13.0'. [00:00:30] Executing GenerateBuildLogOutput for 'AppVeyor'. [00:00:30] Adding Environment Variable. name='GitVersion_Major' value='0'] [00:00:30] Adding Environment Variable. name='GitVersion_Minor' value='13'] [00:00:30] Adding Environment Variable. name='GitVersion_Patch' value='0'] [00:00:30] Adding Environment Variable. name='GitVersion_PreReleaseTag' value=''] [00:00:30] Adding Environment Variable. name='GitVersion_PreReleaseTagWithDash' value=''] [00:00:30] Adding Environment Variable. name='GitVersion_PreReleaseLabel' value=''] [00:00:30] Adding Environment Variable. name='GitVersion_PreReleaseNumber' value=''] [00:00:30] Adding Environment Variable. name='GitVersion_BuildMetaData' value=''] [00:00:30] Adding Environment Variable. name='GitVersion_BuildMetaDataPadded' value=''] [00:00:30] Adding Environment Variable. name='GitVersion_FullBuildMetaData' value='Branch.develop.Sha.aee3e16648554cc011e2526ec3c0ca5de094a736'] [00:00:30] Adding Environment Variable. name='GitVersion_MajorMinorPatch' value='0.13.0'] [00:00:30] Adding Environment Variable. name='GitVersion_SemVer' value='0.13.0'] [00:00:30] Adding Environment Variable. name='GitVersion_LegacySemVer' value='0.13.0'] [00:00:30] Adding Environment Variable. name='GitVersion_LegacySemVerPadded' value='0.13.0'] [00:00:30] Adding Environment Variable. name='GitVersion_AssemblySemVer' value='0.13.0.0'] [00:00:30] Adding Environment Variable. name='GitVersion_FullSemVer' value='0.13.0'] [00:00:30] Adding Environment Variable. name='GitVersion_InformationalVersion' value='0.13.0+Branch.develop.Sha.aee3e16648554cc011e2526ec3c0ca5de094a736'] [00:00:30] Adding Environment Variable. name='GitVersion_BranchName' value='develop'] [00:00:30] Adding Environment Variable. name='GitVersion_Sha' value='aee3e16648554cc011e2526ec3c0ca5de094a736'] [00:00:30] Adding Environment Variable. name='GitVersion_NuGetVersionV2' value='0.13.0'] [00:00:30] Adding Environment Variable. name='GitVersion_NuGetVersion' value='0.13.0'] [00:00:30] Adding Environment Variable. name='GitVersion_CommitsSinceVersionSource' value='6'] [00:00:30] Adding Environment Variable. name='GitVersion_CommitsSinceVersionSourcePadded' value='0006'] [00:00:30] Adding Environment Variable. name='GitVersion_CommitDate' value='2018-05-09'] [00:00:30] Copying file AssemblyInfo.cs.in to C:/projects/litjson/src/LitJson/AssemblyInfo.cs [00:00:31] Calculated Semantic Version: 0.13.0 [00:00:31] Running tasks... [00:00:31] [00:00:31] ======================================== [00:00:31] Clean [00:00:31] ======================================== [00:00:31] Executing task: Clean [00:00:31] Creating directory C:/projects/litjson/src/bin [00:00:31] Creating directory C:/projects/litjson/test/bin [00:00:31] Creating directory C:/projects/litjson/src/obj [00:00:31] Creating directory C:/projects/litjson/test/obj [00:00:31] Creating directory C:/projects/litjson/artifacts/nuget [00:00:31] Finished executing task: Clean [00:00:31] [00:00:31] ======================================== [00:00:31] Restore [00:00:31] ======================================== [00:00:31] Executing task: Restore [00:00:35] Restoring packages for C:\projects\litjson\src\LitJson\LitJSON.csproj... [00:00:35] Restoring packages for C:\projects\litjson\test\LitJSON.Tests.csproj... [00:00:36] Installing SourceLink.Create.GitHub 2.8.1. [00:00:38] Installing System.Diagnostics.TextWriterTraceListener 4.0.0. [00:00:38] Installing System.ComponentModel.EventBasedAsync 4.0.11. [00:00:38] Installing Microsoft.DotNet.PlatformAbstractions 1.0.3. [00:00:38] Installing Microsoft.TestPlatform.ObjectModel 15.5.0. [00:00:38] Installing Microsoft.Extensions.DependencyModel 1.0.3. [00:00:38] Installing System.Xml.XPath.XmlDocument 4.3.0. [00:00:38] Installing System.ComponentModel.EventBasedAsync 4.3.0. [00:00:38] Installing Microsoft.TestPlatform.TestHost 15.5.0. [00:00:38] Installing Microsoft.CodeCoverage 1.0.3. [00:00:38] Installing Microsoft.NET.Test.Sdk 15.5.0. [00:00:38] Installing NUnit 3.9.0. [00:00:38] Installing NUnit3TestAdapter 3.9.0. [00:00:39] Generating MSBuild file C:\projects\litjson\src\LitJson\obj\LitJSON.csproj.nuget.g.props. [00:00:39] Generating MSBuild file C:\projects\litjson\src\LitJson\obj\LitJSON.csproj.nuget.g.targets. [00:00:39] Restore completed in 4.33 sec for C:\projects\litjson\src\LitJson\LitJSON.csproj. [00:00:39] Restoring packages for C:\projects\litjson\src\LitJson\LitJSON.csproj... [00:00:40] Installing LibGit2Sharp.NativeBinaries 1.0.165. [00:00:40] Installing LibGit2Sharp.Portable 0.24.10. [00:00:40] Installing Newtonsoft.Json 10.0.3. [00:00:40] Installing Microsoft.Extensions.CommandLineUtils 1.1.1. [00:00:40] Installing dotnet-sourcelink-git 2.8.1. [00:00:41] Generating MSBuild file C:\projects\litjson\test\obj\LitJSON.Tests.csproj.nuget.g.props. [00:00:41] Generating MSBuild file C:\projects\litjson\test\obj\LitJSON.Tests.csproj.nuget.g.targets. [00:00:41] Restore completed in 5.69 sec for C:\projects\litjson\test\LitJSON.Tests.csproj. [00:00:41] Restoring packages for C:\projects\litjson\src\LitJson\LitJSON.csproj... [00:00:41] Installing NuGet.Versioning 4.4.0. [00:00:41] Installing NuGet.Frameworks 4.4.0. [00:00:41] Installing NuGet.Packaging.Core 4.4.0. [00:00:41] Installing NuGet.Common 4.4.0. [00:00:41] Installing NuGet.Packaging 4.4.0. [00:00:41] Installing dotnet-sourcelink 2.8.1. [00:00:42] Restore completed in 2.69 sec for C:\projects\litjson\src\LitJson\LitJSON.csproj. [00:00:42] Restore completed in 1.65 sec for C:\projects\litjson\src\LitJson\LitJSON.csproj. [00:00:42] Finished executing task: Restore [00:00:42] [00:00:42] ======================================== [00:00:42] Build [00:00:42] ======================================== [00:00:42] Executing task: Build [00:00:43] Microsoft (R) Build Engine version 15.7.179.6572 for .NET Core [00:00:43] Copyright (C) Microsoft Corporation. All rights reserved. [00:00:43] [00:00:53] LitJSON -> C:\projects\litjson\src\LitJson\bin\Release\net45\LitJSON.dll [00:00:53] LitJSON -> C:\projects\litjson\src\LitJson\bin\Release\netstandard2.0\LitJSON.dll [00:00:55] LitJSON -> C:\projects\litjson\src\LitJson\bin\Release\net40\LitJSON.dll [00:00:55] LitJSON -> C:\projects\litjson\src\LitJson\bin\Release\netstandard1.5\LitJSON.dll [00:00:56] LitJSON -> C:\projects\litjson\src\LitJson\bin\Release\net35\LitJSON.dll [00:00:56] LitJSON.Tests -> C:\projects\litjson\test\bin\Release\net45\LitJSON.Tests.dll [00:00:57] LitJSON.Tests -> C:\projects\litjson\test\bin\Release\netcoreapp2.0\LitJSON.Tests.dll [00:00:58] LitJSON -> C:\projects\litjson\src\LitJson\bin\Release\net20\LitJSON.dll [00:00:58] [00:00:58] Build succeeded. [00:00:58] 0 Warning(s) [00:00:58] 0 Error(s) [00:00:58] [00:00:58] Time Elapsed 00:00:14.90 [00:00:58] Finished executing task: Build [00:00:58] [00:00:58] ======================================== [00:00:58] Test [00:00:58] ======================================== [00:00:58] Executing task: Test [00:00:58] Test run for C:\projects\litjson\test\bin\Release\netcoreapp2.0\LitJSON.Tests.dll(.NETCoreApp,Version=v2.0) [00:00:58] Microsoft (R) Test Execution Command Line Tool Version 15.7.0 [00:00:58] Copyright (c) Microsoft Corporation. All rights reserved. [00:00:58] [00:00:58] Starting test execution, please wait... [00:01:01] [00:01:01] Total tests: 86. Passed: 86. Failed: 0. Skipped: 0. [00:01:01] Test Run Successful. [00:01:01] Test execution time: 2.2053 Seconds [00:01:01] NUnit Console Runner 3.4.0 [00:01:01] Copyright (C) 2016 Charlie Poole [00:01:01] [00:01:01] Runtime Environment [00:01:01] OS Version: Microsoft Windows NT 10.0.14393.0 [00:01:01] CLR Version: 4.0.30319.42000 [00:01:01] [00:01:01] Test Files [00:01:01] C:/projects/litjson/test/bin/Release/net45/LitJSON.Tests.dll [00:01:01] [00:01:02] [00:01:02] Run Settings [00:01:02] WorkDirectory: C:\projects\litjson [00:01:02] ImageRuntimeVersion: 4.0.30319 [00:01:02] ImageTargetFrameworkName: .NETFramework,Version=v4.5 [00:01:02] ImageRequiresX86: False [00:01:02] ImageRequiresDefaultAppDomainAssemblyResolver: False [00:01:02] NumberOfTestWorkers: 2 [00:01:02] [00:01:02] Test Run Summary [00:01:02] Overall result: Passed [00:01:02] Test Count: 86, Passed: 86, Failed: 0, Inconclusive: 0, Skipped: 0 [00:01:02] Start time: 2018-06-15 03:15:30Z [00:01:02] End time: 2018-06-15 03:15:30Z [00:01:02] Duration: 0.364 seconds [00:01:02] [00:01:02] Finished executing task: Test [00:01:02] [00:01:02] ======================================== [00:01:02] Test-SourceLink [00:01:02] ======================================== [00:01:02] Executing task: Test-SourceLink [00:01:04] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net20/LitJSON.dll [00:01:05] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net35/LitJSON.dll [00:01:06] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net40/LitJSON.dll [00:01:06] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/net45/LitJSON.dll [00:01:07] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/netstandard1.5/LitJSON.dll [00:01:08] sourcelink test passed: C:/projects/litjson/src/LitJSON/bin/Release/netstandard2.0/LitJSON.dll [00:01:08] Finished executing task: Test-SourceLink [00:01:08] [00:01:08] ======================================== [00:01:08] Package [00:01:08] ======================================== [00:01:08] Executing task: Package [00:01:08] Microsoft (R) Build Engine version 15.7.179.6572 for .NET Core [00:01:08] Copyright (C) Microsoft Corporation. All rights reserved. [00:01:08] [00:01:09] Successfully created package 'C:/projects/litjson/artifacts/nuget\LitJson.0.13.0.nupkg'. [00:01:09] Successfully created package 'C:/projects/litjson/artifacts/nuget\LitJson.0.13.0.symbols.nupkg'. [00:01:09] Finished executing task: Package [00:01:09] [00:01:09] ======================================== [00:01:09] Upload-AppVeyor-Artifacts [00:01:09] ======================================== [00:01:09] Executing task: Upload-AppVeyor-Artifacts [00:01:12] [00:01:12] Uploading artifact LitJson.0.13.0.nupkg (185,338 bytes)...36% [00:01:12] Uploading artifact LitJson.0.13.0.nupkg (185,338 bytes)...100% [00:01:13] [00:01:13] Uploading artifact LitJson.0.13.0.symbols.nupkg (206,798 bytes)...32% [00:01:13] Uploading artifact LitJson.0.13.0.symbols.nupkg (206,798 bytes)...100% [00:01:13] Finished executing task: Upload-AppVeyor-Artifacts [00:01:13] [00:01:13] ======================================== [00:01:13] Publish-MyGet [00:01:13] ======================================== [00:01:13] Executing task: Publish-MyGet [00:01:13] Cake.exe : An error occurred when executing task 'Publish-MyGet'. [00:01:13] At C:\projects\litjson\build.ps1:117 char:9 [00:01:13] + & "$CakeExePath" $args [00:01:13] +
~~~~~~ [00:01:13] + CategoryInfo : NotSpecified: (An error occurr...Publish-MyGet'.:String) [], RemoteException [00:01:13] + FullyQualifiedErrorId : NativeCommandError [00:01:13][00:01:13] [00:01:13] ---------------------------------------- [00:01:13] Teardown [00:01:13] ---------------------------------------- [00:01:13] Executing custom teardown action... [00:01:13] Finished running tasks. [00:01:13] Error: [00:01:13] One or more errors occurred. [00:01:13] [00:01:13] [00:01:13]
[00:01:13] Could not resolve MyGet API key. [00:01:13] [00:01:13] [00:01:13] Command executed with exception: [00:01:13]
I just want to use this tool in unity , so I forked the project to build on appveyor under windows env. But I got this error when I built appveryor. How to solve this problem ? Or how I can get the litJson dll file?