Re: Namespace Question
From: Tiraman (tiraman_at_netvision.net.il)
Date: 04/08/04
- Next message: Umang Shah: "Description for functions in Intellisense"
- Previous message: Steven Cheng[MSFT]: "RE: HOW TO: Get from the aspx context the current authenticate username ?"
- In reply to: Peter Huang: "Re: Namespace Question"
- Next in thread: Peter Huang: "Re: Namespace Question"
- Reply: Peter Huang: "Re: Namespace Question"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Apr 2004 09:59:20 +0200
Hi Peter ,
My Comments Are In Line :-)
10x for your help !
""Peter Huang"" <v-phuang@online.microsoft.com> wrote in message
news:n6w7gFRHEHA.616@cpmsftngxa06.phx.gbl...
> Hi Tiraman,
>
> Comments in line.
>
> Best regards,
>
> Peter Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> --------------------
> >Reply-To: "Tiraman" <tiraman@netvision.net.il>
> >From: "Tiraman" <tiraman@netvision.net.il>
> >References: <#HIG6VAHEHA.1528@TK2MSFTNGP09.phx.gbl>
> <QFvtqVGHEHA.3244@cpmsftngxa06.phx.gbl>
> >Subject: Re: Namespace Question
> >Date: Wed, 7 Apr 2004 19:55:58 +0200
> >Lines: 117
> >Organization: NetVision - Nana
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
> >Message-ID: <Om51DGMHEHA.712@tk2msftngp13.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.languages.vb
> >NNTP-Posting-Host: nv-46-90-90-194.netvision.net.il 194.90.90.46
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:193876
> >X-Tomcat-NG: microsoft.public.dotnet.languages.vb
> >
> >Hi Peter ,
> >
> >i read the articles that u sent me and they were good :-)
> >
> >Now that i know that the ASP.NET check in 3 places i can choose where to
> put
> >my dll's which is good .
> >
> >For the copylocal property ,
> >i saw that when i changed it to true my dll was copied to the bin folder
> but
> >the question is what if i m changing the original Dll
> >does it will copy the new version again ?
> >
> >let me answer that :-) i did a little change in the dll and nothing
happen
> >and only after i set the copylocal property to false and than to true
> >the new change was done .
> >do u know if there is a way to use the copylocal property without coping
> the
> >dll to the bin folder each time ?
> >do you recommend to use this property ?
>
> Yes, based on my test if you change the original Dll and set the CopyLocal
> property to true,when you build the application, the file will be copied
to
> the bin folder automatically. We do not need to set it to false and to
true
> afterwards. This feature will help us to get the uptodate dll version. If
> you do not need the feature, I think you may just set the copylocal to
> false.
>
gr8 , this is working , i missed the part of rebuild the application :-)
>
> >
> >For the Reference Path Issue ,
> >in the article that you sent me
>
>(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cscon/htm
> l
> >/vcurfcbuildpropertypage.asp)
> >they wrote that
> >When the project system finds an assembly reference, it will try to
resolve
> >the reference by looking in the following locations, in the following
order
> >1. project directory
> >2. Look for assemblies in directories specified with the Reference Path
> >property
> >
> >and so on ...
> >but some how it didn't work for me even when i added the path for my dlls
> >(C:\MyDlls\) , how come ?
> >
> As the MSDN said,
> If you are working locally, you never have to edit this property because
it
> is automatically updated when references are added to the project in
> Solution Explorer. However, if you are sharing the project in a multi-user
> scenario, task list errors may be generated if the location of the
> references changes from one computer to another. You can edit this
property
> to fix these errors.
>
> You may find that the property will be maintained by VS.NET IDE, when you
> add a reference to the project, its path will be added into the reference
> path properties automatically even if you delete it explicitly.
>
i will check that , 10x .
>
>
> >if i understand you right you preferred to use the GAC ?
> >
> > tried to use the GAC but the process to convert dll to be strong name
bcz
> >the GAC require is very long but in the end i success with the long
process
> >but
> >when i moved the dll out of the project directory and then i drag the dll
> in
> >to the C:\WINDOWS\assembly folder
> >and i tried to use the dll i got the not defined error :-(
> >
> >any ideas ?
> >
>
> The behavior is somewhat strange, I think you may try to de-reference the
> assembly and reference the assembly again in GAC, after that please check
> the path of the assembly by right click on the referenced dll under the
> reference tree in the solution explorer and select properties. And check
> the Path to see if it is pointed to the GAC.
>
> Here is an KB, you may have a try to see if this help you.
> 315682 How To: Install an Assembly in the Global Assembly Cache in Visual
> Basic
> http://support.microsoft.com/?id=315682
>
well the behavior is very strange :-(
i did what you asked (de-referene) but it didn't help .
i went over the KB and i did exactly the same but it still doesn't work
.
but i notice that you wrote that when i m referencing the dll the path
property should point to the GAC
and in my project it is not pointed to the GAC , only to the dll source
itself .
so maybe this is my problem , how can i reference it to the GAC ?
(i tried from the reference window but i couldn't add it since it is not
a dll )
10x
>
>
> >once again ,
> >
> >10x :-)
> >
> >
>
- Next message: Umang Shah: "Description for functions in Intellisense"
- Previous message: Steven Cheng[MSFT]: "RE: HOW TO: Get from the aspx context the current authenticate username ?"
- In reply to: Peter Huang: "Re: Namespace Question"
- Next in thread: Peter Huang: "Re: Namespace Question"
- Reply: Peter Huang: "Re: Namespace Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|