PreviewApp faild to build/launch on Ubuntu 22.04
mastir opened this issue · comments
I`ve found only dotnet6 available for linux, by simple updating dotnet to version 6 and Eto.Form to 2.7.2 fixed build and launch. I guess windows and mac versions should be updated too.
my csproj:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.7.2" />
</ItemGroup>
<Choose>
<When Condition="$(RuntimeIdentifier) != ''">
<ItemGroup>
<PackageReference Condition="$(RuntimeIdentifier.StartsWith('win'))" Include="Eto.Platform.Wpf" Version="2.5.10" />
<PackageReference Condition="$(RuntimeIdentifier.StartsWith('osx'))" Include="Eto.Platform.Mac64" Version="2.5.10" />
<PackageReference Condition="$(RuntimeIdentifier.StartsWith('linux'))" Include="Eto.Platform.Gtk" Version="2.7.2" />
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<PackageReference Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="Eto.Platform.Wpf" Version="2.5.10" />
<PackageReference Condition="$([MSBuild]::IsOSPlatform('OSX'))" Include="Eto.Platform.Mac64" Version="2.5.10" />
<PackageReference Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="Eto.Platform.Gtk" Version="2.7.2" />
</ItemGroup>
</Otherwise>
</Choose>
<ItemGroup>
<Compile Include="..\CSharp\FastNoiseLite.cs" Link="FastNoiseLite.cs" />
</ItemGroup>
</Project>
Thanks for a nice tool!
Fixed in v1.1.0 with new web app