File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 10
10
<PublishSingleFile >true</PublishSingleFile >
11
11
<PublishTrimmed >true</PublishTrimmed >
12
12
<TargetFramework >net7.0</TargetFramework >
13
- <TrimMode >link</TrimMode >
14
13
<VersionPrefix >2022.1.0</VersionPrefix >
15
14
</PropertyGroup >
15
+ <PropertyGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))" >
16
+ <TrimMode >link</TrimMode >
17
+ </PropertyGroup >
16
18
<ItemGroup >
17
19
<Folder Include =" Models\" />
18
20
<AvaloniaResource Include =" Assets\**" />
Original file line number Diff line number Diff line change 10
10
<Nullable >enable</Nullable >
11
11
<OutputType >Exe</OutputType >
12
12
<PublishSingleFile Condition =" '$(TargetFramework)'!='net472' and '$(GITHUB_ACTIONS)' == 'true'" >true</PublishSingleFile >
13
- <PublishTrimmed >true</PublishTrimmed >
14
13
<TargetFrameworks >net7.0;net472</TargetFrameworks >
15
- <TrimMode >partial</TrimMode >
16
14
<VersionPrefix >2022.1.0</VersionPrefix >
17
15
<ServerGarbageCollection >true</ServerGarbageCollection >
18
16
</PropertyGroup >
19
17
18
+ <PropertyGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))" >
19
+ <TrimMode >partial</TrimMode >
20
+ <PublishTrimmed >true</PublishTrimmed >
21
+ </PropertyGroup >
22
+
20
23
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x64' " >
21
24
<OutputPath >bin\x64\Debug\</OutputPath >
22
25
</PropertyGroup >
Original file line number Diff line number Diff line change 18
18
<Description >Library for interacting with IL2CPP metadata and binaries</Description >
19
19
<Configurations >Debug;Release</Configurations >
20
20
<TargetFrameworks >net7.0;net6.0;netstandard2.0</TargetFrameworks >
21
+ </PropertyGroup >
22
+
23
+ <PropertyGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))" >
21
24
<IsTrimmable >true</IsTrimmable >
22
25
</PropertyGroup >
23
26
You can’t perform that action at this time.
0 commit comments