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
Scott Roberts - 12 Dec 2007 23:15 GMT
> 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
[quoted text clipped - 6 lines]
>
> 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.
Michael Nemtsev - 13 Dec 2007 01:09 GMT
In this case WebProject solution is used, instead of WebSite

Signature
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour
> 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
[quoted text clipped - 6 lines]
>
> Sam
skneife@gmail.com - 13 Dec 2007 17:57 GMT
> In this case WebProject solution is used, instead of WebSite
Thank you.
Sam