Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding custom classes to the existing project
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316412
Message ID:
01316465
Views:
27
>>
>>Which directory should I add .cs files in order to be able to use them in the project? In App_Code ?
>>
>
>If you are using a "Web Application"-style project, it doesn't really matter. Pick a place where it makes the most sense to you. A webapp project compiles your DLL's using normal filenames (eg. they're usually the project name assuming you didn't override this). If it's a website project, yeah, drop the class in App_Code.

I'm not sure which type it is. Anyway, I dropped them in App_Code, I'm having this problem now

Error 230 The type 'skmControls2.GridView' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\fcadmin\868c8591\eb7bc28a\App_Code.vaynekdi.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\fcadmin\868c8591\eb7bc28a\assembly\dl3\baf91415\a651e021_52b4c801\skmControls2.DLL' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\fcadmin\868c8591\eb7bc28a\App_Web_jf83khew.6.cs 2508

I don't understand where this App_Code.vaynekdi.dll comes from and can I somehow get rid of it? The name of the library should be skmControls2.DLL.

May be I should change the Namespace in the original project to something different ?

Thanks again for your help.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform