-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #299 from microsoft/feature/additional-trimming-pr…
…oject-config ci: adds additional trimming testing project configuration
- Loading branch information
Showing
1 changed file
with
25 additions
and
11 deletions.
There are no files selected for viewing
36 changes: 25 additions & 11 deletions
36
...s/trimming/Microsoft.Kiota.Trimming.Validation/Microsoft.Kiota.Trimming.Validation.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,43 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFrameworks>net6.0;net8.0</TargetFrameworks> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<PublishTrimmed>true</PublishTrimmed> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<TrimmerSingleWarn>false</TrimmerSingleWarn> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup | ||
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))"> | ||
<PublishAot>true</PublishAot> | ||
</PropertyGroup> | ||
<PropertyGroup | ||
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))"> | ||
<PublishTrimmed>true</PublishTrimmed> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\src\abstractions\Microsoft.Kiota.Abstractions.csproj" /> | ||
<ProjectReference Include="..\..\..\src\authentication\azure\Microsoft.Kiota.Authentication.Azure.csproj" /> | ||
<ProjectReference Include="..\..\..\src\http\httpClient\Microsoft.Kiota.Http.HttpClientLibrary.csproj" /> | ||
<ProjectReference Include="..\..\..\src\serialization\form\Microsoft.Kiota.Serialization.Form.csproj" /> | ||
<ProjectReference Include="..\..\..\src\serialization\json\Microsoft.Kiota.Serialization.Json.csproj" /> | ||
<ProjectReference Include="..\..\..\src\serialization\multipart\Microsoft.Kiota.Serialization.Multipart.csproj" /> | ||
<ProjectReference Include="..\..\..\src\serialization\text\Microsoft.Kiota.Serialization.Text.csproj" /> | ||
<ProjectReference | ||
Include="..\..\..\src\authentication\azure\Microsoft.Kiota.Authentication.Azure.csproj" /> | ||
<ProjectReference | ||
Include="..\..\..\src\http\httpClient\Microsoft.Kiota.Http.HttpClientLibrary.csproj" /> | ||
<ProjectReference | ||
Include="..\..\..\src\serialization\form\Microsoft.Kiota.Serialization.Form.csproj" /> | ||
<ProjectReference | ||
Include="..\..\..\src\serialization\json\Microsoft.Kiota.Serialization.Json.csproj" /> | ||
<ProjectReference | ||
Include="..\..\..\src\serialization\multipart\Microsoft.Kiota.Serialization.Multipart.csproj" /> | ||
<ProjectReference | ||
Include="..\..\..\src\serialization\text\Microsoft.Kiota.Serialization.Text.csproj" /> | ||
<TrimmerRootAssembly Include="Microsoft.Kiota.Abstractions" /> | ||
<TrimmerRootAssembly Include="Microsoft.Kiota.Authentication.Azure" /> | ||
<TrimmerRootAssembly Include="Microsoft.Kiota.Http.HttpClientLibrary" /> | ||
<TrimmerRootAssembly Include="Microsoft.Kiota.Serialization.Form" /> | ||
<TrimmerRootAssembly Include="Microsoft.Kiota.Serialization.Json" /> | ||
<TrimmerRootAssembly Include="Microsoft.Kiota.Serialization.Text" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
</Project> |