Preparations for 1.0.0 release

This commit is contained in:
artyom 2020-07-19 11:54:09 +03:00
Родитель 3c2fe6577a
Коммит 5b305e9347
12 изменённых файлов: 15 добавлений и 14 удалений

Просмотреть файл

@ -4,7 +4,7 @@ using ReactiveUI.Fody.Helpers;
using ReactiveUI.Validation.Extensions;
using ReactiveUI.Validation.Helpers;
namespace Live.Avalonia.Library
namespace Live.Avalonia.Sample.Library
{
public class AppViewModel : ReactiveValidationObject<AppViewModel>
{

Просмотреть файл

@ -1,9 +1,8 @@
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Layout;
using Avalonia.Markup.Xaml;
using Live.Avalonia.Library;
using Live.Avalonia.Sample.Library;
namespace Live.Avalonia.Sample
{

Просмотреть файл

@ -1,6 +1,6 @@
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using Live.Avalonia.Library;
using Live.Avalonia.Sample.Library;
using ReactiveUI;
namespace Live.Avalonia.Sample

Просмотреть файл

@ -16,13 +16,13 @@
<Watch Include="**\*.xaml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.9.0" />
<PackageReference Include="Avalonia.Desktop" Version="0.9.0" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.9.0" />
<PackageReference Include="Avalonia" Version="0.9.11" />
<PackageReference Include="Avalonia.Desktop" Version="0.9.11" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.9.11" />
<PackageReference Include="Citrus.Avalonia" Version="1.2.6" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Live.Avalonia.Library\Live.Avalonia.Library.csproj" />
<ProjectReference Include="..\Live.Avalonia.Sample.Library\Live.Avalonia.Sample.Library.csproj" />
<ProjectReference Include="..\Live.Avalonia\Live.Avalonia.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -6,7 +6,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Live.Avalonia", "Live.Avalo
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Live.Avalonia.FuncUI.Sample", "Live.Avalonia.FuncUI.Sample\Live.Avalonia.FuncUI.Sample.fsproj", "{90493830-8A59-455C-BD1F-50B48A2B2D0A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Live.Avalonia.Library", "Live.Avalonia.Library\Live.Avalonia.Library.csproj", "{5CA59900-E7B3-4DC0-9C70-89A5B7514290}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Live.Avalonia.Sample.Library", "Live.Avalonia.Sample.Library\Live.Avalonia.Sample.Library.csproj", "{5CA59900-E7B3-4DC0-9C70-89A5B7514290}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Просмотреть файл

@ -12,9 +12,9 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) 2020 Artyom Gorchakov</Copyright>
<Authors>Artyom Gorchakov and Contributors</Authors>
<Version>0.1.2-alpha</Version>
<Version>1.0.0</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.9.0" />
<PackageReference Include="Avalonia" Version="0.9.11" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;

Просмотреть файл

@ -1,7 +1,5 @@
using System;
using System.Globalization;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;

Просмотреть файл

@ -66,3 +66,8 @@ public object CreateView(Window window) {
}
```
### Getting Started with F#
Thanks to @AngelMunoz and @JaggerJo `Live.Avalonia` now supports MVU and [`Avalonia.FuncUI`](https://github.com/AvaloniaCommunity/Avalonia.FuncUI) as well. See the [`Live.Avalonia.FuncUI.Sample`](https://github.com/worldbeater/Live.Avalonia/tree/main/Live.Avalonia.FuncUI.Sample) directory in this repository for a compelling example. The composition root is located inside the [Program.cs](https://github.com/worldbeater/Live.Avalonia/blob/main/Live.Avalonia.FuncUI.Sample/Program.fs#L35) file.
> **Important Note** By default, `dotnet watch build` triggers the build only when any `.cs` file changes. In order to have live reload working for `.fs` files too, add the following line to your `.csproj` file: `<Watch Include="**\*.fs" />`. See the [`Live.Avalonia.FuncUI.Sample`](https://github.com/worldbeater/Live.Avalonia/blob/main/Live.Avalonia.FuncUI.Sample/Live.Avalonia.FuncUI.Sample.fsproj#L15) project for more info.