Manage a project's structure from c#

  • Thread starter Osvaldo Bisignano
  • Start date
O

Osvaldo Bisignano

Hi guys, I wonder if there's any namespace or class within the framework
that allows me to create a new c# project by code, manage its references,
and build it from another C# application. I'm not talking about CodeDom,
I've already done that part. I just want to be able to manage project
metadata. Thanks.

PS: I know devenv.exe has command line arguments to build a project, is
there any way of doing this from C# code?
 
I

Ignacio Machin \( .NET/ C# MVP \)

hi,

A project file ( .csproj ) is a xml file, no idea where you can get the ddt
of it. You could start by taking a look at an existen project and try to
find its structure from it.

the solution file is a completely different thing, it depends of the VS
version and I'm pretty sure it's not public.

maybe the definition of the project file is somewhere in the VS.NET install
structure, it would be a good start point for search.

cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top