warning BC40056: Namespace or type specified in the Imports 'MS.Internal.Xaml.Builtins' doesn't cont
- by Heinzi
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?