Closed bub-bl closed 6 months ago
Hi, I think you're using the wrong MauiReactor version, you need version 2.0.x to target .net 8.
First, install the latest tooling: dotnet new install Reactor.Maui.TemplatePack::2.0.7-beta
dotnet tool update --global Reactor.Maui.HotReload --version 2.0.7-beta
Then create a new project and set the references to the latest version:
<PackageReference Include="Reactor.Maui" Version="2.0.7-beta" />
<PackageReference Include="Reactor.Maui.Canvas" Version="2.0.7-beta" />
<PackageReference Include="Reactor.Maui.ScaffoldGenerator" Version="2.0.7-beta" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
running the hot-reload command you should see something like:
MauiReactor Hot-Reload CLI
Version 2.0.7.0
Press Ctrl+C or Ctrl+Break to quit
Setting up build pipeline for Project31 project...done.
Monitoring folder 'C:\Source\tests\Project31\\'...
Please let me know if you need further support otherwise I'll close the issue
When is use the following command:
dotnet-maui-reactor -f net8.0-android
, that work's fine, but when i do a change inMainPage.cs
, i got this error and i dont know how to solve that (This is in french, but that always say "missing android target platform")I have installed
dotnet workload install android
, but i get the same error, all workloads is installeddotnet --list-sdks
dotnet --version
Logs:
I think, the problem is related to the SDK version used by
dotnet-maui-reactor
command. Myglobal.json
is set with this configuration:All nuget packages is updated and all is setup correctly following requirement in the documentation.
I don't have this problem when i use it with
net7.0-android