Solved

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

Posted on 2006-06-08
3
265 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
conditional code and condition difference 9 84
isEverywhere  challenge 19 85
FizzBuzz challenge 9 85
wordmultiple challenge 12 156
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.

756 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