locked
Error Message when switching project from Expression Blend to VS2010. RRS feed

  • Question

  • The following is the message:

    "Invalid XmlnsDeclaration occurs in assembly 'Expression.Sample.PathListBox.Util, Version=2.0.5.0, Culture=neutral, PublicKeyToken=76319f7ba805fb35'.  XmlnsDeclaration references a namespace 'PathListBoxUtils' that is not in assembly.

    I followed the tutorial in .toolbox http://www.microsoft.com/design/toolbox/tutorials/pathlistbox/carousel.aspx to call a project with path listbox.  It works fine in Expression Blend but when I switch over to VS2010 the above error message shown during build process.

    Does anyone have a clue to fix it?  Thanks.

     

    Friday, September 10, 2010 11:50 AM

Answers

  • Hi,

    This is a known issue of Visual Studio 2010. It causes error in AssemblyInfo.cs.

    A workaround I can think of now is that comment 'PathListBoxUtils' part in Blend first and delete 'PathListBoxUtils' reference in AssemblyInfo.cs then switch to VS2010.

    http://expressionblend.codeplex.com/workitem/8948

    Best Regards,

    Tuesday, September 14, 2010 2:44 AM

All replies

  • Hi,

    This is a known issue of Visual Studio 2010. It causes error in AssemblyInfo.cs.

    A workaround I can think of now is that comment 'PathListBoxUtils' part in Blend first and delete 'PathListBoxUtils' reference in AssemblyInfo.cs then switch to VS2010.

    http://expressionblend.codeplex.com/workitem/8948

    Best Regards,

    Tuesday, September 14, 2010 2:44 AM
  • Hi,

    This is a known issue of Visual Studio 2010. It causes error in AssemblyInfo.cs.

    A workaround I can think of now is that comment 'PathListBoxUtils' part in Blend first and delete 'PathListBoxUtils' reference in AssemblyInfo.cs then switch to VS2010.

    http://expressionblend.codeplex.com/workitem/8948

    Best Regards,

    Does anyone know if there is a patch available yet?

    Monday, October 4, 2010 11:02 PM
  • I fixed it

    1-Download the samples from here http://expressionblend.codeplex.com/SourceControl/list/changesets
    2-you will find Expression.Samples.PathListBoxUtils.sln, open it, and build
    3-Go to the folder ....\Expression.Samples.PathListBoxUtils\Expression.Samples.PathListBoxUtils\obj\Silverlight\V4.0\Debug
    4-you will see Expression.Samples.PathListBoxUtils.dll
    5-Rename it to PathListBoxUtils.dll
    6-add that (Renamed) DLL to your Silverlight project..
    7-That is it.. Visual Studio 2010 won't crash anymore when you try to use Intellisense on XAML pages

    Thursday, April 7, 2011 4:35 PM