diff --git a/Dojo.AutoGenerators/Dojo.AutoGenerators.csproj b/Dojo.AutoGenerators/Dojo.AutoGenerators.csproj index 22c484c..4b6ca14 100644 --- a/Dojo.AutoGenerators/Dojo.AutoGenerators.csproj +++ b/Dojo.AutoGenerators/Dojo.AutoGenerators.csproj @@ -34,7 +34,7 @@ - + diff --git a/Dojo.Generators.Core/Dojo.Generators.Core.csproj b/Dojo.Generators.Core/Dojo.Generators.Core.csproj index db7f089..c640aaa 100644 --- a/Dojo.Generators.Core/Dojo.Generators.Core.csproj +++ b/Dojo.Generators.Core/Dojo.Generators.Core.csproj @@ -15,7 +15,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Dojo.Generators.Tests/Dojo.Generators.Tests.csproj b/Dojo.Generators.Tests/Dojo.Generators.Tests.csproj index f78b32d..29460b4 100644 --- a/Dojo.Generators.Tests/Dojo.Generators.Tests.csproj +++ b/Dojo.Generators.Tests/Dojo.Generators.Tests.csproj @@ -2,7 +2,7 @@ false - net6.0 + net8.0 @@ -26,7 +26,7 @@ - + diff --git a/Dojo.OpenApiGenerator.TestWebApi/Dojo.OpenApiGenerator.TestWebApi.csproj b/Dojo.OpenApiGenerator.TestWebApi/Dojo.OpenApiGenerator.TestWebApi.csproj index 5f1278e..2ff76da 100644 --- a/Dojo.OpenApiGenerator.TestWebApi/Dojo.OpenApiGenerator.TestWebApi.csproj +++ b/Dojo.OpenApiGenerator.TestWebApi/Dojo.OpenApiGenerator.TestWebApi.csproj @@ -27,6 +27,7 @@ + diff --git a/Dojo.OpenApiGenerator/AutoApiGenerator.cs b/Dojo.OpenApiGenerator/AutoApiGenerator.cs index ce57cdb..47ea860 100644 --- a/Dojo.OpenApiGenerator/AutoApiGenerator.cs +++ b/Dojo.OpenApiGenerator/AutoApiGenerator.cs @@ -44,14 +44,14 @@ public AutoApiGenerator() public void Initialize(GeneratorInitializationContext context) { -//#if DEBUG -// if (!Debugger.IsAttached) -// { -// Debugger.Launch(); -// } -//#endif - -// Debug.WriteLine("Initialize code generator"); +#if DEBUG + if (!Debugger.IsAttached) + { + Debugger.Launch(); + } +#endif + + Debug.WriteLine("Initialize code generator"); } public void Execute(GeneratorExecutionContext context) diff --git a/Dojo.OpenApiGenerator/Dojo.OpenApiGenerator.csproj b/Dojo.OpenApiGenerator/Dojo.OpenApiGenerator.csproj index b63feb8..e32e946 100644 --- a/Dojo.OpenApiGenerator/Dojo.OpenApiGenerator.csproj +++ b/Dojo.OpenApiGenerator/Dojo.OpenApiGenerator.csproj @@ -59,11 +59,6 @@ - - - $(GetTargetPathDependsOn);GetDependencyTargetPaths - - @@ -71,6 +66,11 @@ + + + $(GetTargetPathDependsOn);GetDependencyTargetPaths + + diff --git a/TestApp/TestApp.csproj b/TestApp/TestApp.csproj index b0d1a2c..3076708 100644 --- a/TestApp/TestApp.csproj +++ b/TestApp/TestApp.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0