Visitar URL original
Build with Visual Studio · YAFNET/YAFNET Wiki · GitHub
Skip to content

Build with Visual Studio

Ingo edited this page Nov 13, 2026 · 12 revisions

Build YAF.NET v4 with Visual Studio

Requirements

  1. Visual Studio 2026 or later, with the ASP.NET and web development workload
  2. .NET 11.0 SDK or later
  3. Node.js (current LTS version)

Build

  1. Open the solution for your database from the yafsrc folder:

    Database Solution
    Microsoft SQL Server YAF.NET-SqlServer.slnx
    MySQL / MariaDB YAF.NET-MySql.slnx
    PostgreSQL YAF.NET-PostgreSQL.slnx
    SQLite YAF.NET-Sqlite.slnx
  2. Restore the Node packages: in Solution Explorer, right-click npm in the web project and select Restore Packages.

    Restore npm packages

  3. Compile the JavaScript and CSS files: open View > Other Windows > Task Runner Explorer and run the default task of the Gruntfile.js.

    Task Runner Explorer

  4. Build the solution, or start the web project with F5. Set the connection string in appsettings.json first (see Installation).

Clone this wiki locally