Fixing the failing test by using a package that is not part of the asp.net runtime.
This commit is contained in:
parent
5a6efef0e2
commit
9387702b7a
7 changed files with 16 additions and 22 deletions
|
@ -1,3 +0,0 @@
|
|||
<StoreArtifacts>
|
||||
<Package Id="Newtonsoft.Json" Version ="9.0.1"/>
|
||||
</StoreArtifacts>
|
|
@ -1,5 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version ="9.0.1"/>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -6,6 +6,6 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NewtonSoft.Json" Version="9.0.1" />
|
||||
<PackageReference Include="NuGet.Configuration" Version="4.3.0-beta1-2418" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -3,20 +3,14 @@
|
|||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NuGet.Configuration;
|
||||
|
||||
class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
ArrayList argList = new ArrayList(args);
|
||||
JObject jObject = new JObject();
|
||||
var settingValue = new SettingValue("key", "value", false);
|
||||
|
||||
foreach (string arg in argList)
|
||||
{
|
||||
jObject[arg] = arg;
|
||||
}
|
||||
|
||||
Console.WriteLine(jObject.ToString());
|
||||
Console.WriteLine(settingValue.Key);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
<StoreArtifacts>
|
||||
<Package Id="NuGet.Configuration" Version ="4.3.0-beta1-2418"/>
|
||||
</StoreArtifacts>
|
|
@ -0,0 +1,5 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGet.Configuration" Version ="4.3.0-beta1-2418"/>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue