diff --git a/build/common.props b/build/common.props
index a048198bf3..0229049141 100644
--- a/build/common.props
+++ b/build/common.props
@@ -11,6 +11,8 @@
true
$(VersionSuffix)-$(BuildNumber)
true
+
+ $(NoWarn);AD0001
diff --git a/build/dependencies.props b/build/dependencies.props
index a7de3e4e3f..71f76db82a 100644
--- a/build/dependencies.props
+++ b/build/dependencies.props
@@ -5,7 +5,8 @@
2.1.1-*
2.0.0-*
2.0.0-*
- 15.3.0-*
- 2.3.0-beta2-*
+ 15.3.0
+ 0.6.1
+ 2.3.0-beta4-build3742
diff --git a/test/Microsoft.AspNetCore.StaticFiles.FunctionalTests/StaticFileMiddlewareTests.cs b/test/Microsoft.AspNetCore.StaticFiles.FunctionalTests/StaticFileMiddlewareTests.cs
index dcaace1874..b2ba4a4f47 100644
--- a/test/Microsoft.AspNetCore.StaticFiles.FunctionalTests/StaticFileMiddlewareTests.cs
+++ b/test/Microsoft.AspNetCore.StaticFiles.FunctionalTests/StaticFileMiddlewareTests.cs
@@ -146,12 +146,12 @@ namespace Microsoft.AspNetCore.StaticFiles
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
- Assert.Equal(0, (await response.Content.ReadAsByteArrayAsync()).Length);
+ Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
}
}
}
- public static IEnumerable ExistingFiles => new[]
+ public static IEnumerable
diff --git a/test/Microsoft.AspNetCore.StaticFiles.Tests/StaticFileMiddlewareTests.cs b/test/Microsoft.AspNetCore.StaticFiles.Tests/StaticFileMiddlewareTests.cs
index d1630ce55b..7517782e51 100644
--- a/test/Microsoft.AspNetCore.StaticFiles.Tests/StaticFileMiddlewareTests.cs
+++ b/test/Microsoft.AspNetCore.StaticFiles.Tests/StaticFileMiddlewareTests.cs
@@ -128,7 +128,7 @@ namespace Microsoft.AspNetCore.StaticFiles
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
- Assert.Equal(0, (await response.Content.ReadAsByteArrayAsync()).Length);
+ Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
}
}
@@ -187,7 +187,7 @@ namespace Microsoft.AspNetCore.StaticFiles
}
}
- public static IEnumerable MissingFiles => new[]
+ public static IEnumerable MissingFiles => new[]
{
new[] {"", @".", "/missing.file"},
new[] {"/subdir", @".", "/subdir/missing.file"},
@@ -195,7 +195,7 @@ namespace Microsoft.AspNetCore.StaticFiles
new[] {"", @"./", "/xunit.xml"}
};
- public static IEnumerable ExistingFiles => new[]
+ public static IEnumerable ExistingFiles => new[]
{
new[] {"", @".", "/TestDocument.txt"},
new[] {"/somedir", @".", "/somedir/TestDocument.txt"},