diff --git a/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache b/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache
index f01a7e25dbb..07448f9cfef 100644
--- a/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache
+++ b/modules/swagger-codegen/src/main/resources/csharp/TestProject.mustache
@@ -83,10 +83,10 @@ limitations under the License.
{{binRelativePath}}\RestSharp.105.1.0\lib\{{targetFrameworkNuget}}\RestSharp.dll
- $(SolutionDir)\packages\NUnit.3.2.1\lib\nunit.framework.dll
- ..\packages\NUnit.3.2.1\lib\nunit.framework.dll
- ..\..\packages\NUnit.3.2.1\lib\nunit.framework.dll
- {{binRelativePath}}\NUnit.3.2.1\lib\nunit.framework.dll
+ $(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ ..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ ..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ {{binRelativePath}}\NUnit.2.6.4\lib\nunit.framework.dll
diff --git a/modules/swagger-codegen/src/main/resources/csharp/mono_nunit_test.mustache b/modules/swagger-codegen/src/main/resources/csharp/mono_nunit_test.mustache
index b4d1cd74ca6..f985210516f 100644
--- a/modules/swagger-codegen/src/main/resources/csharp/mono_nunit_test.mustache
+++ b/modules/swagger-codegen/src/main/resources/csharp/mono_nunit_test.mustache
@@ -26,8 +26,8 @@ mozroots --import --sync
mono nuget.exe install src/{{{packageName}}}.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet"
-mono nuget.exe install NUnit.Runners -Version 3.2.1 -OutputDirectory packages
+mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test"
xbuild {{{packageName}}}.sln && \
- mono ./packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe src/{{{packageName}}}.Test/bin/Debug/{{{packageName}}}.Test.dll
+ mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/{{{packageName}}}.Test/bin/Debug/{{{packageName}}}.Test.dll
diff --git a/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln b/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
index 0456bee0d8b..138eef97a42 100644
--- a/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
+++ b/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{ACE32FB1-CE7D-4A06-B9D3-1955C51516CA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{B9FB8D99-748C-4BE0-9C82-114777F64157}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger.Test", "src\IO.Swagger.Test\IO.Swagger.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
-{ACE32FB1-CE7D-4A06-B9D3-1955C51516CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-{ACE32FB1-CE7D-4A06-B9D3-1955C51516CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
-{ACE32FB1-CE7D-4A06-B9D3-1955C51516CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
-{ACE32FB1-CE7D-4A06-B9D3-1955C51516CA}.Release|Any CPU.Build.0 = Release|Any CPU
+{B9FB8D99-748C-4BE0-9C82-114777F64157}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+{B9FB8D99-748C-4BE0-9C82-114777F64157}.Debug|Any CPU.Build.0 = Debug|Any CPU
+{B9FB8D99-748C-4BE0-9C82-114777F64157}.Release|Any CPU.ActiveCfg = Release|Any CPU
+{B9FB8D99-748C-4BE0-9C82-114777F64157}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/samples/client/petstore/csharp/SwaggerClient/README.md b/samples/client/petstore/csharp/SwaggerClient/README.md
index 87ac879ca46..780288fd56d 100644
--- a/samples/client/petstore/csharp/SwaggerClient/README.md
+++ b/samples/client/petstore/csharp/SwaggerClient/README.md
@@ -6,7 +6,7 @@ This C# SDK is automatically generated by the [Swagger Codegen](https://github.c
- API version: 1.0.0
- SDK version: 1.0.0
-- Build date: 2016-07-21T17:39:01.768+08:00
+- Build date: 2016-07-21T20:13:02.982+08:00
- Build package: class io.swagger.codegen.languages.CSharpClientCodegen
## Frameworks supported
diff --git a/samples/client/petstore/csharp/SwaggerClient/mono_nunit_test.sh b/samples/client/petstore/csharp/SwaggerClient/mono_nunit_test.sh
index e7032942787..602b9727d2c 100644
--- a/samples/client/petstore/csharp/SwaggerClient/mono_nunit_test.sh
+++ b/samples/client/petstore/csharp/SwaggerClient/mono_nunit_test.sh
@@ -26,8 +26,8 @@ mozroots --import --sync
mono nuget.exe install src/IO.Swagger.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet"
-mono nuget.exe install NUnit.Runners -Version 3.2.1 -OutputDirectory packages
+mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test"
xbuild IO.Swagger.sln && \
- mono ./packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe src/IO.Swagger.Test/bin/Debug/IO.Swagger.Test.dll
+ mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/IO.Swagger.Test/bin/Debug/IO.Swagger.Test.dll
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
index d46a58703fd..c3a0f1dcf95 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
@@ -24,7 +24,7 @@ limitations under the License.
Debug
AnyCPU
- {ACE32FB1-CE7D-4A06-B9D3-1955C51516CA}
+ {B9FB8D99-748C-4BE0-9C82-114777F64157}
Library
Properties
Swagger Library