Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Registering a virtual directory with a web application.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
andybobbydaniels@hotmail.com - 01 Feb 2008 12:01 GMT
I have got an ASP.Net 3.5 web application running on IIS containing a
virtual directory. The virtual directory is a shared controls library.
What I was wondering is there any way of registering the virtual
directory in Visual Studio 2008 so that the IDE doesn't complain about
not being able to find any of the registered controls in a web form.

Many thanks

Andrew
Kevin Spencer - 01 Feb 2008 12:31 GMT
You can register the class library in the GAC.

Signature

HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

>I have got an ASP.Net 3.5 web application running on IIS containing a
> virtual directory. The virtual directory is a shared controls library.
[quoted text clipped - 5 lines]
>
> Andrew
andybobbydaniels@hotmail.com - 01 Feb 2008 13:29 GMT
> You can register the class library in the GAC.
>
[quoted text clipped - 18 lines]
>
> > Andrew

Referencing the assembly isn't the problem. When I say control library
I meant user controls. To give you a bit of context I've got a series
of registration and account management forms which are used on a few
different sites. These sit in the library, the library is referenced
in the web application and is a virtual directory in IIS so the GUI
can be displayed.
Kevin Spencer - 04 Feb 2008 11:46 GMT
I understand now, Andrew. You can compile UserControls into an assembly
which can be shared among various projects. This is done using the ASP.Net
compilation tool (Aspnet_compiler.exe). See:

http://msdn2.microsoft.com/en-us/library/ms229863.aspx

Signature

HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

>> You can register the class library in the GAC.
>>
[quoted text clipped - 25 lines]
> in the web application and is a virtual directory in IIS so the GUI
> can be displayed.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.