Skip to content

Commit

Permalink
bumped from net45 to net452
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuntley committed Aug 4, 2017
1 parent fea42cd commit fa5ba4a
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageIconUrl>https://i.imgur.com/7WDbqSy.png</PackageIconUrl>
<Authors>ReactiveUI contributors</Authors>
<Owners>xpaulbettsx;flagbug;ghuntley;haacked;kent.boogaart;mteper;moswald;niik;onovotny;rdavisau;shiftkey</Owners>
<PackageTags>mvvm;reactiveui;Rx;Reactive Extensions;Observable;LINQ;Events;xamarin;android;ios;forms;monodroid;monotouch;xamarin.android;xamarin.ios;xamarin.forms;wpf;winforms;uwp;winrt;net45;netcore;wp;wpdev;windowsphone;windowsstore</PackageTags>
<PackageTags>mvvm;reactiveui;Rx;Reactive Extensions;Observable;LINQ;Events;xamarin;android;ios;forms;monodroid;monotouch;xamarin.android;xamarin.ios;xamarin.forms;wpf;winforms;uwp;winrt;net452;netcore;wp;wpdev;windowsphone;windowsstore</PackageTags>
<PackageReleaseNotes>https://github.com/reactiveui/reactiveui/releases</PackageReleaseNotes>

<NoWarn>$(NoWarn);1591</NoWarn>
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.1'">
<DefineConstants>$(DefineConstants);PORTABLE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
<DefineConstants>$(DefineConstants);NET_45;XAML</DefineConstants>
<PropertyGroup Condition="'$(TargetFramework)' == 'net452'">
<DefineConstants>$(DefineConstants);NET_452;XAML</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
<DefineConstants>$(DefineConstants);NETFX_CORE;XAML;WINDOWS_UWP</DefineConstants>
Expand Down
2 changes: 1 addition & 1 deletion src/EventBuilder/Platforms/WPF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class WPF : BasePlatform
public WPF()
{
if (PlatformHelper.IsRunningOnMono()) {
throw new NotSupportedException("Building events for NET45 on Mac is not implemented.");
throw new NotSupportedException("Building events for WPF on Mac is not implemented.");
} else {
Assemblies.Add(@"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\WindowsBase.dll");
Assemblies.Add(@"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\PresentationCore.dll");
Expand Down
6 changes: 3 additions & 3 deletions src/ReactiveUI.Blend/ReactiveUI.Blend.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;uap10.0</TargetFrameworks>
<TargetFrameworks>net452;uap10.0</TargetFrameworks>
<AssemblyName>ReactiveUI.Blend</AssemblyName>
<RootNamespace>ReactiveUI.Blend</RootNamespace>
<Description>Blend behaviors for ReactiveUI</Description>
Expand All @@ -15,8 +15,8 @@
<PackageReference Include="Splat" Version="2.0.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Compile Include="Platforms\net45\**\*.cs" />
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
<Compile Include="Platforms\net452\**\*.cs" />
<Reference Include="System.Xaml" />
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI.Events.WPF/ReactiveUI.Events.WPF.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45</TargetFrameworks>
<TargetFrameworks>net452</TargetFrameworks>
<AssemblyName>ReactiveUI.Events</AssemblyName>
<RootNamespace>ReactiveUI.Events</RootNamespace>
<Description>Provides Observable-based events API for WPF UI controls/eventhandlers. The contents of this package is automatically generated, please target pull-requests to the code generator.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI.Testing/ReactiveUI.Testing.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;uap10.0;Xamarin.iOS10;Xamarin.Mac20;MonoAndroid70</TargetFrameworks>
<TargetFrameworks>net452;uap10.0;Xamarin.iOS10;Xamarin.Mac20;MonoAndroid70</TargetFrameworks>
<AssemblyName>ReactiveUI.Testing</AssemblyName>
<RootNamespace>ReactiveUI.Testing</RootNamespace>
<Description>A library to aid in writing unit tests for ReactiveUI projects</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI.Winforms/ReactiveUI.Winforms.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45</TargetFrameworks>
<TargetFrameworks>net452</TargetFrameworks>
<AssemblyName>ReactiveUI.Winforms</AssemblyName>
<RootNamespace>ReactiveUI.Winforms</RootNamespace>
<Description>Windows Forms specific extensions to ReactiveUI</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net45</TargetFramework>
<TargetFramework>net452</TargetFramework>
<DefineConstants>$(DefineConstants);WPF</DefineConstants>
<Description>WPF specific extensions to ReactiveUI</Description>
<PackageId>reactiveui-wpf</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI/Legacy/ReactiveCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public static ReactiveCommand<object> CreateCombined(params IReactiveCommand[] c
[Obsolete("This type is obsolete and will be removed in a future version of ReactiveUI. Please switch to using ReactiveUI.ReactiveCommand instead.")]
public class ReactiveCommand<T> : IReactiveCommand<T>, IReactiveCommand
{
#if NET_45
#if NET_452
public event EventHandler CanExecuteChanged;

protected virtual void raiseCanExecuteChanged(EventArgs args)
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI/ReactiveList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace ReactiveUI
[DebuggerTypeProxy(typeof(CollectionDebugView<>))]
public class ReactiveList<T> : IReactiveList<T>, IReadOnlyReactiveList<T>, IList
{
#if NET_45
#if NET_452
public event NotifyCollectionChangedEventHandler CollectionChanging;

protected virtual void raiseCollectionChanging(NotifyCollectionChangedEventArgs args)
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI/ReactiveObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace ReactiveUI
[DataContract]
public class ReactiveObject : IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject
{
#if NET_45
#if NET_452
public event PropertyChangingEventHandler PropertyChanging;

void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
Expand Down
6 changes: 3 additions & 3 deletions src/ReactiveUI/ReactiveUI.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard1.1;net45;uap10.0;Xamarin.iOS10;Xamarin.Mac20;MonoAndroid70</TargetFrameworks>
<TargetFrameworks>netstandard1.1;net452;uap10.0;Xamarin.iOS10;Xamarin.Mac20;MonoAndroid70</TargetFrameworks>
<AssemblyName>ReactiveUI</AssemblyName>
<RootNamespace>ReactiveUI</RootNamespace>
<Description>A MVVM framework that integrates with the Reactive Extensions for .NET to create elegant, testable User Interfaces that run on any mobile or desktop platform. Supports Xamarin.iOS, Xamarin.Android, Xamarin.Mac, Xamarin Forms, WPF, Windows Forms, Windows Phone 8.1, Windows Store and Universal Windows Platform (UWP).</Description>
Expand All @@ -22,8 +22,8 @@
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
<Compile Include="Platforms\net45\**\*.cs" />
<ItemGroup Condition="'$(TargetFramework)' == 'net452'">
<Compile Include="Platforms\net452\**\*.cs" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'!='netstandard1.1'">
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI/WeakEventManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace ReactiveUI
{
#if !NET_45
#if !NET_452
internal class CanExecuteChangedEventManager : WeakEventManager<ICommand, EventHandler, EventArgs>
{
}
Expand Down

0 comments on commit fa5ba4a

Please sign in to comment.