Bug when using "." in project's name


  • I just installed Visual Studio 2012 RTM on my brand new Windows 8 RTM and I was surprised to see that none of my apps were working any more.

    After some investigation it looks like that in the .g.i.cs generated files all the dots inside the project's name are replace by an "_".

    So instead of having

    global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///App1.Views/BlankPage1.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Nested);

     like it was in the beta or the RC we now have

    global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///App1_Views/BlankPage1.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Nested);

    And nothing is working any more (you get a XamlParseException when instantiating the page).

    The workaround I found is to change the assembly name (replace "." by "_") but it's kind of a hack.

    Is this intended?


    Part of the development team for the new [url=http://bit.ly/n5tQB6]Foursquare[/url] & [url=http://bit.ly/vLowAr]Photobucket[/url] apps | Client Application Development MVP

    Thursday, August 16, 2012 10:31 PM


All replies