Browse Source

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

BDisp 10 months ago
parent
commit
8d0997194f
3 changed files with 3 additions and 2 deletions
  1. 1 1
      NativeAot/NativeAot.csproj
  2. 1 1
      SelfContained/SelfContained.csproj
  3. 1 0
      nuget.config

+ 1 - 1
NativeAot/NativeAot.csproj

@@ -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>
 

+ 1 - 1
SelfContained/SelfContained.csproj

@@ -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>
 

+ 1 - 0
nuget.config

@@ -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">