Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-06-08
3
Medium Priority
?
280 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 200 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
In this post we will learn different types of Android Layout and some basics of an Android App.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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.
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

971 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