From eaa2dc6d21250c024ef8a14e4113dabace06b5a0 Mon Sep 17 00:00:00 2001 From: Jim Schubert Date: Wed, 10 May 2017 13:01:45 -0400 Subject: [PATCH] [csharp] Fix project glob pattern (#5605) This fixes the glob pattern to remove hard-coded namespaces, and exclude the obj folder. This removes a newly introduced issue that breaks apiPackage and modelPackage support and fixes a problem with Xamarin pulling in obj/**.cs when globbing **/*.cs. --- .../src/main/resources/csharp/Project.mustache | 6 ++---- .../src/main/resources/csharp/TestProject.mustache | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/csharp/Project.mustache b/modules/swagger-codegen/src/main/resources/csharp/Project.mustache index 1f3749d5af2..2c6db7ae2dd 100644 --- a/modules/swagger-codegen/src/main/resources/csharp/Project.mustache +++ b/modules/swagger-codegen/src/main/resources/csharp/Project.mustache @@ -88,10 +88,8 @@ {{/netStandard}} - - - - + {{^netStandard}} diff --git a/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache b/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache index 8447159ce3c..be847bade98 100644 --- a/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache +++ b/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache @@ -78,7 +78,8 @@ - +