locked
How to work with 2 or more project with shared code?

    Question

  • Hi there.

    I developed a metro style app, and I want to build the same app with the specific Display Name on manifest for each Client that use this metro style app I developed.

    However, just creating new item as link, it isn't possible to link the Entry point, that is App.cs do i have to maintain all those classes

    Could you please tell me how to copy metro style app project with same source to another app project?

    Thanks.

    Tuesday, September 17, 2013 5:27 PM

Answers

  • You can create your App.xaml as a link. To enable it as the Entry point set the App.xaml's Build Action as to "ApplicationDefinition" in its properties pane. This will be done automatically for the App.xaml generated for the initial project. If you delete that and recreated it (it doesn't matter if it is recreated as a direct file or as a link) then you will need to set that yourself.

    --Rob

    • Marked as answer by Samir Carneiro Wednesday, September 18, 2013 12:52 PM
    Tuesday, September 17, 2013 10:42 PM
    Moderator