Skip to content

Getting Started

Daniel Svensson edited this page Nov 11, 2019 · 6 revisions

System Requirements for developing

Visual Studio 2019

Note: There is a ".vsconfig" checked in that will help with what options to install. Open The solution in VS 2019 and it will prompt you if anything is missing

  • Visual Studio 2019 with the following options
    • .NET desktop development
    • Visual Studio development
    • .NET Core cross platform development
    • Individual components
      • ASP.NET and web development tools
      • IIS Express
      • SQL Server Express 2016 Localdb
      • Entity Framework 6 tools

Building the solution

Open and build RiaServices.sln

The public assemblies are listed under the "Framework" solution folder. Test are found under _Test _folder.

Running Test

Before running tests the example databases must be setup

  1. Run Setup-TestDatabases.ps1 in root to install databases locally
  • This requires that you have LocalDb installed (se system requirements above)
  1. Compile all Test from within Visual Studio (whole solution or just Test folder)
  2. Before executing the all Tests the "WebsiteFullTrust" project website must be running
    • Set it as startup project and choose "Run without debugging"
    • If debugging the tests from withing the "Test Explorer" then the website will most often be started automatically
  3. Run test (for example via "Test Explorer" in visual studio) Sometimes some test projects dissapear in visual studio, then use the button in the "Test Explorer" to group the test by for example per class and then switch back to group by Project again.

Current guideline for supported runtimes

The intention is to only support supported .Net platforms.