0

Possible Duplicate:
determine project type in visual studio

Is there a way to determine what "template" was used originally to create a visual studio solution?

To put it another way, I have a solution, and I'd like to find out what template was chosen when the solution was first created (ie. web application, asp.net mvc 2 web application, empty project, etc).

Community
  • 1
  • 1
Robert S Ciaccio
  • 2,675
  • 1
  • 19
  • 21
  • Is this a programming question? – Mrchief Aug 05 '11 at 17:27
  • @Mrchief: is there a Visual Studio UI stackexchange site? If so, I'll gladly ask it there instead. – Robert S Ciaccio Aug 05 '11 at 17:31
  • @Mrchief: also, is this a programming question? http://stackoverflow.com/questions/5665979/visual-studio-remove-unused-files – Robert S Ciaccio Aug 05 '11 at 17:34
  • Yes, its asking for code there (macro). And that is what I meant in my comment. – Mrchief Aug 05 '11 at 17:42
  • TBH, I have no idea whether a programming solution exists or if there's just a place I can navigate to in the UI that will display this. Either one would be acceptable as long as it solves the basic question. – Robert S Ciaccio Aug 05 '11 at 17:45
  • I'm not sure what solution you're looking for. How does a template matter? Sounds like you're trying to learn about a project that you're handed over. If that's the case, then you need to analyze the file structure (all those template do have dissimilar structures) to start with. – Mrchief Aug 05 '11 at 17:51
  • @Mrchief: That's kind of what I'm doing... For asp.net there are many different starting templates. I don't really get what the difference is between them all, and whether they have short term or long-term effects on the solution itself. Like if a solution was created using one template vs another, might the project properties window have completely different settings available? Or would it just set configuration properties to different values (meaning you can later change those values and end up with a solution that is configured identically to another starting template). – Robert S Ciaccio Aug 05 '11 at 17:57
  • You can achieve the same end result anyway. The _means_ will differ. You're right about project properties windows being different. However, they do not control your application's configuration, `web.config` does. Here are some articles that you may refer to which will help you make a guided decision: http://vishaljoshi.blogspot.com/2009/08/web-application-project-vs-web-site.html and http://codebetter.com/karlseguin/2010/03/11/webforms-vs-mvc-again/ – Mrchief Aug 05 '11 at 18:40

0 Answers0