affriedl
Posts: 24
|
Posted: 11/21/2006, 12:58 PM |
|
I have a very small .NET C# app contains a single page. (.NET 2.0)
I need to include 2 Assemblies in DLL form named MyApp.Core.dll and MyApp.Security.dll
The namespaces are as follows: MyApp.Core and MyApp.Security respectively.
When I want to use the assemblies on the page code itself I obviously need to include
uses MyApp.Core;
uses MyApp.Security;
The problem is that I do not know where to put the assemblies in the CCS project. Do I put them in the Assemblies property of the project? Where do I put them in the resulting website - does CCS do that when publishing?
Help!
|
|
|
rbaldwin
Posts: 172
|
Posted: 11/21/2006, 4:08 PM |
|
There's a spot in the Project settings to add references or assemblies
i don't have ccs available at the moment but you'll find it.
|
|
|
bj
|
Posted: 01/08/2007, 12:57 PM |
|
It is under the server/script tab in the project settings.
|
|
|
Sammy
|
Posted: 01/14/2007, 3:00 PM |
|
What do I put in the Assemblies setting? Just the name of the .dll? I tried that and I put the actual dll in the root of the web project.
I got the following error:
The type or namespace name 'TimeKeeper' could not be found (are you missing a using directive or an assembly reference?)
|
|
|
Stan
|
Posted: 01/16/2007, 4:48 AM |
|
It's must be fully qualified type name, for example
System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
The details can be founded here: http://msdn2.microsoft.com/en-us/library/yfsftwz6(VS.80).aspx
The dll itself should be placed in some of the accessible places: global assembly cache or 'bin' sub folder of web application.
Stan
|
|
|