Comments (3)
Unspecified error
Helpful! Ok, looks like i need to try it on VS 2019 preview. Does it work for you on VS2019 stable? Could be a bug in the preview release.
from avaloniavs.
from avaloniavs.
Update: Tested with preview 2.0, no change. However, I have noticed that the exception is more detailed on the first launch of the designer:
17:55:32.505 [Information] Avalonia Package initialized
17:55:32.516 [Verbose] Started EditorFactory.CreateEditorInstance("\Sage\Views\MainWindow.xaml")
17:55:32.518 [Verbose] Started EditorFactory.GetTextBuffer("\Sage\Views\MainWindow.xaml")
17:55:32.541 [Verbose] Finished EditorFactory.GetTextBuffer("\Sage\Views\MainWindow.xaml")
17:55:32.542 [Verbose] Started EditorFactory.CreateEditorControl()
17:55:33.124 [Verbose] Finished EditorFactory.CreateEditorControl()
17:55:33.128 [Verbose] Finished EditorFactory.CreateEditorInstance("\Sage\Views\MainWindow.xaml")
17:55:33.131 [Verbose] Started DesignerPane.Initialize()
17:55:33.153 [Verbose] Started AvaloniaDesigner.Start()
17:55:33.155 [Verbose] Started AvaloniaDesigner.LoadTargetsAndStartProcessAsync()
17:55:33.158 [Verbose] Started AvaloniaDesigner.LoadTargetsAsync()
17:55:33.178 [Verbose] Finished AvaloniaDesigner.Start()
17:55:33.178 [Verbose] Finished DesignerPane.Initialize()
17:55:35.058 [Error] Exception caught by FireAndForget
System.AggregateException: One or more errors occurred. ---> System.Runtime.InteropServices.COMException: Type library exporter encountered an error while processing 'Microsoft.VisualStudio.ProjectSystem.VS.PropertyPages.PropertyPage, Microsoft.VisualStudio.ProjectSystem.Managed.VS'. Error: Type library exporter encountered an error while processing 'Microsoft.VisualStudio.Shell.Interop.SVsSolutionObject, Microsoft.VisualStudio.Shell.Interop'. Error: Type 'SVsSolutionObject' and type 'SVsSolution' both have the same UUID.
at EnvDTE.Configuration.get_Properties()
at AvaloniaVS.Services.SolutionService.<GetOutputInfoAsync>d__9.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Services\SolutionService.cs:line 220
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AvaloniaVS.Services.SolutionService.<GetProjectsAsync>d__3.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Services\SolutionService.cs:line 110
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AvaloniaVS.Views.AvaloniaDesigner.<LoadTargetsAsync>d__31.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Views\AvaloniaDesigner.xaml.cs:line 236
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AvaloniaVS.Views.AvaloniaDesigner.<LoadTargetsAndStartProcessAsync>d__30.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Views\AvaloniaDesigner.xaml.cs:line 217
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Runtime.InteropServices.COMException (0x80131163): Type library exporter encountered an error while processing 'Microsoft.VisualStudio.ProjectSystem.VS.PropertyPages.PropertyPage, Microsoft.VisualStudio.ProjectSystem.Managed.VS'. Error: Type library exporter encountered an error while processing 'Microsoft.VisualStudio.Shell.Interop.SVsSolutionObject, Microsoft.VisualStudio.Shell.Interop'. Error: Type 'SVsSolutionObject' and type 'SVsSolution' both have the same UUID.
at EnvDTE.Configuration.get_Properties()
at AvaloniaVS.Services.SolutionService.<GetOutputInfoAsync>d__9.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Services\SolutionService.cs:line 220
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AvaloniaVS.Services.SolutionService.<GetProjectsAsync>d__3.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Services\SolutionService.cs:line 110
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AvaloniaVS.Views.AvaloniaDesigner.<LoadTargetsAsync>d__31.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Views\AvaloniaDesigner.xaml.cs:line 236
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AvaloniaVS.Views.AvaloniaDesigner.<LoadTargetsAndStartProcessAsync>d__30.MoveNext() in D:\projects\AvaloniaUI\AvaloniaVS\AvaloniaVS\Views\AvaloniaDesigner.xaml.cs:line 217<---
Looking more and more like a VS preview bug, I guess?
from avaloniavs.
Related Issues (20)
- Add XAML Editor configuration persistance in Visual Studio HOT 1
- High memory and CPU usage when (indirectly) referencing DevExpress libraries HOT 10
- Tooltip flashing in preview window
- preview and autocomplete only work if you have a desktop application HOT 3
- Incorrect behavior of adding a new Avalonia item to project in Visual Studio HOT 1
- Broken installation on linux HOT 1
- Reference the library from an executable or wait for the solution to finish loading. HOT 1
- Autocomplete of binding properties doesn't work in Visual Studio 2022 mostly HOT 1
- Autocomplete of binding properties doesn't work in Visual Studio 2022 mostly HOT 7
- Add ability to change themes in the previewer. HOT 1
- Regions in AXAML files HOT 1
- New Event shown in Code-Behind
- "No executable found" when integrating Microsoft.ML.OnnxRuntime.DirectML HOT 6
- Add XAML editor's behaviour "Show inline color previews"
- Remove dependency from Avalonia TemplateStudio HOT 1
- Intellisense does not work whem mix assembly version
- .vsix does not install offline HOT 5
- Error message only shows when using dark theme
- Error creating XAML completion metadata HOT 5
- UserControl template misses directory name in the namespaces HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avaloniavs.