Prerequisites: Visual Studio 2022 and .NET Core 6, (Optional) Docker Desktop
Make sure that the development team members are part of the TC-CivAv-Medical-Developers group to access the cloud resources needed by the application.
Locally clone the CAMMS project (https://dev.azure.com/transport-canada/Medical Certificate Processing/_git/CAMMS-SMMAC). Make sure that there are no whitespaces present in the directory path.
Ensure you have the TC and DevOps NuGet sources set up. Go to Tools → Options. In the Options' window go to NuGet Package Manager → Package Sources.
Add and check all checkboxes
Name: TC Nuget, Source: https://nuget.tc.gc.ca/nuget
Name: DevOps Nuget, Source: https://pkgs.dev.azure.com/transport-canada/_packaging/DevOps-Nuget/nuget/v3/index.
...
Ensure Visual Studio is logged in with your Azure account: Tools → Options → Azure Service Authentification → Account Selection.
Select the
...
“dev” branch.
...
In the debug toolbar, select “CSF.SRDashboard.Client” as the startup project and select “DEV” as the debug target.
8.
...
Secret.json file is a file that override the value of appsettings on the following projects: CAMIS-SIMAC-API, CAMMS-SMMAC-Publisher and the CAMMS-SMMAC-Ocelot.