Skip to content

Commit

Permalink
fix sample TFMs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Jul 30, 2024
1 parent ad68844 commit 7d5a947
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(MauiPlatforms);$(MauiPreviousPlatforms)</TargetFrameworks>
<TargetFrameworks>$(MauiPlatforms)</TargetFrameworks>
<TargetFrameworks Condition=" '$(UseMaui)' != 'true' ">$(TargetFrameworks);$(MauiPreviousPlatforms)</TargetFrameworks>
<OutputType>Exe</OutputType>
<SingleProject>true</SingleProject>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<Import Condition=" '$(UseMaui)' != 'true' " Project="..\..\..\BlazorWebView\src\Maui\build\Microsoft.AspNetCore.Components.WebView.Maui.props" />

<PropertyGroup>
<TargetFrameworks>$(MauiPlatforms);$(_MauiDotNetTfm);$(_MauiPreviousDotNetTfm);$(MauiPreviousPlatforms)</TargetFrameworks>
<TargetFrameworks>$(MauiPlatforms);$(_MauiDotNetTfm)</TargetFrameworks>
<TargetFrameworks Condition=" '$(UseMaui)' != 'true' ">$(TargetFrameworks);$(_MauiPreviousDotNetTfm);$(MauiPreviousPlatforms)</TargetFrameworks>
<OutputType Condition="$(TargetFramework.Contains('-'))">Exe</OutputType>
<SingleProject>true</SingleProject>
<RootNamespace>Maui.Controls.Sample</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(MauiPlatforms);$(MauiPreviousPlatforms)</TargetFrameworks>
<TargetFrameworks>$(MauiPlatforms)</TargetFrameworks>
<TargetFrameworks Condition=" '$(UseMaui)' != 'true' ">$(TargetFrameworks);$(MauiPreviousPlatforms)</TargetFrameworks>
<OutputType>Exe</OutputType>
<SingleProject>true</SingleProject>
<IsPackable>false</IsPackable>
Expand Down
3 changes: 2 additions & 1 deletion src/Essentials/samples/Samples/Essentials.Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(MauiPlatforms);$(MauiPreviousPlatforms)</TargetFrameworks>
<TargetFrameworks>$(MauiPlatforms)</TargetFrameworks>
<TargetFrameworks Condition=" '$(UseMaui)' != 'true' ">$(TargetFrameworks);$(MauiPreviousPlatforms)</TargetFrameworks>
<RootNamespace>Maui.Essentials.Sample</RootNamespace>
<AssemblyName>Microsoft.Maui.Essentials.Sample</AssemblyName>
<OutputType>Exe</OutputType>
Expand Down

0 comments on commit 7d5a947

Please sign in to comment.