Store vs Corp

 1) Need MSI on store side.  No MST on corporate needed.

2) App Settings different:

     appsettings.Store-Development.json

     appsettings.Store-Staging.json

     appsettings.Store.json

3) Need to adjust so reads newer JSON:


var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Development";

var builder = new ConfigurationBuilder().SetBasePath(AppContext.BaseDirectory)

    .AddJsonFile("appsettings.json", optional: false, reloadOnChange: false)

    .AddJsonFile($"appsettings.Store-{environment}.json", optional: false)

    .AddEnvironmentVariables();

IConfiguration configuration = builder.Build();

services.AddSingleton(s => configuration);


4) Use the later Wix 4

5) Adjust for the fact that application is using the win10-x64 runtime with Net 6 whereas yours is win-x64

6) Ensure version numbers are done correctly

7) Don't forget to view MSI contents using Orca

Comments

Popular posts from this blog

Upgrading to .NET8 from desktop versions 4.8.X

GHL Chat Bots for Webpage

GHL > Set website so shorter URL address