Skip to content

Commit

Permalink
Merge pull request #2906 from PrismLibrary/dev/ds/net46
Browse files Browse the repository at this point in the history
Revert changes - .NET 461 support
  • Loading branch information
dansiegel authored Jul 9, 2023
2 parents c0cc829 + 7879531 commit 6eb38ab
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion src/Prism.Core/Prism.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net47;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net461;net47;net6.0</TargetFrameworks>
<AssemblyName>Prism</AssemblyName>
<PackageId>Prism.Core</PackageId>
<RootNamespace>Prism</RootNamespace>
Expand All @@ -14,6 +14,11 @@
<Compile Update="Properties\Resources.Designer.cs" DesignTime="True" AutoGen="True" DependentUpon="Resources.resx" />
<EmbeddedResource Update="Properties\Resources.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Resources.Designer.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework) == 'net461' ">
<PackageReference Include="System.ValueTuple" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Prism.Events\Prism.Events.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Prism.Core/Properties/IsExternalInit.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Linq;

#if NETSTANDARD || NET47
#if NETSTANDARD || NET461_OR_GREATER
namespace System.Runtime.CompilerServices;

internal static class IsExternalInit
Expand Down
2 changes: 1 addition & 1 deletion src/Prism.Events/Prism.Events.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net47;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net461;net47;net6.0</TargetFrameworks>
<!-- Summary is not actually supported at this time. Including the summary for future support. -->
<!--<Summary>Prism provides an implementation of a collection of design patterns that are helpful in writing well structured and maintainable applications.</Summary>-->
<Description>Prism.Events is a library that facilitates communication between loosely coupled components in an application. It provides an event aggregator service that allows publishers and subscribers to interact through events without direct references. With multicast publish/subscribe functionality, multiple publishers can raise the same event, and multiple subscribers can listen to it, enabling flexible and efficient communication.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Wpf/Prism.DryIoc.Wpf/Prism.DryIoc.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<TargetFrameworks>net47;net6.0-windows</TargetFrameworks>
<TargetFrameworks>net461;net47;net6.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
<RootNamespace>Prism.DryIoc</RootNamespace>
<PackageId>Prism.DryIoc</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion src/Wpf/Prism.Unity.Wpf/Prism.Unity.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<TargetFrameworks>net47;net6.0-windows</TargetFrameworks>
<TargetFrameworks>net461;net47;net6.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
<RootNamespace>Prism.Unity</RootNamespace>
<PackageId>Prism.Unity</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion src/Wpf/Prism.Wpf/Prism.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Prism</RootNamespace>
<TargetFrameworks>net47;net6.0-windows</TargetFrameworks>
<TargetFrameworks>net461;net47;net6.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
<!--<Summary>Prism libraries related to user interface composition, regions, and modularity for WPF.</Summary>-->
<Description>Prism is a fully open source version of the Prism guidance originally produced by Microsoft Patterns &amp; Practices. Prism provides an implementation of a collection of design patterns that are helpful in writing well structured, maintainable, and testable XAML applications, including MVVM, dependency injection, commanding, event aggregation, and more. Prism's core functionality is a shared library targeting the .NET Framework and .NET Standard. Features that need to be platform specific are implemented in the respective libraries for the target platform (WPF, Uno Platform, and Xamarin Forms).
Expand Down

0 comments on commit 6eb38ab

Please sign in to comment.