AvaloniaUI / AvaloniaVS

Visual Studio Extension for Avalonia
MIT License
412 stars 77 forks source link

Do not require the "SelectedTarget" to be an executable project #473

Closed llfab closed 2 months ago

llfab commented 2 months ago

In some occasions the target project is actually not an executable project where ProjectInfo.IsExecutable return false. In such a case previewer runs into an error path "no executable found".

This should fix: https://github.com/AvaloniaUI/AvaloniaVS/issues/472

It seems that the Rider integration also does not check for such a condition.

llfab commented 2 months ago

Actually, this is not the solution to the problem. It seems that there can be nuget packages that would cause the exe project to loose its Properties, such that the extension does not recognize it as .IsExecutable