Skip to content

Commit

Permalink
fix: conditionally import MSBuild.Sdk.Extras
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Feb 6, 2023
1 parent 250dd55 commit a841b93
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<IS_PREVIEW Condition=" '$(IS_PREVIEW)' == '' ">false</IS_PREVIEW>
<IS_RELEASE Condition=" '$(IS_RELEASE)' == '' ">false</IS_RELEASE>
<UseWpf>$(IsWpfProject)</UseWpf>
<MSBuildSdkExtrasVersion>3.0.44</MSBuildSdkExtrasVersion>
</PropertyGroup>

<!-- Versioning -->
Expand Down
7 changes: 4 additions & 3 deletions src/Forms/Prism.DryIoc.Forms/Prism.DryIoc.Forms.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="MSBuild.Sdk.Extras">

<Project Sdk="Microsoft.NET.Sdk">
<Import Project="Sdk.props" Sdk="MSBuild.Sdk.Extras" Version="$(MSBuildSdkExtrasVersion)" Condition="'$(MSBuildRuntimeType)' != 'Core'" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0;Xamarin.iOS10</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$(MSBuildRuntimeType) != 'Core'">$(TargetFrameworks);Xamarin.iOS10</TargetFrameworks>
<Title>DryIoc for Prism for Xamarin.Forms</Title>
<!-- Summary is not actually supported at this time. Including the summary for future support. -->
<!--<Summary>DryIoc extensions for Prism for Xamarin.Forms.</Summary>-->
Expand Down
7 changes: 4 additions & 3 deletions src/Forms/Prism.Forms/Prism.Forms.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project Sdk="MSBuild.Sdk.Extras">

<Project Sdk="Microsoft.NET.Sdk">
<Import Project="Sdk.props" Sdk="MSBuild.Sdk.Extras" Version="$(MSBuildSdkExtrasVersion)" Condition="'$(MSBuildRuntimeType)' != 'Core'" />
<PropertyGroup>
<RootNamespace>Prism</RootNamespace>
<TargetFrameworks>netstandard2.0;MonoAndroid10.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$(MSBuildRuntimeType) != 'Core'">$(TargetFrameworks);MonoAndroid10.0</TargetFrameworks>
<Title>Prism for Xamarin.Forms</Title>
<!-- Summary is not actually supported at this time. Including the summary for future support. -->
<!--<Summary>Prism for Xamarin.Forms helps you more easily design and build rich, flexible, and easy to maintain Xamarin.Forms applications.</Summary>-->
Expand Down

0 comments on commit a841b93

Please sign in to comment.