diff --git a/src/main/resources/handlebars/csharp-dotnet2/csproj.mustache b/src/main/resources/handlebars/csharp-dotnet2/csproj.mustache index 7894c816a8..035d83b2b5 100644 --- a/src/main/resources/handlebars/csharp-dotnet2/csproj.mustache +++ b/src/main/resources/handlebars/csharp-dotnet2/csproj.mustache @@ -18,6 +18,6 @@ - + \ No newline at end of file diff --git a/src/main/resources/handlebars/csharp/Project.mustache b/src/main/resources/handlebars/csharp/Project.mustache index d551f7d1a3..4304147be1 100644 --- a/src/main/resources/handlebars/csharp/Project.mustache +++ b/src/main/resources/handlebars/csharp/Project.mustache @@ -79,10 +79,10 @@ {{binRelativePath}}\JsonSubTypes.1.2.0\lib{{backslash}}{{targetFrameworkNuget}}\JsonSubTypes.dll - $(SolutionDir)\packages\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll - ..\packages\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll - ..\..\packages\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll - {{binRelativePath}}\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + $(SolutionDir)\packages\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + ..\packages\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + ..\..\packages\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + {{binRelativePath}}\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll {{#generatePropertyChanged}} diff --git a/src/main/resources/handlebars/csharp/README.mustache b/src/main/resources/handlebars/csharp/README.mustache index e7745565d8..c0770464ae 100644 --- a/src/main/resources/handlebars/csharp/README.mustache +++ b/src/main/resources/handlebars/csharp/README.mustache @@ -42,7 +42,7 @@ This C# SDK is automatically generated by the [Swagger Codegen](https://github.c - Newtonsoft.Json >=10.0.3 {{/netStandard}} {{^netStandard}} -- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later +- [RestSharp](https://www.nuget.org/packages/RestSharp) - 110.2.0 or later - [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later - [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later diff --git a/src/main/resources/handlebars/csharp/TestProject.mustache b/src/main/resources/handlebars/csharp/TestProject.mustache index ec7e18ba96..84a17d355b 100644 --- a/src/main/resources/handlebars/csharp/TestProject.mustache +++ b/src/main/resources/handlebars/csharp/TestProject.mustache @@ -71,10 +71,10 @@ {{binRelativePath}}\JsonSubTypes.1.2.0\lib{{backslash}}{{targetFrameworkNuget}}\JsonSubTypes.dll - $(SolutionDir)\packages\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll - ..\packages\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll - ..\..\packages\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll - {{binRelativePath}}\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + $(SolutionDir)\packages\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + ..\packages\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + ..\..\packages\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll + {{binRelativePath}}\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll $(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll diff --git a/src/main/resources/handlebars/csharp/compile-mono.sh.mustache b/src/main/resources/handlebars/csharp/compile-mono.sh.mustache index c7188d022c..4b0198b7a3 100644 --- a/src/main/resources/handlebars/csharp/compile-mono.sh.mustache +++ b/src/main/resources/handlebars/csharp/compile-mono.sh.mustache @@ -45,7 +45,7 @@ ${nuget_cmd} install src/{{packageName}}/packages.config -o packages; echo "[INFO] Copy DLLs to the 'bin' folder" mkdir -p bin; cp packages/Newtonsoft.Json.10.0.3/lib/{{targetFrameworkNuget}}/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll; -cp packages/RestSharp.105.1.0/lib/{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}/RestSharp.dll bin/RestSharp.dll; +cp packages/RestSharp.110.2.0/lib/{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}/RestSharp.dll bin/RestSharp.dll; cp packages/JsonSubTypes.1.2.0/lib/{{targetFrameworkNuget}}/JsonSubTypes.dll bin/JsonSubTypes.dll {{#generatePropertyChanged}} cp packages/Fody.1.29.4/Fody.dll bin/Fody.dll diff --git a/src/main/resources/handlebars/csharp/compile.mustache b/src/main/resources/handlebars/csharp/compile.mustache index 73627a3b0d..16ca241b4f 100644 --- a/src/main/resources/handlebars/csharp/compile.mustache +++ b/src/main/resources/handlebars/csharp/compile.mustache @@ -17,7 +17,7 @@ if not exist ".\bin" mkdir bin copy packages\Newtonsoft.Json.10.0.3\lib{{backslash}}{{targetFrameworkNuget}}\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll copy packages\JsonSubTypes.1.2.0\lib{{backslash}}{{targetFrameworkNuget}}\JsonSubTypes.dll bin\JsonSubTypes.dll -copy packages\RestSharp.105.1.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll bin\RestSharp.dll +copy packages\RestSharp.110.2.0\lib{{backslash}}{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll bin\RestSharp.dll {{#generatePropertyChanged}} copy packages\Fody.1.29.4\Fody.dll bin\Fody.dll copy packages\PropertyChanged.Fody.1.51.3\PropertyChanged.Fody.dll bin\PropertyChanged.Fody.dll diff --git a/src/main/resources/handlebars/csharp/netcore_project.mustache b/src/main/resources/handlebars/csharp/netcore_project.mustache index 4d0e27a7b9..83e7906825 100644 --- a/src/main/resources/handlebars/csharp/netcore_project.mustache +++ b/src/main/resources/handlebars/csharp/netcore_project.mustache @@ -23,7 +23,7 @@ {{/netStandard}} {{^netStandard}} - + {{/netStandard}} diff --git a/src/main/resources/handlebars/csharp/netcore_testproject.mustache b/src/main/resources/handlebars/csharp/netcore_testproject.mustache index 7ed0a30d4d..1c9a6533c6 100644 --- a/src/main/resources/handlebars/csharp/netcore_testproject.mustache +++ b/src/main/resources/handlebars/csharp/netcore_testproject.mustache @@ -22,7 +22,7 @@ {{/netStandard}} {{^netStandard}} - + {{/netStandard}} diff --git a/src/main/resources/handlebars/csharp/nuspec.mustache b/src/main/resources/handlebars/csharp/nuspec.mustache index 0585152685..ff574d1633 100644 --- a/src/main/resources/handlebars/csharp/nuspec.mustache +++ b/src/main/resources/handlebars/csharp/nuspec.mustache @@ -32,7 +32,7 @@ - + {{#generatePropertyChanged}} diff --git a/src/main/resources/handlebars/csharp/packages.config.mustache b/src/main/resources/handlebars/csharp/packages.config.mustache index 57234ce284..c8d3ba2780 100644 --- a/src/main/resources/handlebars/csharp/packages.config.mustache +++ b/src/main/resources/handlebars/csharp/packages.config.mustache @@ -1,6 +1,6 @@ - + {{#generatePropertyChanged}} diff --git a/src/main/resources/handlebars/csharp/packages_test.config.mustache b/src/main/resources/handlebars/csharp/packages_test.config.mustache index 5e08ad3b67..0a41f16ac2 100644 --- a/src/main/resources/handlebars/csharp/packages_test.config.mustache +++ b/src/main/resources/handlebars/csharp/packages_test.config.mustache @@ -1,7 +1,7 @@ - +