Errors on fresh install of version AvaloniaVS 0.6.0.1
See original GitHub issueI’m anxious to try out Avalonia as the new graphical front end for the Reko decompiler. I used Visual Studio 2017’s “Extensions and Updates” dialog to download AvaloniaVS. Version 0.6.01 installed. I added a new “Avalonia Application” in the File
> New
> Project
dialog. The following is the result:
In the VStudio Error List
I see:
Severity Code Description Project File Line Suppression State
Error CS0115 'App.Initialize()': no suitable method found to override Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\App.xaml.cs 8 Active
Error NU1108 Cycle detected.
Avalonia -> Avalonia (>= 0.6.1). Avalonia C:\dev\uxmal\reko\master\src\Drivers\Avalonia\Avalonia.csproj 1
Error NU1108 Cycle detected.
Avalonia -> Avalonia (>= 0.6.1). Avalonia C:\dev\uxmal\reko\master\src\Drivers\Avalonia\Avalonia.csproj 1
Error CS0103 The name 'AppBuilder' does not exist in the current context Avalonia(net461), Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\Program.cs 15 Active
Error CS0246 The type or namespace name 'AppBuilder' could not be found (are you missing a using directive or an assembly reference?) Avalonia(net461), Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\Program.cs 14 Active
Error CS0246 The type or namespace name 'Application' could not be found (are you missing a using directive or an assembly reference?) Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\App.xaml.cs 6 Active
Error CS0234 The type or namespace name 'Controls' does not exist in the namespace 'Avalonia' (are you missing an assembly reference?) Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\MainWindow.xaml.cs 2 Active
Error CS0234 The type or namespace name 'Logging' does not exist in the namespace 'Avalonia' (are you missing an assembly reference?) Avalonia(net461), Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\Program.cs 3 Active
Error CS0234 The type or namespace name 'Markup' does not exist in the namespace 'Avalonia' (are you missing an assembly reference?) Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\App.xaml.cs 2 Active
Error CS0234 The type or namespace name 'Markup' does not exist in the namespace 'Avalonia' (are you missing an assembly reference?) Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\MainWindow.xaml.cs 3 Active
Error CS0246 The type or namespace name 'Window' could not be found (are you missing a using directive or an assembly reference?) Avalonia(netcoreapp2.0) C:\dev\uxmal\reko\master\src\Drivers\Avalonia\MainWindow.xaml.cs 7 Active
My expectation was that this would work right off the bat. What am I doing wrong?
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Avalonia previewer clean install error : r/dotnet
I just installed Avalonia for Vs 2022 and tried creating a blank project but I'm unable to use the previewer The error "The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, egg on my face. It seems calling my project
Avalonia.csproj
confused NuGet. Renaming the project toAvaloniaShell.csproj
seems to work. I figured this out after reading https://github.com/riganti/dotvvm/issues/525In any case: thanks for your assistance! Looking forward to evaluating Avalonia.
I had the same issue just now on MacOS, for me the problem was that XCode was not properly installed. Performing
xcode-select --install
solved the issue.