diff --git a/sdks/dotnet/TestServerSdk.cs b/sdks/dotnet/TestServerSdk.cs index 251b021..9e26e62 100644 --- a/sdks/dotnet/TestServerSdk.cs +++ b/sdks/dotnet/TestServerSdk.cs @@ -27,12 +27,12 @@ namespace TestServerSdk { public class TestServerOptions { - public required string ConfigPath { get; set; } - public required string RecordingDir { get; set; } - public required string Mode { get; set; } // "record" or "replay" - public required string BinaryPath { get; set; } + public string ConfigPath { get; set; } = ""; + public string RecordingDir { get; set; } = ""; + public string Mode { get; set; } = ""; // "record" or "replay" + public string BinaryPath { get; set; } = ""; - public string TestServerSecrets { get; set; } + public string? TestServerSecrets { get; set; } public Action? OnStdOut { get; set; } public Action? OnStdErr { get; set; } diff --git a/sdks/dotnet/TestServerSdk.csproj b/sdks/dotnet/TestServerSdk.csproj index 300e6e7..7e91db2 100644 --- a/sdks/dotnet/TestServerSdk.csproj +++ b/sdks/dotnet/TestServerSdk.csproj @@ -1,11 +1,11 @@ - net8.0 + net6.0;net8.0 latest enable enable - 0.1.3 + 0.1.4 Google LLC A .NET SDK to manage the test-server process for integration testing. https://github.com/google/test-server