What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 17420 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > Exclusive Interview Questions > Exclusive C# Interview Questions > C# and .NET interview questions - How to ...

C# and .NET interview questions - How to create setup and deployment project for window application?

Category: C# | Difficulty Level: Beginners | Views:2512



Answer:

This is a typical .Net interview question which is asked to understand if you know how to create deployment packages. When you are done with your application you would like to give your end user a setup package rather than the source code.

The short answer which the interviewer is expecting is that we can use the Visual studio deployment package project. Now the long answer just in case the interviewer gets in to details. So lets understand step by step of how to create a deployment package.

Following are the simple steps for creating setup and deployment for window application:

Step 1: Go to file and click add new project > select other project type > setup and deployment >visual studio installer then select the setup project, below are the sample diagrams which you need to follow.

s1.png

s2.png

The default File System editor will appear in the window as shown in the below diagram.

s3.png

Step 2:Select Application Folder and right click Add>Project Output>select Primary output.

s4.png

s5.png

Step 3: If you want to shortcut on desktop then Select User’s Desktop right click on the second window>click create new shortcut>select output file from Application folder>change the file name from primary output which you want.

s6.png

If you want to shortcut on program menu  then Select User’s Programs Menu right click on the second window>click create new shortcut>select output file from Application folder>change the file name from primary output which you want.

If you want to change the Manufactures name and other properties just right click the project goes to properties.

s7.png

Step 4: Finally Build the Setup1 project.

s8.png

Exe or installer will be available on the physical path of the project.

s9.png

In the following video, view samples of various questions asked in C# and .NET interview.


Get Questpond's 500+ .NET Interview preparation videos at discounted price

Found interesting? Add this to:


Page copy protected against web site content infringement by Copyscape
>> Write Response - Respond to this post and get points

More ...

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 7:40:13 PM