Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Apr 07 13:08
    riQQ commented #773
  • Apr 07 11:47
    TrevorDArcyEvans closed #773
  • Apr 07 11:47
    TrevorDArcyEvans commented #773
  • Apr 06 22:27
    riQQ commented #773
  • Apr 06 22:26
    riQQ commented #773
  • Apr 06 20:43
    TrevorDArcyEvans opened #773
  • Feb 21 18:34

    danwalmsley on develop

    fix: ⚡️ nuget avalonia url - F… Merge pull request #772 from me… (compare)

  • Feb 21 18:34
    danwalmsley closed #772
  • Feb 21 18:34
    danwalmsley closed #771
  • Feb 14 11:28
    qezz closed #764
  • Feb 14 11:28
    qezz commented #764
  • Dec 29 2021 15:33
    melMass opened #772
  • Dec 22 2021 02:41
    danwalmsley commented #771
  • Dec 21 2021 04:54
    Gribochek277 commented #771
  • Dec 19 2021 15:31
    orlfi commented #771
  • Dec 09 2021 08:31
    violog opened #771
  • Nov 02 2021 22:11

    danwalmsley on develop

    fix asbuild version info. (compare)

  • Nov 02 2021 21:50

    danwalmsley on develop

    Revert "make packager work." T… fix package extract. (compare)

  • Nov 01 2021 15:51

    danwalmsley on develop

    remove docker image (compare)

  • Nov 01 2021 15:39

    danwalmsley on develop

    update shell. fix package name. (compare)

Darnell Williams
Hmm I seemed to figure out how to crash the IDE on linux:
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (Unexpected Null))
 ---> System.AggregateException: One or more errors occurred. (Unexpected Null)
 ---> System.InvalidOperationException: Unexpected Null
   at Roslyn.Utilities.Contract.Fail(String message)
   at Microsoft.CodeAnalysis.RecoverableTextAndVersion.RecoverableText.RecoverAsync(CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.CodeAnalysis.Host.RecoverableWeakValueSource`1.GetValueAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.RecoverableTextAndVersion.GetValueAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.DocumentState.FullyParseTreeAsync(ValueSource`1 newTextSource, ProjectId cacheKey, String filePath, ParseOptions options, ValueSource`1 analyzerConfigSetValueSource, HostLanguageServices languageServices, SolutionServices solutionServices, PreservationMode mode, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.CodeAnalysis.DocumentState.GetSyntaxTreeAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildDeclarationCompilationFromScratchAsync(SolutionState solution, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildCompilationInfoFromScratchAsync(SolutionState solution, State state, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetOrBuildCompilationInfoAsync(SolutionState solution, Boolean lockGate, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationSlowAsync(SolutionState solution, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetMetadataReferenceAsync(SolutionState solution, ProjectState fromProject, ProjectReference projectReference, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.FinalizeCompilationAsync(SolutionState solution, Compilation compilation, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildFinalStateFromInProgressStateAsync(SolutionState solution, InProgressState state, Compilation inProgressCompilation, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetOrBuildCompilationInfoAsync(SolutionState solution, Boolean lockGate, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationSlowAsync(SolutionState solution, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Document.GetSemanticModelAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.GetSemanticModelForSpanAsync(Document document, TextSpan span, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Classification.Classifier.GetClassifiedSpansAsync(Document document, TextSpan textSpan, CancellationToken cancellationToken)
   at AvalonStudio.Languages.CSharp.CSharpLanguageService.RunCodeAnalysisAsync(IEnumerable`1 unsavedFiles, Func`1 interruptRequested) in /home/darnell/Documents/GitHub/AvalonStudio/AvalonStudio/AvalonStudio.Languages.CSharp/CSharpLanguageService.cs:line 806
   at AvalonStudio.Extensibility.Editor.CodeEditorViewModel.<>c__DisplayClass49_0.<<DoCodeAnalysisAsync>b__2>d.MoveNext() in /home/darnell/Documents/GitHub/AvalonStudio/AvalonStudio/AvalonStudio.Extensibility.Editor/CodeEditorViewModel.cs:line 264
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()


Open AvalonStudio.aln in AvalonStudio, wait for it to say Ready. Attempt to open Program.cs.

Testing on linux
Darnell Williams
@danwalmsley also it seems like packages aren't really working (like the packages view doesnt even show so I am unable to install the toolchains)
Dan Walmsley
@Seeker1437 package view doesnt show anything
its schedule to be removed
you dont install toolchains anymore
they get installed automatically
Darnell Williams
Oh epic :O
Screenshot from 2019-10-26 09-33-14.png
Is this normal?
Darnell Williams
Also where shoild I set my compiler flags and such?
I basically set up clang as the toolchain and I loose all highlighting and additionally I get an error about the toolchain not being found
Dan Walmsley
@Seeker1437 only used the PublishToolchain option
those local ones are for advanced cases
compiler flags and linker flags are under compiler and linker tabs
Darnell Williams
epic got it
Dan Walmsley
you have a choice of clang or gcc
Darnell Williams
basically I am using it and getting a feel for it so maybe I can help with UX things and ofc features
Man Im super excited to get serious with this again
But actually help this time
Hank G
I'm trying to use the latest release deb on Linux Mint running in a VM with software emulated graphics card (that's just as good as it gets right now) and it's performance is really laggy.
is there an equivalent to Electron's --no-gpu or something I should be using to correct that
Nikita Tsukanov
We are skipping llvmpipe
Use proper accelerated graphics
Or do you mean that you want to switch to sw-rendering?
Hank G
VirtualBox doesn't play well with passing through the hardware accelerated graphics to a Linux Guest OS
perhaps compounded by being on a Linux Host
I'm not having a problem with the apps I'm building but they also are nowhere near as big as AvalonStudio
good news is IntelliSense in Rider is so solid at this point I'm mostly needing VS (or AvalonStudio if it wasn't having this problem) for doing live preview as I'm editing
Darnell Williams
Woot we got a release!
Michael Kruglos
The latest version on macOS is not working. Impossible to move the window. Clicking "New Solution" does nothing.
hi i want to install avalonstudio but the deb file does nothing and the linux binaries does only show a clin interface no gui
Matheus Castello
Hi I am trying to use the AvalonStudio (it seems to work much better than the extension of visual studio 🤯). But I am having this issue VitalElement/AvalonStudio#747 I can work by setting the absolute path but this is annoying because when I deploy, I have to change these paths. Could someone help, or give a north on what project should I try to modify so that AvalonStudio uses a base URL set by me (maybe add a configuration ... even if it's a workaround for now)
Trying to dotnet restore and getting this error:
/mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/AvalonStudio/AvalonStudio/AvalonStudio/AvalonStudio.csproj : error NU1605: Detected package downgrade: Serilog.Sinks.Trace from 2.1.0 to 2.0.0. Reference the package directly from the project to select a different version. 
/mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/AvalonStudio/AvalonStudio/AvalonStudio/AvalonStudio.csproj : error NU1605:  AvalonStudio -> Avalonia 0.6.0 -> Serilog.Sinks.Trace (>= 2.1.0) 
/mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/AvalonStudio/AvalonStudio/AvalonStudio/AvalonStudio.csproj : error NU1605:  AvalonStudio -> Serilog.Sinks.Trace (>= 2.0.0)
ah, yeah chaning the version to 2.1.0 in the csproj seems to fix that.
the readme instructions also apear to be incorrect in the .net version, it apears to have build 2.0 rather than 3.0. I'm also having problems running it, ./AvalonStudio as per the readme No such file or directory. dotnet run AvalonStudio returns AvalonStudio MSBuild Host Started: 38727 and nothing else appears to happen.
How can I create an executable for the program on all OS?

Hello all. I can't build a project at MacOS, getting this error:

Controls/DocumentTabItem.cs(54,33): error CS0115: 'DocumentTabItem.OnPropertyChanged<T>(AvaloniaProperty<T>, Optional<T>, BindingValue<T>, BindingPriority)': no suitable method found to override [/Users/misadmitriev/Projects/AvalonStudio/AvalonStudio.Shell/src/AvalonStudio.Shell.Extensibility/AvalonStudio.Shell.Extensibility.csproj]
Controls/EditableTextBlock.cs(168,33): error CS0115: 'EditableTextBlock.OnPropertyChanged<T>(AvaloniaProperty<T>, Optional<T>, BindingValue<T>, BindingPriority)': no suitable method found to override [/Users/misadmitriev/Projects/AvalonStudio/AvalonStudio.Shell/src/AvalonStudio.Shell.Extensibility/AvalonStudio.Shell.Extensibility.csproj]

How can I fix that?

hi, i have one problem with avalonstudio. "New solution" is not working and it does nothing when clicked... Do anybody know how can this be solved? Thanks.
Hello, which release tag is it better to build?
Is it possible to do dotnet publish? When I do so (dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -f netcoreapp3.1), everything compiles fine, but nothing is generated
Vladislav Stovmanenko
Hello. There is bug #754. It relates to some Avalonia bug, but it looks like that it was fixed in 1.0.0-preview4. Should I create pull request to update dependencies version?
Vladislav Stovmanenko
Hello everyone. Please take a look at this pull request (VitalElement/AvalonStudio.Shell#27). It fixes bindings in EditableTextBlock. After that AvalonStudio.Shell submodule should be updated in AvalonStudio to make items in solution explorer renamable.
Just stumbled accross this project whilst looking into avalonia! What an awesome achievement. Is it possible to get / find info as to the current status of this project? I understand from the avalonia website that dev is largely done in Rider or VS. Does this mean that this project is strategically "ditched" in favour of using those othet ide's? Or is it simply considered "complete" in scope and only accepting maintenance pr's? Or is it still actively evolving? Or perhaps its future is undecided? Many thanks!
Dan Walmsley
in the early days of Avalonia this was my project for an embedded c/c++ ide with visualstudio like features but cross platform, later evolving to support avalonia with a xaml previewer and .net debugging
the underlying shell has been released as a library in itself and some projects are using it, but I no longer have the time to maintain the IDE
its waiting for someone to breath some new life into it :)