Comments (6)
Fixed in 11.0.0.2
from dock.
from dock.
Thanks for the feedback. I'm not sure what you're implying, however. The package reference is to the most recent available Nuget on nuget.org: <PackageReference Include="Dock.Model.ReactiveUI" Version="11.0.0-preview6" />
. The error reproduces on my CI build, so it doesn't appear to me a machine-specific issue:
https://cirrus-ci.com/task/6006447935324160
Are you suggesting:
- Removing the reference? I did, the compiler error persists and more compiler errors appear as the code uses extension methods from
Dock.Model.ReactiveUI
- To use a non-prerelease package? If so, where is it available from? According to nuget.org this is the most recent available binary.
- To use a different package? If so, which one?
After doing a clean rebuild, I get the following stack trace together with my diagnostic. Is it of any help?
Severity Code Description Project File Line Suppression State
Error AXN0002 XamlX.XamlParseException: Unable to resolve type DockProperties from namespace using:Dock.Avalonia Line 1, position 2.
at XamlX.Transform.Transformers.TypeReferenceResolver.ResolveTypeCore(AstTransformationContext context, String xmlns, String name, Boolean isMarkupExtension, List`1 typeArguments, IXamlLineInfo lineInfo, Boolean strict) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Transform/Transformers/TypeReferenceResolver.cs:line 109
at XamlX.Transform.Transformers.TypeReferenceResolver.ResolveType(AstTransformationContext context, String xmlns, String name, Boolean isMarkupExtension, List`1 typeArguments, IXamlLineInfo lineInfo, Boolean strict) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Transform/Transformers/TypeReferenceResolver.cs:line 35
at XamlX.Transform.Transformers.TypeReferenceResolver.ResolveType(AstTransformationContext context, XamlAstXmlTypeReference xmlref, Boolean strict) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Transform/Transformers/TypeReferenceResolver.cs:line 147
at XamlX.Transform.Transformers.TypeReferenceResolver.Transform(AstTransformationContext context, IXamlAstNode node) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Transform/Transformers/TypeReferenceResolver.cs:line 136
at XamlX.Transform.AstTransformationContext.Visitor.Visit(IXamlAstNode node) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Transform/AstTransformationContext.cs:line 58
at XamlX.Ast.XamlAstNode.Visit(IXamlAstVisitor visitor) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Ast/Common.cs:line 56
at XamlX.Ast.XamlAstNamePropertyReference.VisitChildren(IXamlAstVisitor visitor) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Ast/Xaml.cs:line 137
at XamlX.Ast.XamlAstNode.Visit(IXamlAstVisitor visitor) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Ast/Common.cs:line 60
at XamlX.Ast.XamlAstXamlPropertyValueNode.VisitChildren(IXamlAstVisitor visitor) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Ast/Xaml.cs:line 58
at XamlX.Ast.XamlAstNode.Visit(IXamlAstVisitor visitor) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Ast/Common.cs:line 60
at XamlX.Ast.XamlAstNode.VisitList[T](IList`1 list, IXamlAstVisitor visitor) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Ast/Common.cs:line 74
at XamlX.Ast.XamlAstNode.Visit(IXamlAstVisitor visitor) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Ast/Common.cs:line 60
at XamlX.Compiler.XamlCompiler`2.Transform(XamlDocument doc, Boolean strict) in /_/src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/src/XamlX/Compiler/XamlCompiler.cs:line 71
at Avalonia.Generators.Common.XamlXViewResolver.ResolveView(String xaml) in /_/src/tools/Avalonia.Generators/Common/XamlXViewResolver.cs:line 48 AvaloniaUI D:\dev\uxmal\reko\master\src\UserInterfaces\AvaloniaUI\AvaloniaUI.csproj 1 Active
The token DockProperties
doesn't exist in my codebase. I see it in the Dock.Settings
project in your source reposity. There is already a reference to Dock.Settings
in my csproj file. Am I making an obvious mistake?
from dock.
Same issue here. Since updating to 11.0.0.1, it cannot find DockProperties in Dock.Avalonia.
from dock.
It is still not working, same error. Do I need to change something coming from 11.0.0?
from dock.
You need different namespace
xmlns:ids="using:Dock.Settings"
ids:DockProperties
from dock.
Related Issues (20)
- Window disappears after dragging and dropping HOT 3
- Dock marks don't show up. HOT 1
- UserControls inside Tool (and probably in every dockable) always null in code
- . HOT 1
- After close all documents when is created a new one it not update/show automatically HOT 1
- Restoring a layout which re-docks floating documents causes exceptions HOT 4
- Support AoT/Trimming HOT 4
- HostWindowTitleBar has a Foreground Brush not appropriate for Simple (Dark) theme. HOT 1
- [BUG] Binding does not work on Tool
- ProportionalDock is covering up the DocumentDock HOT 1
- Document.OnClose() should return Task<bool>
- Dock.Avalonia 11.0.0.5 NuGet on net8 gives error The type or namespace name 'Factory' could not be found
- Docking tracking disabling when tool window is outside screen HOT 2
- Community Support Schedule and Approach HOT 3
- Fonts change when floating a window HOT 1
- Dock floated tool window cant be docked HOT 8
- Where did the wiki go? HOT 1
- After closing all documents, new document won't open HOT 6
- Nested Docks HOT 1
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 dock.