Adding NewtonSoftDependentProject test asset back.
This commit is contained in:
parent
9387702b7a
commit
aac69168c2
4 changed files with 41 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="NewtonSoft.Json" Version="9.0.1" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,22 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
ArrayList argList = new ArrayList(args);
|
||||||
|
JObject jObject = new JObject();
|
||||||
|
|
||||||
|
foreach (string arg in argList)
|
||||||
|
{
|
||||||
|
jObject[arg] = arg;
|
||||||
|
}
|
||||||
|
|
||||||
|
Console.WriteLine(jObject.ToString());
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
<StoreArtifacts>
|
||||||
|
<Package Id="Newtonsoft.Json" Version ="9.0.1"/>
|
||||||
|
</StoreArtifacts>
|
|
@ -0,0 +1,5 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version ="9.0.1"/>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
Loading…
Reference in a new issue