Skip to content

Commit

Permalink
Add DotNext.Trimming project for trimming analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jan 29, 2024
1 parent 9916610 commit af824ce
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/DotNext.Trimming/DotNext.Trimming.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<ImplicitUsings>true</ImplicitUsings>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<PublishTrimmed>true</PublishTrimmed>
<SelfContained>true</SelfContained>
<TargetFramework>net8.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<UseCurrentRuntimeIdentifier>true</UseCurrentRuntimeIdentifier>
</PropertyGroup>

<ItemGroup>
<TrimmerRootAssembly Include="DotNext" />
<TrimmerRootAssembly Include="DotNext.IO" />
<TrimmerRootAssembly Include="DotNext.Metaprogramming" />
<TrimmerRootAssembly Include="DotNext.Threading" />
<TrimmerRootAssembly Include="DotNext.Unsafe" />
<TrimmerRootAssembly Include="DotNext.AspNetCore.Cluster" />
<TrimmerRootAssembly Include="DotNext.Net.Cluster" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DotNext\DotNext.csproj" />
<ProjectReference Include="..\DotNext.IO\DotNext.IO.csproj" />
<ProjectReference Include="..\DotNext.Metaprogramming\DotNext.Metaprogramming.csproj" />
<ProjectReference Include="..\DotNext.Threading\DotNext.Threading.csproj" />
<ProjectReference Include="..\DotNext.Unsafe\DotNext.Unsafe.csproj" />
<ProjectReference Include="..\cluster\DotNext.AspNetCore.Cluster\DotNext.AspNetCore.Cluster.csproj" />
<ProjectReference Include="..\cluster\DotNext.Net.Cluster\DotNext.Net.Cluster.csproj" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/DotNext.Trimming/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
return 1;
8 changes: 8 additions & 0 deletions src/DotNext.sln
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNext.MaintenanceServices
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLineAMI", "examples\CommandLineAMI\CommandLineAMI.csproj", "{39583DDE-E579-44AD-B7AF-5BB77D979E55}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNext.Trimming", "DotNext.Trimming\DotNext.Trimming.csproj", "{A75C88C1-BAB6-4FEE-B15F-FE06BA79ADB3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Bench|Any CPU = Bench|Any CPU
Expand Down Expand Up @@ -125,6 +127,12 @@ Global
{39583DDE-E579-44AD-B7AF-5BB77D979E55}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39583DDE-E579-44AD-B7AF-5BB77D979E55}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39583DDE-E579-44AD-B7AF-5BB77D979E55}.Release|Any CPU.Build.0 = Release|Any CPU
{A75C88C1-BAB6-4FEE-B15F-FE06BA79ADB3}.Bench|Any CPU.ActiveCfg = Debug|Any CPU
{A75C88C1-BAB6-4FEE-B15F-FE06BA79ADB3}.Bench|Any CPU.Build.0 = Debug|Any CPU
{A75C88C1-BAB6-4FEE-B15F-FE06BA79ADB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A75C88C1-BAB6-4FEE-B15F-FE06BA79ADB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A75C88C1-BAB6-4FEE-B15F-FE06BA79ADB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A75C88C1-BAB6-4FEE-B15F-FE06BA79ADB3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit af824ce

Please sign in to comment.