Skip to content

Commit e0cb686

Browse files
committed
Remove @(RuntimeHostConfigurationOption) workarounds
- deps files are unaffected by new ref/ assembly handling and test projects aren't special-cased - also execute a test previously skipped due to deps file problems
1 parent a8a5569 commit e0cb686

File tree

14 files changed

+1
-84
lines changed

14 files changed

+1
-84
lines changed

src/Components/Blazor/testassets/Directory.Build.props

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/Components/test/testassets/Directory.Build.props

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/DefaultBuilder/testassets/Directory.Build.props

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,4 @@
66
<BaseOutputPath />
77
<OutputPath />
88
</PropertyGroup>
9-
10-
<ItemGroup>
11-
<!-- Workaround missing entries in deps files. Still under investigation -->
12-
<RuntimeHostConfigurationOption
13-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
14-
Value="true" />
15-
</ItemGroup>
169
</Project>

src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<!-- Workaround missing entries in deps files. Still under investigation -->
10-
<RuntimeHostConfigurationOption
11-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
12-
Value="true" />
13-
149
<Reference Include="Microsoft.AspNetCore.Hosting" />
1510
<Reference Include="Microsoft.AspNetCore.TestHost" />
1611
<Reference Include="Microsoft.Extensions.DependencyInjection" />

src/Middleware/CORS/test/testassets/Directory.Build.props

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,4 @@
66
<BaseOutputPath />
77
<OutputPath />
88
</PropertyGroup>
9-
10-
<ItemGroup>
11-
<!-- Workaround missing entries in deps files. Still under investigation -->
12-
<RuntimeHostConfigurationOption
13-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
14-
Value="true" />
15-
</ItemGroup>
169
</Project>

src/Middleware/HealthChecks/test/testassets/HealthChecksSample/HealthChecksSample.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<!-- Workaround missing entries in deps files. Still under investigation -->
9-
<RuntimeHostConfigurationOption
10-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
11-
Value="true" />
12-
138
<Reference Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" />
149
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
1510
<Reference Include="Microsoft.AspNetCore.StaticFiles" />

src/Middleware/HttpOverrides/test/Microsoft.AspNetCore.HttpOverrides.Tests.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<!-- Workaround missing entries in deps files. Still under investigation -->
9-
<RuntimeHostConfigurationOption
10-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
11-
Value="true" />
12-
138
<Reference Include="Microsoft.AspNetCore.HttpOverrides" />
149
<Reference Include="Microsoft.AspNetCore.TestHost" />
1510
<Reference Include="Microsoft.Extensions.Logging.Testing" />

src/Middleware/StaticFiles/test/FunctionalTests/Microsoft.AspNetCore.StaticFiles.FunctionalTests.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<!-- Workaround missing entries in deps files. Still under investigation -->
30-
<RuntimeHostConfigurationOption
31-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
32-
Value="true" />
33-
3429
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
3530
<Reference Include="Microsoft.AspNetCore.Server.HttpSys" />
3631
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />

src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationParts
1212
{
1313
public class AssemblyPartExtensionTest
1414
{
15-
[Fact(Skip = "Deps file generation is incorrect, investigation ongoing.")]
15+
[Fact]
1616
public void GetReferencePaths_ReturnsReferencesFromDependencyContext_IfPreserveCompilationContextIsSet()
1717
{
1818
// Arrange

src/Mvc/test/WebSites/Directory.Build.props

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,4 @@
44
</PropertyGroup>
55
<!-- Skip the parent folder to prevent getting test package references. -->
66
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\..\, Directory.Build.props))\Directory.Build.props" />
7-
8-
<ItemGroup>
9-
<!-- Workaround missing entries in deps files. Still under investigation -->
10-
<RuntimeHostConfigurationOption
11-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
12-
Value="true" />
13-
</ItemGroup>
147
</Project>

src/Security/test/AuthSamples.FunctionalTests/AuthSamples.FunctionalTests.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
</ItemGroup>
2323

2424
<ItemGroup>
25-
<!-- Workaround missing entries in deps files. Still under investigation -->
26-
<RuntimeHostConfigurationOption
27-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
28-
Value="true" />
29-
3025
<Reference Include="Microsoft.AspNetCore" />
3126
<Reference Include="Microsoft.AspNetCore.Hosting" />
3227
<Reference Include="Microsoft.AspNetCore.TestHost" />

src/Servers/IIS/IIS/test/testassets/InProcessWebSite/InProcessWebSite.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
<ItemGroup>
1616
<Compile Include="..\shared\**\*.cs" />
1717
<None Include="wwwroot\**" CopyToOutputDirectory="Always" />
18-
19-
<!-- Workaround missing entries in deps files. Still under investigation -->
20-
<RuntimeHostConfigurationOption
21-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
22-
Value="true" />
2318
</ItemGroup>
2419

2520
<ItemGroup>

src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<!-- Workaround missing entries in deps files. Still under investigation -->
13-
<RuntimeHostConfigurationOption
14-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
15-
Value="true" />
16-
1712
<Reference Include="Microsoft.AspNetCore.Authentication.Negotiate" />
1813
<Reference Include="Microsoft.AspNetCore.ResponseCompression" />
1914
<Reference Include="Microsoft.AspNetCore.Server.HttpSys" />

src/SignalR/clients/ts/FunctionalTests/SignalR.Client.FunctionalTestApp.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@
4141
<Folder Include="wwwroot\js\" />
4242
</ItemGroup>
4343

44-
<ItemGroup>
45-
<!-- Workaround missing entries in deps files. Still under investigation -->
46-
<RuntimeHostConfigurationOption
47-
Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths"
48-
Value="true" />
49-
</ItemGroup>
50-
5144
<ItemGroup>
5245
<TypeScriptCompile Include="selenium\run-ci-tests.ts" />
5346
<TypeScriptCompile Include="selenium\run-tests.ts" />

0 commit comments

Comments
 (0)