Creating a Blank C# project from command line

  • Thread starter Thread starter Narasimham
  • Start date Start date
N

Narasimham

Hi,

I would like to know if there is any method of being able to create a
blank/barebones C# project from a command line. I have tried using
devenv, but I dont think that helps. It would be most useful to me if i
can also specify the type of the project that I am trying to create.

Narasimham
 
Maybe you could create a new blank project within Visual Studio, then
save the files that are created somewhere else a skeleton project.
Then write a small console application that takes a path parameter,
then copies the project template to that path.
 
Hi

Thanks for the suggestion. But I fugured a way to do it.

You can use

devenv /command np and then choose the type and name for your project.

Narasimham
 
Back
Top