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:
@@ -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\" />
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
// }
|
||||
|
||||
// ]
|
||||
|
||||
Reference in New Issue
Block a user