YAFLogo

delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
14 years ago
Hi, I'm trying to integrate the forum to my site, I'm already using asp.net membership.

I add a new web application, project, config everything, then add a class library project and put there the app_code folder. I create a new web app because I tried to add it as a subdirectory with no luck (I received and error that a dll was in two places).

I set the assemblies in the web.config in the referencing to the class library.

Everything seems to be fine but I receive this error (4 times):

Error 3 The type or namespace name 'Editor' does not exist in the namespace 'YAF' (are you missing an assembly reference?) C:\mysite\forum\controls\EditUsersSignature.ascx.cs 35 17 forum


Where is YAF.Editor? I can't find it.

Many thanks!
Sponsor

delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
14 years ago
Maybe it helps anybody: I add a reference of the class library to the Web Application and now it compiles.
tlapse
  • tlapse
  • 53.6% (Neutral)
  • YAF Forumling
14 years ago
Can you be more specific? What reference did you add?
delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
14 years ago
tlapse wrote:

Can you be more specific? What reference did you add?



Yes, I create a class library (add class library) and inside of it I put the app_code folder.

Then I reference that class library I added in the web project that holds the forum.

Hope it helps.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button