Welcome Guest Search | Active Topics | Members | Log In | Register

2 Pages<12
Help with Compiling under Web Application Project
DrKefir Offline
#16 Posted : Saturday, April 11, 2009 10:29:41 PM(UTC)

Rank: YAF Forumling

Joined: 12/6/2007(UTC)
Posts: 5
Location: Göteborg

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
F.B. ten Kate wrote:
Is there any update on this? I'd really like to get this integrated in a Webapplication.

I've got it running within an existing web application. See my notes in a previous post in this thread.
AndyLL Offline
#17 Posted : Sunday, April 12, 2009 1:00:31 AM(UTC)
Rank: Member

Joined: 4/12/2009(UTC)
Posts: 15
Location: Castle Rock, CO

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
F.B. ten Kate wrote:
Is there any update on this? I'd really like to get this integrated in a Webapplication. I've got it running just fine in a Website, but beeing a bit of a geek i'd like to get some tests written aswell. Sadly i can't reference to a Website like you can to a web application so yeah.

It's either integrate this or forget about my cute little idea of actually writing some unit tests for a change.


I was able to do it without too much trouble. (after several restarts)

1)rename the recommended-NETv3.5-web.config from the webconfigs directory to web.config in the YetAnotherForum.net directory

2) open the 2008 solution.

3) create a web application project off the main solution called YAF

4) Highlight everything in the YetAnotherForum.net, right mouse click - copy, and paste it into the YAF project

5) In the YAF project right click the references and choose add reference. From the projects tab choose all. From the browse tab browse to YAF/bin and choose the ajaxcontroltoolkit and Cookcomputer... dlls

6) Right click the YAF project and choose 'Convert To Web Application'

7) You need to convert all the other project to write to the YAF/bin directory. I did it by loading all the *.cprojs to a text editor and gobal replacing YetAnotherForum.net with YAF

8 ) Under the <controls> tag in the web.config add: <add tagPrefix="YAF" namespace="YAF" assembly="YAF"/>

9) Delete the YetAnotherForum.net project

10) clean and compile everything.

I think that is all the steps I had to take.
Users browsing this topic
Guest
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.172 seconds.