Craig100
01/28/2024, 2:08 PMKevin Jump
01/28/2024, 2:11 PMKevin Jump
01/28/2024, 2:12 PMCraig100
01/28/2024, 2:12 PMKevin Jump
01/28/2024, 2:12 PMCraig100
01/28/2024, 2:13 PMKevin Jump
01/28/2024, 2:13 PMCraig100
01/28/2024, 2:20 PMCraig100
01/28/2024, 2:23 PMCraig100
01/28/2024, 2:33 PMSiempreSteve
01/29/2024, 7:34 AMCraig100
01/29/2024, 8:21 AMCraig100
01/29/2024, 8:21 AMCraig100
01/29/2024, 9:41 AMCraig100
01/29/2024, 9:42 AMJemayn
01/29/2024, 9:54 AMcsharp
<!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto -->
<RazorCompileOnBuild>false</RazorCompileOnBuild>
<RazorCompileOnPublish>true</RazorCompileOnPublish>
And it worked fine locally, but when going live it failed - unsure if it was because of the ModelsbuilderMode: None or maybe the new RuntimeMode: Production setting, but deleting the above lines fixed it for me.Prenders
01/29/2024, 10:09 AMPrenders
01/29/2024, 10:17 AM.AddDataProtection()
in the code.
Usually in Program.cs, Startup.cs or a Composer.
If so, that might help to pin point.
Also - there is every chance I could be barking up the wrong tree here 😅Craig100
01/29/2024, 10:43 AMCraig100
01/29/2024, 10:53 AMCraig100
01/29/2024, 10:54 AMPrenders
01/29/2024, 10:57 AM