|
 |
aspx thread: .NET Beta 2: Deploying assemblies
Message #1 by "R. Weiler" <weiler@r...> on Fri, 10 Aug 2001 07:34:01
|
|
Hi!
I don't know if it is my fault or a problem with the assembly, but to be
sure: In which directory do I have to put assemblies so that they are
available to all ASPX pages in my web? And do I have to import namespaces
or stuff like that when I want to use these assemblies?
Greets, Robert
Message #2 by "Thomas Tomiczek" <t.tomiczek@t...> on Fri, 10 Aug 2001 09:13:18 +0200
|
|
Inline... with ***
-----Original Message-----
From: R. Weiler [mailto:weiler@r...]
Sent: Freitag, 10. August 2001 09:34
To: ASP+
Subject: [aspx] .NET Beta 2: Deploying assemblies
Hi!
I don't know if it is my fault or a problem with the assembly, but to be
sure:
In which directory do I have to put assemblies so that they are
available to all ASPX pages in my web?
*** Into the /bin directory of the relevant IIS application (i.e., if
you declared a subfolder to be an application, then into the /bin
directory in this, otherwise into the /bin directory of the website - IF
the assemblies are language netural. You CAN have assemblies in other
locations, but these need to be named in the web.config file - I would
not do it.
And do I have to import namespaces
or stuff like that when I want to use these assemblies?
*** Sure. The Import statement is usefull for this. It is explained in
the manual. Certain standard namespaces (reads as: not yours) are
automatically imported.
*** Regards
*** Thomas Tomiczek
*** THONA Consulting Ltd.0
Message #3 by "Avnish Soni" <avnish.soni@p...> on Fri, 10 Aug 2001 12:43:55 +0530
|
|
HI
If you want to make assembly which is accessible in multiple aspx
application than u have to put it under global assembly( wwwroot/bin).
Avnish
-----Original Message-----
From: R. Weiler [mailto:weiler@r...]
Sent: Friday, August 10, 2001 7:34 AM
To: ASP+
Subject: [aspx] .NET Beta 2: Deploying assemblies
Hi!
I don't know if it is my fault or a problem with the assembly, but to be
sure: In which directory do I have to put assemblies so that they are
available to all ASPX pages in my web? And do I have to import namespaces
or stuff like that when I want to use these assemblies?
Greets, Robert
Message #4 by "R. Weiler" <weiler@r...> on Fri, 10 Aug 2001 08:34:08
|
|
> Inline... with ***
>
> -----Original Message-----
> From: R. Weiler [mailto:weiler@r...]
> Sent: Freitag, 10. August 2001 09:34
> To: ASP+
> Subject: [aspx] .NET Beta 2: Deploying assemblies
>
> Hi!
>
> I don't know if it is my fault or a problem with the assembly, but to be
>
> sure:
>
>
> In which directory do I have to put assemblies so that they are
> available to all ASPX pages in my web?
>
> *** Into the /bin directory of the relevant IIS application (i.e., if
> you declared a subfolder to be an application, then into the /bin
> directory in this, otherwise into the /bin directory of the website - IF
> the assemblies are language netural. You CAN have assemblies in other
> locations, but these need to be named in the web.config file - I would
> not do it.
>
>
> And do I have to import namespaces
> or stuff like that when I want to use these assemblies?
>
> *** Sure. The Import statement is usefull for this. It is explained in
> the manual. Certain standard namespaces (reads as: not yours) are
> automatically imported.
>
> *** Regards
> *** Thomas Tomiczek
> *** THONA Consulting Ltd.0
>
Hmm... The assembly is in the global /bin directory, and the namespace is
imported via using (we are working with code-behind). But it does not
work, the compiler says "CS0246: The type or namespace name 'combit' could
not be found (are you missing a using directive or an assembly
reference?)" - any idea?
BTW: The assembly I am talking about is the List & Label assembly shipping
with List & Label 8 - if anyone knows it ;-)
Message #5 by "Wim Verdeyen" <Wim.Verdeyen@e...> on Fri, 10 Aug 2001 09:35:00 +0200
|
|
You have to put the assemblies in the \bin directory of your web
project.
Theoretically you don't have to import the namespaces but it is more
practically that you do.
Wim
-----Original Message-----
From: R. Weiler [mailto:weiler@r...]
Sent: vrijdag 10 augustus 2001 9:34
To: ASP+
Subject: [aspx] .NET Beta 2: Deploying assemblies
Hi!
I don't know if it is my fault or a problem with the assembly, but to be
sure: In which directory do I have to put assemblies so that they are
available to all ASPX pages in my web? And do I have to import
namespaces
or stuff like that when I want to use these assemblies?
Greets, Robert
Message #6 by "R. Weiler" <weiler@r...> on Fri, 10 Aug 2001 09:20:14
|
|
> You have to put the assemblies in the \bin directory of your web
> project.
> Theoretically you don't have to import the namespaces but it is more
> practically that you do.
>
> Wim
>
> -----Original Message-----
> From: R. Weiler [mailto:weiler@r...]
> Sent: vrijdag 10 augustus 2001 9:34
> To: ASP+
> Subject: [aspx] .NET Beta 2: Deploying assemblies
>
>
> Hi!
>
> I don't know if it is my fault or a problem with the assembly, but to be
>
> sure: In which directory do I have to put assemblies so that they are
> available to all ASPX pages in my web? And do I have to import
> namespaces
> or stuff like that when I want to use these assemblies?
>
> Greets, Robert
>
Finally it works... Someone told me that the assembly I was trying to use
only works on a beta 1 server - and that's true. I think I just have to
wait for a beta 2 compliant assembly now...
|
|
 |