Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 2.43 KB

BUILD.md

File metadata and controls

54 lines (37 loc) · 2.43 KB

Building the project

Start by cloning the repository:

git clone https://github.com/Rise-Software/Rise-Media-Player.git

Rise Media Player uses a single solution, where all the projects (including the app itself) live. To open it, you'll need Visual Studio 2019 or later with the UWP workload, and the Windows 11 SDK (10.0.22000.0).

Pre-build steps

Before being able to build the app, you need to take care of a few things.

Adding the Windows Community Toolkit Labs NuGet repository as a package source

Some areas of the app such as settings depend on the WCT Labs, and to install these packages it requires adding a package source to your Visual Studio install.

If you haven't set up the last.fm constants yet, you need to in order to build the app. See below for instructions.

Adding last.fm constants

To build the app, you'll need to add a few last.fm related constants. On the Rise.Common project, there's a folder named Constants. Add a new file called LastFM.cs and paste the following:

namespace Rise.Common.Constants
{
    /// <summary>
    /// Contains last.fm related constants.
    /// </summary>
    public class LastFM
    {
        public const string Key = "YourAPIKey";
        public const string Secret = "YourSecret";

        public const string VaultResource = "RiseMP - LastFM account";
    }
}

This will be enough to build the app, but if you want last.fm support, you should get a last.fm API key. After doing this, replace the value of the Key and Secret constants with your own API key and secret key respectively. After doing this, last.fm functionality should be enabled.

Deploying

If Rise.App isn't the startup project already, set it as that. You can then deploy the app by pressing the "Start Debugging" button.