onebeyond / monaco

Template for .NET projects
MIT License
42 stars 10 forks source link

BUG: Compile error in solution generated using "disableAuth" option #53

Closed pchicociv closed 10 months ago

pchicociv commented 10 months ago

Description

Using the "disableAuth" option when generating a solution from the template results in a compiling error because it does not remove all references to "Auth" in Monaco.Template.Backend.Api

Expected Behavior

Line 8 in Monaco.Template.Backend.Api ->Program.cs should be also removed when generating the solution

Actual Behavior

Compiling error

Possible Fix

Just move the disableAuth flag one line up

Steps to Reproduce

  1. Generate a solution using "disableAuth" option
  2. Build the solution