Skip to content

Getting Started

Daniel Svensson edited this page Feb 15, 2019 · 6 revisions

System Requirements for developing

Visual Studio 2017

Note: This list might be incomplete ..

  • Visual Studio 2017 with the following options
    • .NET desktop development
    • Visual Studio development
    • .NET Core cross platform development
    • Individual components
      • .NET Portable Library targeting pack
      • ASP.NET and web development tools
      • IIS Express
      • SQL Server Express 2016 Localdb
      • Entity Framework 6 tools
  • Silverlight 5 SDK (must be manually installed, or via installing VS 2015 on same computer)

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.