question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors on fresh install of version AvaloniaVS 0.6.0.1

See original GitHub issue

I’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: image 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:closed
  • Created 6 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
uxmalcommented, Mar 13, 2018

Well, egg on my face. It seems calling my project Avalonia.csproj confused NuGet. Renaming the project to AvaloniaShell.csproj seems to work. I figured this out after reading https://github.com/riganti/dotvvm/issues/525

In any case: thanks for your assistance! Looking forward to evaluating Avalonia.

0reactions
jetspikingcommented, Jan 25, 2023

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found