locked
root namespace problem

    Question

  • I have a WinRT C++/CX component (consumed by C#) in a project named "DXBase"

    I am writing an other C++/CX utility library (also consumed by C#), which depends on it in a project named "DXBase.Loader"

    Unfortunately, instead of have a default root namespace of DXBase::Loader, it is DXBase_Loader.

    Is there a way I can change that?

    Sunday, February 17, 2013 3:15 PM

Answers

  • well, solved it!

    Manually edit the .vcxproj file with a text editor!
    Changed the <RootNamespace> from DXBase_Loader to DXBase.Loader, it all works fine now!

    • Marked as answer by Lloyd Sunday, February 17, 2013 4:46 PM
    Sunday, February 17, 2013 4:46 PM

All replies

  • well, solved it!

    Manually edit the .vcxproj file with a text editor!
    Changed the <RootNamespace> from DXBase_Loader to DXBase.Loader, it all works fine now!

    • Marked as answer by Lloyd Sunday, February 17, 2013 4:46 PM
    Sunday, February 17, 2013 4:46 PM
  • Thanks for sharing the solution.

    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, February 19, 2013 1:54 AM