From 6b2fb090942d4ab9f7e6db27e42686000419ab7d Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:11:12 -1000 Subject: [PATCH] profile (#239) --- .../minimal-apis/samples/ValidateOnBuildWeb/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fundamentals/minimal-apis/samples/ValidateOnBuildWeb/Program.cs b/fundamentals/minimal-apis/samples/ValidateOnBuildWeb/Program.cs index c83eaf9..12fa582 100644 --- a/fundamentals/minimal-apis/samples/ValidateOnBuildWeb/Program.cs +++ b/fundamentals/minimal-apis/samples/ValidateOnBuildWeb/Program.cs @@ -1,6 +1,9 @@ #define FIRST // FIRST SECOND ValidateOnBuild #if NEVER #elif FIRST +/* An easy way to test Dev vs release is to set + * "ASPNETCORE_ENVIRONMENT": "Release" in one profile in launchSettings.json + */ // var builder = WebApplication.CreateBuilder(args);