This folder contains code, configuration, and/or assets that are used in multiple projects in the Solution. Some files are considered "secret" and are not committed to source control. However, the solution is set up so that you should not need any of these secret files in order to do local development - only to publish the app or Serverless code.
In some cases, however, you may want to supply your own mock secret values for testing. Examples of these files are provided below for your reference.
This is only needed when publishing the desktop client application in the Release configuration. If you need to publish the application locally for some reason, simply change the Publish Profile (.pubxml) to publish to Debug configuration temporarily.
This is a... "clever" way of providing secret information to both the client and Serverless applications at compile time. Use this partial static class to set the values of any properties in ClientSecrets.cs.
namespace ValheimServerGUI.Properties
{
public static partial class Secrets
{
static Secrets()
{
// Set the values of any properties in Secrets.cs below
RuneberryApiKeyHeader = "some-header-key";
}
}
}
Configuration values for the Serverless application only when running locally. You can set AWS Lambda environment variables here to imitate running in a cloud environment.