Makes it easier to use a local NStack.Core package (#1740)

* Removed defunct packages.config

* Enable local nstack
This commit is contained in:
Tig Kindel
2022-05-25 19:25:19 -07:00
committed by GitHub
parent e66e8dc08a
commit bf99d724db
3 changed files with 12 additions and 10 deletions

View File

@@ -7,9 +7,15 @@
<DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants> <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<!-- Uncomment this to have dotnet restore pull NStack from a local dir for testing -->
<!-- See https://stackoverflow.com/a/44463578/297526 -->
<!--<RestoreSources>$(RestoreSources);../../local-packages;https://api.nuget.org/v3/index.json</RestoreSources>-->
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" /> <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
<PackageReference Include="NStack.Core" Version="0.16.0" /> <PackageReference Include="NStack.Core" Version="0.*" />
<PackageReference Include="MinVer" Version="4.0.0" PrivateAssets="all" /> <PackageReference Include="MinVer" Version="4.0.0" PrivateAssets="all" />
<InternalsVisibleTo Include="UnitTests" /> <InternalsVisibleTo Include="UnitTests" />
<!-- <None Remove="ConsoleDrivers\#ConsoleDriver.cs#" /> --> <!-- <None Remove="ConsoleDrivers\#ConsoleDriver.cs#" /> -->
@@ -31,8 +37,7 @@
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<MinVerSkip Condition="'$(Configuration)' == 'Debug'">true</MinVerSkip> <MinVerSkip Condition="'$(Configuration)' == 'Debug'">true</MinVerSkip>
</PropertyGroup>
<PropertyGroup>
<!-- See Terminal.Gui/README.md for how version numbering works --> <!-- See Terminal.Gui/README.md for how version numbering works -->
<!-- This enables prefixing version tags with v, e.g. v1.0.0 Instead of 1.0.0 --> <!-- This enables prefixing version tags with v, e.g. v1.0.0 Instead of 1.0.0 -->
<MinVerTagPrefix>v</MinVerTagPrefix> <MinVerTagPrefix>v</MinVerTagPrefix>

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NStack.Core" version="0.14.0" targetFramework="net472" />
</packages>

View File

@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio Version 17
VisualStudioVersion = 16.0.30114.128 VisualStudioVersion = 17.2.32427.441
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example", "Example\Example.csproj", "{B0A602CD-E176-449D-8663-64238D54F857}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example", "Example\Example.csproj", "{B0A602CD-E176-449D-8663-64238D54F857}"
EndProject EndProject
@@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
CONTRIBUTING.md = CONTRIBUTING.md CONTRIBUTING.md = CONTRIBUTING.md
.github\workflows\publish.yml = .github\workflows\publish.yml
README.md = README.md README.md = README.md
EndProjectSection EndProjectSection
EndProject EndProject