YAFLogo

SteveGIMP
  • SteveGIMP
  • 57.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
I have YAF installed and running in hosted environment. The install was pretty automated and went smoothly. But when testing the forums I experienced the bug referenced HERE.  I learned that I need to fix the bug in the source, publish the project with the fix, then upload the new files. Sounds straight forward, but I'm getting nowhere.

I have access to Visual Studio 2008 and Visual Studio C# Express 2010.

I downloaded the 1.9.5.5 source zip.

With VS2008 I opened the yetanotherforum.net.sln file. I changed the code needed to fix the bug. But when I publish, I get hundreds of errors and nothing is output.

I tried VS Express and it wants to convert the project. But then won't open the .csproj

I tried VS Express with the yetanotherforum.net-2010.sln file. But again it says the project can't be opened with this installation.

Can anyone help a guy out? I've successfully administered, modified and maintained a Classic ASP forum for years. But it's pretty obsolete and time to modernize. So, I need to learn something new one way or another. YAF looks promising if I can just get off the ground. Otherwise I'll need to look at other options.

TIA

Steven

Sponsor
squirrel
12 years ago

I have YAF installed and running in hosted environment. The install was pretty automated and went smoothly. But when testing the forums I experienced the bug referenced HERE.  I learned that I need to fix the bug in the source, publish the project with the fix, then upload the new files. Sounds straight forward, but I'm getting nowhere.

I have access to Visual Studio 2008 and Visual Studio C# Express 2010.

I downloaded the 1.9.5.5 source zip.

With VS2008 I opened the yetanotherforum.net.sln file. I changed the code needed to fix the bug. But when I publish, I get hundreds of errors and nothing is output.

I tried VS Express and it wants to convert the project. But then won't open the .csproj

I tried VS Express with the yetanotherforum.net-2010.sln file. But again it says the project can't be opened with this installation.

Can anyone help a guy out? I've successfully administered, modified and maintained a Classic ASP forum for years. But it's pretty obsolete and time to modernize. So, I need to learn something new one way or another. YAF looks promising if I can just get off the ground. Otherwise I'll need to look at other options.

TIA

Steven

Originally Posted by: SteveGIMP 

I don't know what bug your're fixing, but I have a compiled version of the 1.9.6 BETA that was built a couple nights ago if it would help you.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

I tried VS Express with the yetanotherforum.net-2010.sln file. But again it says the project can't be opened with this installation.

Visual Studio C# Express 2010.

That is the Wrong Edition you need Visual Web Developer 2010 Express

SteveGIMP
  • SteveGIMP
  • 57.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
Thanks so much for the reply. But I'm still getting nowhere.

I tried Web Developer and the project opens. But when I try to publish, I get hundreds of warnings and publish fails.

I'm obviously doing something wrong.

I'm not one to give up easily, and I usually learn well thru trial and error. But I really don't know what I'm doing, and this is apparently over my head.

Steven

squirrel
12 years ago

Thanks so much for the reply. But I'm still getting nowhere.

I tried Web Developer and the project opens. But when I try to publish, I get hundreds of warnings and publish fails.

I'm obviously doing something wrong.

I'm not one to give up easily, and I usually learn well thru trial and error. But I really don't know what I'm doing, and this is apparently over my head.

Steven

Originally Posted by: SteveGIMP 

The source distributions are not always perfect. There might be file references that are not right. What you need to do is look in the errors output, turn off the "Warnings" and view only the 'errors' -- there will be a line that explains why publish failed.

When you publish the YAF source, you only have to publish the "YAF" portion of the solution (Right Click the YAF line in the Solution Explorer and choose publish from there. I recommend publishing 'to the filesystem' and choosing an empty or new directory. This will publish all YAF files you 'need' to that folder.

And as I offered above - I have a compiled copy of the 1.9.6 source with all changesets applied from a couple days ago if you want it. As with all the 1.9.6 and up releases, it will require .NET 4 to run. It's zipped up and all you have to do is modify the web.config (and other config files) to suit your installation, and follow the 'upgrade' instructions...


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
SteveGIMP
  • SteveGIMP
  • 57.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago

When you publish the YAF source, you only have to publish the "YAF" portion of the solution (Right Click the YAF line in the Solution Explorer and choose publish from there. I recommend publishing 'to the filesystem' and choosing an empty or new directory. This will publish all YAF files you 'need' to that folder.

Originally Posted by: squirrel 

I've done this again, and ignoring the 845 "warnings" I'm left with the following error

Error 826 The target "PipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.

Steven

squirrel
12 years ago

When you publish the YAF source, you only have to publish the "YAF" portion of the solution (Right Click the YAF line in the Solution Explorer and choose publish from there. I recommend publishing 'to the filesystem' and choosing an empty or new directory. This will publish all YAF files you 'need' to that folder.

Originally Posted by: SteveGIMP 

I've done this again, and ignoring the 845 "warnings" I'm left with the following error

Error 826 The target "PipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.

Steven

Originally Posted by: squirrel 

I've seen that error before. Solution Here 


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
SteveGIMP
  • SteveGIMP
  • 57.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
Bingo.

I edited YAF.csproj as suggested and it finally published. I uploaded the new Bin folder to my host server and the New Topic bug is gone.

Thanks guys! Until next time......

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
12 years ago
FYI... this is fixed in the latest code.
squirrel
12 years ago

FYI... this is fixed in the latest code.

Originally Posted by: Jaben 

I noticed that when I compiled the stuff from a couple days ago :)

There were two other references what were bad (maybe three) to files that weren't in the solution, but it was no major deal --


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
SteveGIMP
  • SteveGIMP
  • 57.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
SteveGIMP
  • SteveGIMP
  • 57.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago

FYI... this is fixed in the latest code.

Originally Posted by: Jaben 

I just now downloaded and compiled YAF-v1.9.5.5-RTW-SRC and the error is still there.

Error 938 The target "PipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.

squirrel
12 years ago

FYI... this is fixed in the latest code.

Originally Posted by: SteveGIMP 

I just now downloaded and compiled YAF-v1.9.5.5-RTW-SRC and the error is still there.

Error 938 The target "PipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.

Originally Posted by: Jaben 

That is not the latest source he was talking about. In the codeplex archive, they have packaged a version named 1.9.6 BETA dated September of 2011. After that was released, there have been many updates and fixes applied. In order to get those fixes, you would need to download the source with all the changesets applied and compile that -- this would get you the 'latest available code' which has the issues fixed (including the deployment issue).

This link from CodePlex  will take you directly to the source code. If you click the "Download" link on that page, Codeplex will apply all changesets, and create you a .ZIP file that you can download and compile. The resulting code will be the 'most up to date' version of YAF available, but will be in SOURCE form so it will need to be compiled.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
SteveGIMP
  • SteveGIMP
  • 57.2% (Neutral)
  • YAF Camper Topic Starter
12 years ago
Ahhh... okay. Thanks.