MSBuild: The tag '<TAG>' does not exist in XML namespace '<NAMESPACE>'


 i have solution several silverlight 3.0 solutions.

when build project in vsts have no errors or warnings.

when build project on tfs build server (msbuild) these warnings:

[any cpu/debug] c:\path\job\jobview.xaml(49,26): warning : tag 'datetimeselector' not exist in xml namespace 'clr-namespace:myproject.commonsl;assembly=myproject.commonsl'.

when open jobview.xaml in vsts designer, error:

 error    8    the type 'commonsl:datetimeselector' not found. verify not missing assembly reference , referenced assemblies have been built.    c:\path\job\jobview.xaml    49    26    job

 there many errors commonsl project.

in xaml file have defined reference:

   xmlns:commonsl="clr-namespace:myproject.commonsl;assembly=myproject.commonsl"

and have added reference.

the code runs correctly.

any suggestions?

hi,

the warning mentioned may occurs in scenario: refered controls in style, not in visual tree, actually. example, when using toolkit theming, theme resource dictionary may contains many styles controls in several assemblies, needn't add related controls assemblies in project when applying theming.

on opinion, ignore warning, or remove these style , namespace prefix, because they wasn't used in project.

thanks,



Silverlight  >  Visual Studio & Silverlight Development Tools



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'