diff --git a/src/UnityNuGet/NuGetHelper.cs b/src/UnityNuGet/NuGetHelper.cs index 4b62b8ef..7266c3d0 100644 --- a/src/UnityNuGet/NuGetHelper.cs +++ b/src/UnityNuGet/NuGetHelper.cs @@ -56,9 +56,9 @@ bool IsResource() bool CS() => file.Contains("/cs/", StringComparison.OrdinalIgnoreCase); bool VB() => file.Contains("/vb/", StringComparison.OrdinalIgnoreCase); - + // Czech locale is cs, catch /vb/cs/ - return IsResource() && CS() && !VB(); + return IsResource() && ((!CS() && !VB()) || (CS() && !VB())); } public static bool IsApplicableUnitySupportedRoslynVersionFolder(string file)