1

Following on from this question...

"how do you tell the visual studio project type from an existing visual studio project"

How do i add project guids into my csproj file to enable me to add other types of form/controls.

For instance I create a class project solution and want to be able to add web forms and web user controls to the project.

I attended a talk where the presenter showed this was possible but he didn't supply any further information.

Community
  • 1
  • 1
Rob
  • 1,688
  • 4
  • 30
  • 43

2 Answers2

1

Close the project, open the project file in a text or XML editor, and add the guids manually.

(Keep an original copy, it make take a few attempts to get right.)

Richard
  • 106,783
  • 21
  • 203
  • 265
  • I'm trying that by adding this line... {ABF1B333-B149-4DBF-B1D7-B66438F14AD9};{349C5851-65DF-11DA-9384-00065B846F21};{E24C65DC-7377-472B-9ABA-BC803B73C61A} which should give me the class, web app and web site. However i still don't have any additional forms. – Rob Apr 16 '09 at 16:51
1

It's quite easy. Just edit the web project. Add the necessary guids as shown in my post, How to Hack a Class Library Project into a Web Application Project.

Corey Roth
  • 1,095
  • 2
  • 8
  • 11