Skip to content

Commit 8e16754

Browse files
committed
Suppress WebHostBuilder obsoletion warnings in UseSolutionRelativeContentRootTests
1 parent 6d790f1 commit 8e16754

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Hosting/TestHost/test/UseSolutionRelativeContentRootTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Microsoft.AspNetCore.TestHost;
88

9+
#pragma warning disable ASPDEPR004 // Type or member is obsolete
910
public class UseSolutionRelativeContentRootTests : IDisposable
1011
{
1112
private readonly string _tempDirectory;
@@ -194,3 +195,4 @@ public void Dispose()
194195
}
195196
}
196197
}
198+
#pragma warning restore ASPDEPR004 // Type or member is obsolete

0 commit comments

Comments
 (0)