Building the YAF.NET v4.x.x Source with the command line...
You will need the following software installed:
- Install Node Packages from inside the ..\yafsrc\YetAnotherForum.NET folder install the node packages
> npm install
- Compile the JS and CSS files
> grunt
- Build the YAF.NET Source from the ..\yafsrc folder
for Ms SQL Server
> dotnet build YAF.NET-SqlServer.sln
for MySQL
> dotnet build YAF.NET-MySql.sln
for PostgreSQL
> dotnet build YAF.NET-PostgreSQL.sln
for SQLite
> dotnet build YAF.NET-Sqlite.sln
- Visual Studio 2022 or higher
- .NET 8.0 SDK or higher
- Node.js
- NPM Task Runner
- Open
YAF.NET-SqlServer.sln
in Visual Studio for the Ms Sql server Version (Or theYAF.NET-MySql.sln
,YAF.NET-PostgreSQL.sln
,YAF.NET-Sqlite.sln
depending on which database you want to use). - Install (Restore) the node packages from the Solution Explorer
- Run the Default Grunt Task to Compile the JS and CSS Files
- Build the entire solution, or run the Web Project