VitalElement / AvalonStudio

Cross platform IDE and Shell
GNU Lesser General Public License v3.0
1.63k stars 237 forks source link

AvalonStudio Fails to compile (XmlParser.cs(311,31): error CS1525: Invalid expression term '=') #750

Closed Morronic closed 4 years ago

Morronic commented 4 years ago

If you get an error compiling using dotnet XmlParser.cs(311,31): error CS1525: Invalid expression term '=' Here is how to resolve it:

Open the [ProjectDir]\AvalonStudio\AvalonStudio\Avalonia.Ide\src\Avalonia.Ide.CompletionEngine\XmlParser.cs file and change line 311. Instead of: var clonedStack = = new Stack<int>(new Stack<int>(_containingTagStart));

Avalonia Error 01

Type: var clonedStack = new Stack<int>(new Stack<int>(_containingTagStart));

Avalonia Error Fix 01

Save the file and try to recompile using dotnet build. Happy Coding!!

mvfranz commented 4 years ago

What is the timeline to getting this fix applied? Currently AvalonStudio cannot be built when checked out and is very frustrating when you are new to the project.

It should be noted that Avalonia.Ide fixed this issue 3 days after it was introduced, so this is actually a submodule reference issue.