YAFLogo

delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
15 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
15 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
15 years ago
Can you be more specific? What reference did you add?
delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
15 years ago

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

tlapse wrote:

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.