Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Note: I don't think release is required, but I've primarily been debugging/running in release due to some ANCM tests only working in release
I'm using VS2022 17.1.0/against main branch (with IIS installed + Admin powershell)
- git clean -xdff/restore.cmd/activate.ps1
- cd src/Servers/IIS
- build.cmd -c Release
- startvs.cmd / switch to Release/x64 platform
- Wait for test explorer to load all the tests, then go to Microsoft.AspNetCore.Server.IIS.NewShim.FunctionalTests.StartupTests.CheckInvalidHostingModelParameter
- Double click on test to open StartupTests.cs (C:\Github\aspnetcore\src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs)
- Comment out the
[SkipNonHelix("https://github.com/dotnet/aspnetcore/issues/25107")]
on line 41 - Run the test, notice that nothing builds as things are considered up to date and yet still is skipped.
- Add
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
to src\Servers\IIS\IIS\test\IIS.NewShim.FunctionalTests\IIS.NewShim.FunctionalTests.csproj - Run the test and notice it rebuilds and the test is no longer skipped.
I'm guessing this is might be due to StartupTests is being a file included from shared tests
<Compile Include="..\Common.LongTests\**\*.cs" />
`
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response