Default project not launching when application installed

Posted on 2011-10-25
Last Modified: 2013-12-16
I have two projects, P1 and P2 in a Visual Studio 2010 solution.  I have set P2 to be the default project and it launches properly when I het F5 in VS.  I then created an installation project which seems to work fine.  However, when I run the program installed with the installation project, it launches P1 instead of P2.  What am I doing wrong?
Question by:dparden
    LVL 43

    Accepted Solution

    >> However, when I run the program installed with the installation project, it launches P1 instead of P2.

    That sounds like the shortcut (icon / menu) is linked to P1.exe instead of P2.exe which is what (I think) you want.

    Author Closing Comment

    Thanks for your help....with the direction you provided, I realized the installation project didn't even have the P2 project in it,  much less the Icon pointing to the correct exe.   Thanks!!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from ( Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now