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

This commit is contained in:
BDisp
2024-07-06 10:24:10 +01:00
parent 594921b3df
commit edba130eb1

View File

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