浏览代码

With Debug use the csproj and with Release use the latest nuget package.

BDisp 1 年之前
父节点
当前提交
edba130eb1
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      SelfContained/SelfContained.csproj

+ 7 - 2
SelfContained/SelfContained.csproj

@@ -9,12 +9,17 @@
     <TrimMode>Link</TrimMode>
     <PublishSingleFile>true</PublishSingleFile>
     <InvariantGlobalization>true</InvariantGlobalization>
-	<DebugType>embedded</DebugType>
+    <DebugType>embedded</DebugType>
   </PropertyGroup>
 
-  <ItemGroup>
+  <ItemGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     <ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />
     <TrimmerRootAssembly Include="Terminal.Gui" />
   </ItemGroup>
 
+  <ItemGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+    <PackageReference Include="Terminal.Gui" Version="2.0.0-pre.1788" />
+    <TrimmerRootAssembly Include="Terminal.Gui" />
+  </ItemGroup>
+
 </Project>