I'm trying to make some changes into some pages in the site.
However, whenever I do so, it keeps reverting back to the original DLL file.
When I try to remove it from the references, the compiler throws up a bunch of errors, claiming it can't access the YAF classname.
This is strange since the entire YAF classname is right there in the source codes.
HELP PLEASE :/
www.bunkerhollow.com | www.careercomputing.com
When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )
If I use the premade YAF.dll, everything works fine - but all changes I make have no effect.
But when I remove it and try to recompile all the YAF related classes are unrecognized.
"Error 2 Could not load file or assembly 'yaf' or one of its dependencies. The system cannot find the file specified. c:\inetpub\wwwroot\yaf\controls\smileys.ascx 2"
Also when I try to debug I get the following error on my breakpoints:
"The breakpoint will not currently be hit. The source code is different from the original version."
Rebuild the solution and then copy that Yaf.dll to your website the changes will stick.
Keep the original .dll just in case !! This is ver. 220.127.116.11. correct
But again - the problem is:
1. I can't debug my code
2. I can't change the code (If I change it the compiler simply ignores my changes)
3. If I remove the reference to the yaf.dll file (Which is probably causing my code not to change), the code won't compile
Please help me out here, I can't figure out how to fix this.
If you've done all that, and you don't see your change, then your code isn't producing the result you expected. Try a more obvious change until you get the hang of it.
I've been a game developer for 5 years now, and I've already modified YAF to automatically create and manage private forums for users in the game automatically.
I hadn't touched the YAF code for a year or so, and a recent bug has been discovered which requires immediate fixing.
I'm not sure how to fully explain my problem, so I'll try to rephrash myself.
Any changes I make to the .aspx.cs files are completely ignored when I compile and run the site.
Any breakpoints I try to put in debug do not hit due to the error I've mentioned before.
Also, I'm referring to the yaf.dll file in the \yaf\obj\debug folder in my project - I think that's what causes the compiler to ignore my changes.
However, when I remove that reference, the compiler refuses to recognize the YAF class (Or anything related to it) - while it's already there in the code.
Better now? :/