build as windows app

jassie

Well-known member
Joined
Nov 13, 2012
Messages
61
Programming Experience
1-3
A few C# 2008 and C# 2010 the applications were written as console applications. However now I want the programs to compile as windows applications instead. The problem is when I checkout the code from version control software, the default compile option for these programs is as a console application.
Thus is there a way in visual studio 2008 and/or visual studio 2010 to set the default compile option for these programs to be windows applications? If so, can you tell me how to accomplish this goal?
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
3,209
Location
Sydney, Australia
Programming Experience
10+
There's quite a bit of infrastructure that goes along with a Windows app. While modifying your existing project would be possible, I would suggest that it would be easier and cleaner to simply create a new project and then copy Solution Explorer items or code blocks from one to the other as required.
 
Top Bottom