MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Make a Reference from a project to a website in the same sol

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ASPNet
Author Message
skneife



Joined: 02 Dec 2007
Posts: 3

PostPosted: Wed Dec 12, 2007 7:47 pm    Post subject: Make a Reference from a project to a website in the same sol Reply with quote

it seems that it is not possible to make a project Reference from a
project class library to a website in the same solution, because the
website doesn't contains any assembly (dll).
So, if in the same solution I have a project of type class librairy
and I want to make a reference to a website that contains any classes
that I need to use, the add reference menu doesn't reference any
project for the website.
Does anyone have a solution ?

Sam

Archived from group: microsoft>public>dotnet>framework>aspnet
Back to top
View user's profile Send private message
Scott Roberts



Joined: 15 Nov 2007
Posts: 23

PostPosted: Wed Dec 12, 2007 10:15 pm    Post subject: Re: Make a Reference from a project to a website in the same Reply with quote

> it seems that it is not possible to make a project Reference from a
> project class library to a website in the same solution, because the
> website doesn't contains any assembly (dll).
> So, if in the same solution I have a project of type class librairy
> and I want to make a reference to a website that contains any classes
> that I need to use, the add reference menu doesn't reference any
> project for the website.
> Does anyone have a solution ?
>
> Sam

Take the classes that are currently in your web site and put them into a
separate class library (MyWebClasses.dll). Then have your web site reference
that class library.

Now you can have your existing class library reference MyWebClasses.dll.
Back to top
View user's profile Send private message
Michael Nemtsev



Joined: 08 Aug 2007
Posts: 47

PostPosted: Wed Dec 12, 2007 10:09 pm    Post subject: RE: Make a Reference from a project to a website in the same Reply with quote

In this case WebProject solution is used, instead of WebSite

--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour



"skneife@gmail.com" wrote:

> it seems that it is not possible to make a project Reference from a
> project class library to a website in the same solution, because the
> website doesn't contains any assembly (dll).
> So, if in the same solution I have a project of type class librairy
> and I want to make a reference to a website that contains any classes
> that I need to use, the add reference menu doesn't reference any
> project for the website.
> Does anyone have a solution ?
>
> Sam
>
Back to top
View user's profile Send private message
skneife



Joined: 02 Dec 2007
Posts: 3

PostPosted: Thu Dec 13, 2007 2:57 pm    Post subject: Re: Make a Reference from a project to a website in the same Reply with quote

On 13 déc, 02:09, Michael Nemtsev wrote:
> In this case WebProject solution is used, instead of WebSite

Thank you.

Sam

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Please help me make this interface work in v2005. I found this on the net. If this works i'm sure i can manage the rest of it. ' ' // ' // IShellFolder ' // '

Website MS Access database Gentlemen, I'm trying VB.Net 2005 Beta2. I have an Access database in my website I need to connect my application to it, in order to work with its data. When I try to add the URL I get this msg: "The HTML document does not contain Web servi

How to record audio from ASP.NET website? Hello Group, I want to record audio file using Webpage, I am using ASP.NET (1.1 Framerwork) to develop website. If anyone knows about this, then please let me know, Thanks in Advance, Vihar Patel

Problems uploading Website using ASP.NET 2.0 HI - I have built a simple website using Visual Web Developer Express 2005. I then installed ASP.NET 2.0 The problem is that my host privalleges only allow scipt that is configured for DotNet 1.1. Is it the case that the script I have created (my web.con

Not putting Crystal Report website under WWWRoot Hi, I followed the process of deploying the crystal report.net given everywhere on the web. One link is here. For this I created the
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ASPNet All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group