Solved

How to "Automate Project Creation" in Visual Studio 2003 ???

Posted on 2006-06-08
3
256 Views
Last Modified: 2013-11-20
Hi All,
  I need to create many projects at a time (  say simple MFC dialog application ). So I would like to know, If there any commands to create project in Visual Studio, so that I can write them in a script, provided with neccessary parameters and automate project creation.

Thanks for your earliest attention.

Regards,

Manjesh Gowda

0
Comment
Question by:Manjesh
3 Comments
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 50 total points
ID: 16867756
What you'll want to do is create a VC++ add-in that uses the DevStudio automation model to create new projects and manipulate them.  if you lookup 'IBuildProject' in the MSDN Library and then click 'Locate' to take you to that topic in the TOC, you'll see all the available objects and their methods and properties.
Use the 'DevStudio Add-in Wizard' to create your add-in.  The site http://www.codeproject.com/macro/ has several good examples that can give an idea of what you can do in an add-in.
ALso note that projects and workspaces are just text files man, just generate one thats in the format you want and use it as a template.

-MAHESH
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 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

15 Experts available now in Live!

Get 1:1 Help Now