YAFLogo

piero_goku
  • piero_goku
  • 50.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
When i compile YAF i have this error.

I don't know why...i'm on visual studio 2010.

With the YAF.dll of the binary package it's all ok...

Errore 25 Il tipo 'YAF.Types.Interfaces.IHaveServiceLocator' รจ definito in un assembly di cui manca il riferimento. Aggiungere un riferimento all'assembly 'YAF.Types, Version=1.9.6.0, Culture=neutral, PublicKeyToken=8b49dc47f4701f66'.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
12 years ago
Did you compile the whole solution or only the yaf project?

You need to compile all projects in the solution.

piero_goku
  • piero_goku
  • 50.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
Hi!

I have opened the source soluion of YAF and the first time the launch project was a not YAF, but YAF.Classe.Config.

I set the launch project on YAF for debug and i have modded the source.

After i have compiled the project and i have put in the my site web "bin" directory, the YAF.dll and i have replaced the *.ascx files on pages directory, but in the default.aspx page in the forum directory there is an error of reference.

I have referenced all assemblies!!!

The my web project is created with the binary zip package downloaded from this site.

With the binary files and the YAF in the Forum directory all works well.

If i put the new YAF.dll there is an error: or the reference on YAF.Types or if i put the YAF types code in my project in the solution, in the default page of forum.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
12 years ago

After i have compiled the project and i have put in the my site web "bin" directory, the YAF.dll and i have replaced the *.ascx files on pages directory, but in the default.aspx page in the forum directory there is an error of reference.

You need to copy all YAF.**.dll to the bin folder not only the YAF.dll, then it should work.

piero_goku
  • piero_goku
  • 50.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
Thanks a lot.

I have recompiled all and i have copied not only the YAF.*.dll files, but alla files in the bin directory and now work. If i have any mistakes i reply on this topic