|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <OutputType>Exe</OutputType> |
| 4 | + <TargetFramework>$(LatestNETCoreTargetFramework)</TargetFramework> |
| 5 | + <PublishAot>true</PublishAot> |
| 6 | + <IlcTreatWarningsAsErrors>true</IlcTreatWarningsAsErrors> |
| 7 | + <PackProject>false</PackProject> |
| 8 | + <UsePublicApiAnalyzer>false</UsePublicApiAnalyzer> |
| 9 | + </PropertyGroup> |
| 10 | + |
| 11 | + <ItemGroup> |
| 12 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Commands\NuGet.Commands.csproj" /> |
| 13 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Common\NuGet.Common.csproj" /> |
| 14 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Configuration\NuGet.Configuration.csproj" /> |
| 15 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Credentials\NuGet.Credentials.csproj" /> |
| 16 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.DependencyResolver.Core\NuGet.DependencyResolver.Core.csproj" /> |
| 17 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Frameworks\NuGet.Frameworks.csproj" /> |
| 18 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.LibraryModel\NuGet.LibraryModel.csproj" /> |
| 19 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Packaging\NuGet.Packaging.csproj" /> |
| 20 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.ProjectModel\NuGet.ProjectModel.csproj" /> |
| 21 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj" /> |
| 22 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Resolver\NuGet.Resolver.csproj" /> |
| 23 | + <ProjectReference Include="..\..\src\NuGet.Core\NuGet.Versioning\NuGet.Versioning.csproj" /> |
| 24 | + </ItemGroup> |
| 25 | + |
| 26 | + <!-- |
| 27 | + Root all public types in each NuGet assembly so the ILC compiler analyzes |
| 28 | + the full public surface of every library, not just what Program.cs reaches. |
| 29 | + --> |
| 30 | + <ItemGroup> |
| 31 | + <TrimmerRootAssembly Include="NuGet.Commands" /> |
| 32 | + <TrimmerRootAssembly Include="NuGet.Common" /> |
| 33 | + <TrimmerRootAssembly Include="NuGet.Configuration" /> |
| 34 | + <TrimmerRootAssembly Include="NuGet.Credentials" /> |
| 35 | + <TrimmerRootAssembly Include="NuGet.DependencyResolver.Core" /> |
| 36 | + <TrimmerRootAssembly Include="NuGet.Frameworks" /> |
| 37 | + <TrimmerRootAssembly Include="NuGet.LibraryModel" /> |
| 38 | + <TrimmerRootAssembly Include="NuGet.Packaging" /> |
| 39 | + <TrimmerRootAssembly Include="NuGet.ProjectModel" /> |
| 40 | + <TrimmerRootAssembly Include="NuGet.Protocol" /> |
| 41 | + <TrimmerRootAssembly Include="NuGet.Resolver" /> |
| 42 | + <TrimmerRootAssembly Include="NuGet.Versioning" /> |
| 43 | + </ItemGroup> |
| 44 | +</Project> |
0 commit comments