Skip to content

Commit cb1e77b

Browse files
authored
Merge pull request #345 from lextudio/uno-updates
Enable macOS and Linux build
2 parents 76c46e6 + 1d121a3 commit cb1e77b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

samples/WinUI.TableView.SampleApp.Uno/WinUI.TableView.SampleApp.Uno.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</TargetFrameworks>
99

1010
<OutputType>Exe</OutputType>
11+
<OutputType Condition="'$(TargetFramework)'=='$(NetVersion)-desktop'">WinExe</OutputType>
1112
<UnoSingleProject>true</UnoSingleProject>
1213
<AssemblyName>WinUI.TableView.SampleApp</AssemblyName>
1314

src/WinUI.TableView.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>
4-
net8.0-windows10.0.19041.0;
5-
net9.0-windows10.0.19041.0;
6-
net10.0-windows10.0.19041.0;
74
net8.0;
85
net9.0;
96
net10.0;
107
</TargetFrameworks>
118
<LangVersion>12</LangVersion>
129
<Nullable>enable</Nullable>
1310
<IsAOTCompatible>true</IsAOTCompatible>
11+
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">
12+
net8.0-windows10.0.19041.0;
13+
net9.0-windows10.0.19041.0;
14+
net10.0-windows10.0.19041.0;
15+
$(TargetFrameworks);
16+
</TargetFrameworks>
1417
</PropertyGroup>
1518

1619
<PropertyGroup Condition="'$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' == 'windows'">

0 commit comments

Comments
 (0)