Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

Commented Issue: [Version 2] Problems withgeneric.xaml [16016]

$
0
0
I need to make pretty extensive changes to the styling of the AD controls, so I loaded generic.xaml and the Images folder into my app as a place to start. I added assembly references to the xmlns declarations in generic.xaml, but I'm having a compiler issue with the reference to Microsoft.Windows.Shell.

My declaration is:
xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=AvalonDock"

The error is:
"The type 'shell:WindowChrome' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built."

It does seem to find the namespace itself; it's available in Intellisense, but with no members.

I'm also getting the error
"'HwindHostInstance' TargetType does not match type of element 'LayoutAutoHideWindowControl'
but I think that might be a side-effect of the compiler not finding any classes inside Microsoft.Windows.Shell.


I don't even know where to start with this one. Can anybody point me in the right direction?
Comments: ** Comment from web user: rebeccamarye **

MORE INFO

The problem is intermittent. (How scary is that?) If I close and re-open Visual Studio it will go away, but then it eventually come back, sometimes when I do nothing more than hit enter a couple of times.

When it comes back, it's sometimes complaining about both shell and avalonDockProperties.

And when it's not complaining about the namespace declarations, I still have the HWindHostInstance error. I'm in the process of adding the styles and templates from generic.xaml to a new blank resource dictionary to figure out exactly where that's happening...


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>