PC Review


Reply
Thread Tools Rate Thread

Declaring an ASP.NET assembly a friend

 
 
dwelzel
Guest
Posts: n/a
 
      26th Jan 2007
I'd like to declare the assembly containing my asp.net application to
be a friend of another assembly. In particular, I'm having trouble
figuring out how to pull this off in VS 2005. It looks like I can opt
to use fixed names for the assembly, but I'd like to hand specify the
name of the generated assembly. Does anyone know if this is possible?

Thanks!

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      27th Jan 2007
Use the Web Application Project model, not the Web Site Project model.
You'll get a single assembly for your entire ASP.NET web application, which
you control the name of, and it will reside in the /bin folder. That's
friendly!
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net




"dwelzel" wrote:

> I'd like to declare the assembly containing my asp.net application to
> be a friend of another assembly. In particular, I'm having trouble
> figuring out how to pull this off in VS 2005. It looks like I can opt
> to use fixed names for the assembly, but I'd like to hand specify the
> name of the generated assembly. Does anyone know if this is possible?
>
> Thanks!
>
>

 
Reply With Quote
 
dwelzel
Guest
Posts: n/a
 
      28th Jan 2007
Interesting, I see how this would do the trick. I realized I wasn't
specific enough when I said "asp.net application", I meant to say
asp.net web service. Will this solution still do the trick in the
case of a web service?

On Jan 26, 5:44 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yabbadabbadoo.com> wrote:
> Use the Web Application Project model, not the Web Site Project model.
> You'll get a single assembly for your entire ASP.NET web application, which
> you control the name of, and it will reside in the /bin folder. That's
> friendly!
> Peter
>
> --
> Site: http://www.eggheadcafe.com
> UnBlog: http://petesbloggerama.blogspot.com
> Short urls & more: http://ittyurl.net
>
>
>
> "dwelzel" wrote:
> > I'd like to declare the assembly containing my asp.net application to
> > be afriendof another assembly. In particular, I'm having trouble
> > figuring out how to pull this off in VS 2005. It looks like I can opt
> > to use fixed names for the assembly, but I'd like to hand specify the
> > name of the generated assembly. Does anyone know if this is possible?

>
> > Thanks!- Hide quoted text -- Show quoted text -


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while creating friend assembly. archana Microsoft C# .NET 0 20th Jun 2007 03:29 PM
Problem declaring "Public Property" and "Friend Shared" jbeteta@gmail.com Microsoft ASP .NET 3 8th Aug 2006 02:39 PM
Purchased XP from a friend friend =?Utf-8?B?SXJubnk=?= Windows XP General 4 25th May 2006 02:08 PM
Friend brings a friend. Shisha Girl Freeware 2 3rd Mar 2006 07:10 AM
Access parent form (protected friend/friend) variable in child form Chad Microsoft VB .NET 1 14th Apr 2005 12:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:34 PM.