By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,864 Members | 1,254 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,864 IT Pros & Developers. It's quick & easy.

create a project from code

P: n/a
Hi all

Is it possible to create an ASP.NET project from code?

Thanks in advance

Vaclav
Nov 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Visual Studio .Net does it all the time. What exactly are you asking?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
Hi all

Is it possible to create an ASP.NET project from code?

Thanks in advance

Vaclav

Nov 17 '05 #2

P: n/a
I need to create a VS project from code, not manualy.
"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> píše v diskusním příspěvku
news:uK**************@TK2MSFTNGP10.phx.gbl...
Visual Studio .Net does it all the time. What exactly are you asking?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
Hi all

Is it possible to create an ASP.NET project from code?

Thanks in advance

Vaclav


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
Nov 17 '05 #3

P: n/a
Do you mean that you want to create all of the project files, solution
files, etc. from an application?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Václav Jedlička" <vj*******@iol.cz> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
I need to create a VS project from code, not manualy.
"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> píše v diskusním příspěvku news:uK**************@TK2MSFTNGP10.phx.gbl...
Visual Studio .Net does it all the time. What exactly are you asking?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
Hi all

Is it possible to create an ASP.NET project from code?

Thanks in advance

Vaclav


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003

Nov 17 '05 #4

P: n/a
Exactly.

Why I need it?
I am developing an application generator which generates ASP.NET projects.
So far it generates the ASPX and CS files, but I also need to create the VS
projects which would contain them. The user would specify only the project
name and the code would create a VS project, and the virtual folder in IIS.
Then it would add the ASPX and CS files to the project.
Something like automation in the days of COM, but I would like to do it from
..NET code (I use c#).

Thanks
Vaclav
"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Do you mean that you want to create all of the project files, solution
files, etc. from an application?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Václav Jedlička" <vj*******@iol.cz> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
I need to create a VS project from code, not manualy.
"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> píse v diskusním

příspěvku
news:uK**************@TK2MSFTNGP10.phx.gbl...
Visual Studio .Net does it all the time. What exactly are you asking?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
> Hi all
>
> Is it possible to create an ASP.NET project from code?
>
> Thanks in advance
>
> Vaclav
>
>

---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003


Nov 17 '05 #5

P: n/a
I believe most if not all of what you're looking for is in the Microsoft.Vsa
NameSpace. Unfortunately, this Namespace is almost completely undocumented
at this time. I did, however, find a listing of some articles on the MSDN
site that may be helpful to you:

http://msdn.microsoft.com/netframewo...s/default.aspx

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Exactly.

Why I need it?
I am developing an application generator which generates ASP.NET projects.
So far it generates the ASPX and CS files, but I also need to create the VS projects which would contain them. The user would specify only the project
name and the code would create a VS project, and the virtual folder in IIS. Then it would add the ASPX and CS files to the project.
Something like automation in the days of COM, but I would like to do it from .NET code (I use c#).

Thanks
Vaclav
"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Do you mean that you want to create all of the project files, solution
files, etc. from an application?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Václav Jedlička" <vj*******@iol.cz> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
I need to create a VS project from code, not manualy.
"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> píse v diskusním

příspěvku
news:uK**************@TK2MSFTNGP10.phx.gbl...
> Visual Studio .Net does it all the time. What exactly are you asking? >
> HTH,
>
> Kevin Spencer
> Microsoft FrontPage MVP
> Internet Developer
> http://www.takempis.com
> Some things just happen.
> Everything else occurs.
>
> "Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
> news:OC**************@TK2MSFTNGP12.phx.gbl...
> > Hi all
> >
> > Is it possible to create an ASP.NET project from code?
> >
> > Thanks in advance
> >
> > Vaclav
> >
> >
>
>
---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003



Nov 17 '05 #6

P: n/a
Thank you

That namespace is really undocumented and I do not know how to use it, so I
think I will have to create all the project files (.sln, .suo, .csproj,
..csproj.webinfo) from code.

Vaclav

"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> wrote in message
news:u$**************@TK2MSFTNGP10.phx.gbl...
I believe most if not all of what you're looking for is in the Microsoft.Vsa NameSpace. Unfortunately, this Namespace is almost completely undocumented
at this time. I did, however, find a listing of some articles on the MSDN
site that may be helpful to you:

http://msdn.microsoft.com/netframewo...s/default.aspx

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Exactly.

Why I need it?
I am developing an application generator which generates ASP.NET projects.
So far it generates the ASPX and CS files, but I also need to create the

VS
projects which would contain them. The user would specify only the project name and the code would create a VS project, and the virtual folder in

IIS.
Then it would add the ASPX and CS files to the project.
Something like automation in the days of COM, but I would like to do it

from
.NET code (I use c#).

Thanks
Vaclav
"Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Do you mean that you want to create all of the project files, solution
files, etc. from an application?

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Václav Jedlička" <vj*******@iol.cz> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
> I need to create a VS project from code, not manualy.
>
>
> "Kevin Spencer" <ke***@SPAMMERSSUCKtakempis.com> píse v diskusním
příspěvku
> news:uK**************@TK2MSFTNGP10.phx.gbl...
> > Visual Studio .Net does it all the time. What exactly are you

asking? > >
> > HTH,
> >
> > Kevin Spencer
> > Microsoft FrontPage MVP
> > Internet Developer
> > http://www.takempis.com
> > Some things just happen.
> > Everything else occurs.
> >
> > "Vaclav Jedlicka" <vj*******@iol.cz> wrote in message
> > news:OC**************@TK2MSFTNGP12.phx.gbl...
> > > Hi all
> > >
> > > Is it possible to create an ASP.NET project from code?
> > >
> > > Thanks in advance
> > >
> > > Vaclav
> > >
> > >
> >
> >
>
>
> ---
> Odchozí zpráva neobsahuje viry.
> Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
> Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
>
>



Nov 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.