Default project not launching when application installed

Posted on 2011-10-25
Medium Priority
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 45

Accepted Solution

AndyAinscow earned 2000 total points
ID: 37023666
>> 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

ID: 37023854
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!!!

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

807 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