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
|
@ -0,0 +1,11 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGet.Configuration" Version="4.3.0-beta1-2418" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,16 @@
|
|||
// 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 NuGet.Configuration;
|
||||
|
||||
class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var settingValue = new SettingValue("key", "value", false);
|
||||
|
||||
Console.WriteLine(settingValue.Key);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue