Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode.

This commit is contained in:
BDisp
2024-10-09 16:09:11 +01:00
parent 426b99181f
commit 8d0997194f
3 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
</ItemGroup>
<ItemGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PackageReference Include="Terminal.Gui" Version="[2.0.0-v2-develop.2189,3)" />
<PackageReference Include="Terminal.Gui" Version="2.0.0" />
<TrimmerRootAssembly Include="Terminal.Gui" />
</ItemGroup>

View File

@@ -18,7 +18,7 @@
</ItemGroup>
<ItemGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PackageReference Include="Terminal.Gui" Version="[2.0.0-pre.1788,3)" />
<PackageReference Include="Terminal.Gui" Version="2.0.0" />
<TrimmerRootAssembly Include="Terminal.Gui" />
</ItemGroup>

View File

@@ -9,6 +9,7 @@
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="LocalPackages" value="Terminal.Gui\bin\Release" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget">