.Net 8 Dependencies in Alternet Scripter 10

I think there are still .Net 8 dependencies in version 10 of Scripter that are causing a change in target during runtime. At least, that’s what my buggy Claude says. Oh, and Hot Reload says to :wink:

Can you share your csproj? We need to study it’s references and TFMs

Additionally to csproj, if it is possible, please provide more details on the issue. Each detail will help us to reproduce the issue and find out what is going on.

  1. Exact steps to reproduce
  • What do you do from a clean start until the error appears?
  • Which file do you edit (type of file: .cs, .xaml, .csproj) and what kind of change triggers it (rename, whitespace, method body change, etc.)?
  1. When it happens
  • Does it happen every time you use Hot Reload, or only sometimes?
  • Does it happen on the first edit, or only after several edits?
  • Does it happen only while debugging (F5), or also with Ctrl+F5 / running without debugger?
  1. Project / Target Framework details
  • What is the TargetFramework of the app (e.g., net8.0-windows, net6.0-windows, etc.)?
  • Are there multiple projects in the solution, and do they all target the same framework?
  1. Environment info
  • Visual Studio version.
  • Output of dotnet --info.
  1. Evidence from build output
  • The full text from Hot Reload Output and Error List (copy/paste).
  • If possible, the relevant lines from the normal Build Output window too.
  1. Does it go away if…
  • Does the issue disappear after deleting bin/obj and rebuilding?
  • Does the issue disappear if Hot Reload is disabled (i.e., stop/start debugging instead of Hot Reload)?