YAFLogo

rico515
  • rico515
  • 52% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 1
5 days ago
Screenshot of Target framework set to .NET Framework 4.8 

I'm not sure how to proceed here. If I try to upgrade to net6.0, a lot of other things break. Should I degrade System.Text.Json to an older version? I appreciate any help.
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead šŸ¤“ YAF Version: 3.0.3
5 days ago
Sorry but switching from asp.net to asp.net core is not an upgrade. So it's not possible to just upgrade.

The current master branch in the github repository contains the current YAF 4.0 beta which runs on.net 7. So if you want to use.net 7. You would need to download that versionĀ 
rico515
  • rico515
  • 52% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 1
5 days ago
Okay, thank you! I might have misstated my attempts to resolve the issue. I tried setting the target framework to net6, which caused additional issues.

I first tried to start by using the code source from the repo, and realized the web.config file is in the download package, so I've been working from there. An initial build attempt resulted in about 400 errors, so I've been trying to resolve each error as I work through trying to get the project to build. For example, every instance ofĀ 
.Log(...)
errored until I refactored to something likeĀ 
.ErrorLog(...)
.Ā 

Is that a known issue?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead šŸ¤“ YAF Version: 3.0.3
5 days ago
Sorry, but I don't understand your problem. As I wrote before you can not upgrade the current YAF release 3.1.11 to. Ā  .net 6/7
rico515
  • rico515
  • 52% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 1
4 days ago
Sorry, I was confused about the difference between doing an "installation" and cloning the repo. I cloned the repo and I am able to run the installer while hosting locally with IIS and using an Azure SQL database. I am now working on figuring out the email server. Thank you for your replies!
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead šŸ¤“ YAF Version: 3.0.3
4 days ago
The mail settings are stored in the app settings.json under mail configurationĀ 
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button