Solved

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

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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 video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

615 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