mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode. * Run dotnet restore before build. * Using local_packages folder for CI. * Add build_release_consumer. * Remove build_release_consumer. * Fix folder for CI. * Fix System.Text.Json vulnerability. * Fix local_packageslocation. * Add package sources to the packageSourceMapping tag. * Using the original configuration. * Only add the Terminal.Gui pattern in the LocalPackages. * Fix the path folder separator with unit style. * Using pack instead of build. * Create LocalPackages Directory * Add local_packages source. * Using scripts to build release for NativeAot and SelfContained. * Trying to fix path. * Again. * Fix the path for the package, * Need to build before pack. * Needs also build before pack locally. * Fix build path.
26 lines
874 B
XML
26 lines
874 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<PublishTrimmed>true</PublishTrimmed>
|
|
<TrimMode>Link</TrimMode>
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<InvariantGlobalization>false</InvariantGlobalization>
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<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" />
|
|
<TrimmerRootAssembly Include="Terminal.Gui" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|