Solved

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

Posted on 2006-06-08
3
254 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

759 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

18 Experts available now in Live!

Get 1:1 Help Now