From e823897005b88b03088fe17d219ffaeeabb2961d Mon Sep 17 00:00:00 2001 From: ObsidianMinor Date: Tue, 6 Feb 2018 12:59:20 -0600 Subject: [PATCH 1/4] Updated NUnit packages, removed NUnitLite added packages for dotnet and Visual Studio, changed dotnet command in buildall to dotnet test, and deleted Program.cs (because it's no longer required). --- csharp/buildall.sh | 2 +- .../Google.Protobuf.Test.csproj | 8 ++-- csharp/src/Google.Protobuf.Test/Program.cs | 48 ------------------- 3 files changed, 5 insertions(+), 53 deletions(-) delete mode 100755 csharp/src/Google.Protobuf.Test/Program.cs diff --git a/csharp/buildall.sh b/csharp/buildall.sh index dd4b463dd..50d8906dc 100755 --- a/csharp/buildall.sh +++ b/csharp/buildall.sh @@ -14,4 +14,4 @@ echo Running tests. # If we want to test the .NET 4.5 version separately, we could # run Mono explicitly. However, we don't have any differences between # the .NET 4.5 and netstandard1.0 assemblies. -dotnet run -c $CONFIG -f netcoreapp1.0 -p $SRC/Google.Protobuf.Test/Google.Protobuf.Test.csproj +dotnet test -c $CONFIG -f netcoreapp1.0 $SRC/Google.Protobuf.Test/Google.Protobuf.Test.csproj diff --git a/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj b/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj index 06d07b9f4..6a430116b 100644 --- a/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj +++ b/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj @@ -1,7 +1,6 @@  - Exe net451;netcoreapp1.0 ../../keys/Google.Protobuf.snk true @@ -14,8 +13,9 @@ - - + + +