warning BC40056: Namespace or type specified in the Imports 'MS.Internal.Xaml.Builtins' doesn't cont
Posted
by Heinzi
on Stack Overflow
See other posts from Stack Overflow
or by Heinzi
Published on 2010-02-26T09:56:06Z
Indexed on
2010/03/26
14:03 UTC
Read the original article
Hit count: 1301
I have a WPF VB.NET project in Visual Studio 2008. For some reason, Visual Studio thinks that it needs to add an
Imports MS.Internal.Xaml.Builtins
to every auto-generated XAML partial class (= the nameOfXamlFile.g.vb
files), resulting in the following warning:
warning BC40056: Namespace or type specified in the Imports 'MS.Internal.Xaml.Builtins' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
I can remove the Imports
line, but, since this is an auto-generated file, it reappears every time that the project is rebuilt.
This warning message is annoying and clutters my error list. Is ther something that can be done about it? Or is it a known bug?
© Stack Overflow or respective owner