Adding ability to do a perpetual build and a subscription build automatically and also be able to debug either one

This commit is contained in:
2022-08-16 23:19:23 +00:00
parent aa03db0aef
commit ea766e68b8
8 changed files with 194 additions and 43 deletions

View File

@@ -11,6 +11,9 @@
<noWarn>1591</noWarn>
<Deterministic>False</Deterministic>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition=" '$(SUBSCRIPTION_BUILD)' == 'true' ">$(DefineConstants);SUBSCRIPTION_BUILD</DefineConstants>
</PropertyGroup>
<!-- https://andrewlock.net/version-vs-versionsuffix-vs-packageversion-what-do-they-all-mean/ -->
<ItemGroup>
<Folder Include="wwwroot\" />

View File

@@ -209,7 +209,12 @@ namespace AyaNova
#if (DEBUG)
logger.Info($"### DEBUG ONLY - Linker timestamp is {Util.FileUtil.GetLinkerTimestampUtc(System.Reflection.Assembly.GetExecutingAssembly())}");
logger.Info($"### DEBUG ONLY - Linker timestamp is {Util.FileUtil.GetLinkerTimestampUtc(System.Reflection.Assembly.GetExecutingAssembly())}");
#if (SUBSCRIPTION_BUILD)
logger.Info($"### DEBUG ONLY - SUBSCRIPTION BUILD");
#else
logger.Info($"### DEBUG ONLY - PERPETUAL BUILD");
#endif
#endif
//log configuration

View File

@@ -287,7 +287,7 @@ namespace AyaNova.Core
// ""Name"": ""TrialMode""<---means is a trial key
// },
// {
// ""Name"": ""ServiceMode"" <----Means it's an SAAS/Rental key
// ""Name"": ""Subscription"" <----Means it's an SAAS/Rental key
// }
// ]