Steven Kirk

Results 205 comments of Steven Kirk

We were seeing this error in Avalonia too. Pinning the .NET SDK to 3.1.101 in `global.json` is a workaround: ``` "sdk": { "version": "3.1.101" }, ```

Yeah, code generation sounds like a great feature! Much more useful than BAML or something similar.

It's been a while since I've worked with Roslyn, but I imagine there must be a way to add a type that hasn't yet been declared? It wouldn't need to...

I think that at this point, if you wanted to move FuncUI to the Avalonia org and use our CI/publish infrastructure we could call it `Avalonia.FuncUI`? @danwalmsley what do you...

> @grokys Would it be possible to keep the project in the fsprojects community incubator and grant us a [prefix subset reservation delegation](https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation#advanced-prefix-reservation-scenarios) for Avalonia.FuncUI? Ah! I don't think this...

I've been looking into this: we already [implement `IVsBackForwardNavigation`](https://github.com/AvaloniaUI/AvaloniaVS/blob/master/AvaloniaVS/Views/EditorHostPane.cs#L36) and pass the messages on to the inner code window. Looking at what's happening with dnspy, the problem seems to be...

On a standard VS editor, the above works because `_serviceProvider` is a `DocumentObjectSite` instance. - The `DocumentObjectSite` is set by `WindowFrame.InitializeDocumentSite` by calling `this.DocumentSite.InitializeDocumentObject`. - This calls `UIElementDocumentObject.SetSite` - This...

Conclusion: we need to override `WindowPane.Initialize` and call `_editorWindow.SetSite` with the `DocumentObjectSite`.

Reopening this because I had to revert the changes in #118 (see #128).