So, maybe I've got it working now.
I just need to verify that it is actually working and then figure out exactly what made the trick.
Be right back with some more comments.
... Here it goes.
The short version is that I changed the Build Action of the Forum.cs file (in the App_Code/YAF folder)
from Build to ContentBut I now realize that my problem wasn't a "file not found" exception as described in a earlier post in this thread, so this trick might not help you.
Longer Version.
*Using Visual Studio 2008 v. 9.0.30729.1 SP, .Net Framework 3.5 SP1
*Downloaded YAF-v1.9.3-RC2-SRC. Opened up the yetanotherforum.net.vs2008.sln and converted it.
*Used the Recommended.NET3.5web.config.
*Changed all projects to build with the .NET 3.5 framework.
*Changed to Release mode and build solution.
(*Notes to myself: Copy all the dll:s (YAF.XXX.dll, Intelligencia.UrlRewriter.dll, CookComputing.XmlRpcV2.dll) to a "ThirdPartyComponents-" folder in my existing web app solution. I kind of like it organized that way.)
*copy all the contents of the YetAnotherForum.NET Web
SITE project to a sub-folder (in my case "yaf" ) within my existing Web
APPLICATION.
*Edit and organize the .config files (as described elsewhere in this forum).
*Move the App_Code folder to your root directory.
*Add references (for your Web Application) to all of the 7 YAF.XXX.dll, Intelligencia.UrlRewriter.dll, CookComputing.XmlRpcV2.dll (and if not allready exist also AjaxControlToolkit, System.Web.Extensions and System.Web.Extensions.Design)
*Right click your Web App and select "Convert To Web Application". (Note: The studio altered the folder name App_Code to Old_App_Code while converting. Rename back to App_Code).
*Alter the Build Action from
Compile to Content of the forum.cs file (probably all .cs files in App_Code)
*Build your solution and run your web application.
If you want the whole YAF source code in your solution you could probably add all the projects to your solution and then have your web app referencing the projects and not the dll:s as described above. In that case you probably also want YAF projects reference each other by project and not by dll (sorry about the poor choice of datalinguish here but)