Skip to content

Commit 0aec8b4

Browse files
authored
Fix some fast up to date check issues in VS (#32140)
1 parent 3d2981c commit 0aec8b4

File tree

17 files changed

+25
-42
lines changed

17 files changed

+25
-42
lines changed

src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
<ItemGroup>
3535
<YarnInputs Include="$(YarnWorkingDir)**" Exclude="$(YarnWorkingDir)node_modules\**;$(YarnWorkingDir)*.d.ts;$(YarnWorkingDir)dist\**" />
3636
<YarnOutputs Include="$(YarnWorkingDir)dist\$(Configuration)\AuthenticationService.js" />
37-
<YarnOutputs Include="$(YarnWorkingDir)dist\$(Configuration)\AuthenticationService.js.map" Condition="'$(Configuration)' == 'Debug'" />
3837

3938
<Content Remove="$(YarnWorkingDir)**" />
4039
<None Include="$(YarnWorkingDir)*" Exclude="$(YarnWorkingDir)node_modules\**" />

src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
<ItemGroup>
3636
<YarnInputs Include="$(YarnWorkingDir)**" Exclude="$(YarnWorkingDir)node_modules\**;$(YarnWorkingDir)*.d.ts;$(YarnWorkingDir)dist\**" />
3737
<YarnOutputs Include="$(YarnWorkingDir)dist\$(Configuration)\AuthenticationService.js" />
38-
<YarnOutputs Include="$(YarnWorkingDir)dist\$(Configuration)\AuthenticationService.js.map" Condition="'$(Configuration)' == 'Debug'" />
3938

4039
<Content Remove="$(YarnWorkingDir)**" />
4140
<None Include="$(YarnWorkingDir)*" Exclude="$(YarnWorkingDir)node_modules\**" />

src/DefaultBuilder/test/Microsoft.AspNetCore.Tests/Microsoft.AspNetCore.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<ItemGroup>
88
<Reference Include="Microsoft.AspNetCore" />
99
<Reference Include="Microsoft.AspNetCore.TestHost" />
10-
<Content Include="Microsoft.AspNetCore.TestHost.StaticWebAssets.xml" CopyToOutputDirectory="Always" />
10+
<Content Include="Microsoft.AspNetCore.TestHost.StaticWebAssets.xml" CopyToOutputDirectory="PreserveNewest" />
1111
</ItemGroup>
1212

1313
</Project>

src/Identity/ApiAuthorization.IdentityServer/test/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.Tests.csproj

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,10 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<None Update="current.pfx">
21-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
22-
</None>
23-
<None Update="expired.pfx">
24-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
25-
</None>
26-
<None Update="future.pfx">
27-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
28-
</None>
29-
<None Update="test.pfx">
30-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
31-
</None>
20+
<None Update="current.pfx" CopyToOutputDirectory="PreserveNewest" />
21+
<None Update="expired.pfx" CopyToOutputDirectory="PreserveNewest" />
22+
<None Update="future.pfx" CopyToOutputDirectory="PreserveNewest" />
23+
<None Update="test.pfx" CopyToOutputDirectory="PreserveNewest" />
3224
</ItemGroup>
3325

3426
</Project>

src/Identity/test/Identity.FunctionalTests/Microsoft.AspNetCore.Identity.FunctionalTests.csproj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
@@ -29,12 +29,8 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<None Update="Testing.DefaultWebSite.StaticWebAssets.V4.xml">
33-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
34-
</None>
35-
<None Update="Testing.DefaultWebSite.StaticWebAssets.V5.xml">
36-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
37-
</None>
32+
<None Update="Testing.DefaultWebSite.StaticWebAssets.V4.xml" CopyToOutputDirectory="PreserveNewest" />
33+
<None Update="Testing.DefaultWebSite.StaticWebAssets.V5.xml" CopyToOutputDirectory="PreserveNewest" />
3834
</ItemGroup>
3935

4036
<Target Name="AddProjectReferenceAssemblyInfo" BeforeTargets="GetAssemblyAttributes" DependsOnTargets="ResolveAssemblyReferences">

src/Servers/IIS/AspNetCoreModuleV2/Symbols/Microsoft.AspNetCore.ANCMSymbols.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project>
1+
<Project>
22
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
33
<Import Project="..\..\build\assets.props" />
44

@@ -30,6 +30,9 @@
3030
<ItemGroup Condition=" '$(BuildIisNativeProjects)' == 'true' ">
3131
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\OutOfProcessRequestHandler\OutOfProcessRequestHandler.vcxproj" Platform="$(NativeVCPlatform)" />
3232
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\AspNetCore\AspNetCore.vcxproj" Platform="$(NativeVCPlatform)" />
33+
34+
<UpToDateCheckInput Include="$(AspNetCoreModuleV2OutOfProcessHandlerDll)" />
35+
<UpToDateCheckInput Include="$(AspNetCoreModuleV2ShimDll)" />
3336
</ItemGroup>
3437

3538
<Target Name="AddPackNativeComponents" AfterTargets="_CalculateInputsOutputsForPack" Condition="'$(BuildIisNativeProjects)' == 'true' AND '$(PackNativeAssets)' == 'true'">

src/Servers/IIS/IIS/src/Microsoft.AspNetCore.Server.IIS.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
@@ -36,7 +36,9 @@
3636
<ItemGroup Condition=" '$(BuildIisNativeProjects)' == 'true' ">
3737
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\InProcessRequestHandler\InProcessRequestHandler.vcxproj" Platform="x64" />
3838
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\InProcessRequestHandler\InProcessRequestHandler.vcxproj" Platform="Win32" />
39-
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\InProcessRequestHandler\InProcessRequestHandler.vcxproj" Platform="ARM64" />
39+
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\InProcessRequestHandler\InProcessRequestHandler.vcxproj" Platform="ARM64" />
40+
41+
<UpToDateCheckInput Include="$(AspNetCoreModuleV2InProcessHandlerDll)" />
4042
</ItemGroup>
4143

4244
<ItemGroup>

src/Servers/IIS/IIS/test/IIS.FunctionalTests/IIS.FunctionalTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<TestGroupName>IIS.FunctionalTests</TestGroupName>
66
<DefineConstants>IIS_FUNCTIONALS</DefineConstants>
7-
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
87
<SkipTests Condition=" '$(SkipIISTests)' == 'true' ">true</SkipTests>
98
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
109
</PropertyGroup>

src/Servers/IIS/IIS/test/IIS.NewHandler.FunctionalTests/IIS.NewHandler.FunctionalTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<TestGroupName>IISNewHandler.FunctionalTests</TestGroupName>
6-
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
76
<DefineConstants>NEWHANDLER_FUNCTIONALS</DefineConstants>
87
<SkipTests Condition=" '$(SkipIISNewHandlerTests)' == 'true' ">true</SkipTests>
98
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

src/Servers/IIS/IIS/test/IIS.NewShim.FunctionalTests/IIS.NewShim.FunctionalTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<TestGroupName>IISNewShim.FunctionalTests</TestGroupName>
6-
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
76
<DefineConstants>NEWSHIM_FUNCTIONALS</DefineConstants>
87
<SkipTests Condition=" '$(SkipIISNewShimTests)' == 'true' ">true</SkipTests>
98
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

src/Servers/IIS/IIS/test/IIS.ShadowCopy.Tests/IIS.ShadowCopy.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<TestGroupName>IIS.ShadowCopy.Tests</TestGroupName>
6-
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
76
<SkipTests Condition=" '$(SkipIISTests)' == 'true' ">true</SkipTests>
87
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
98
</PropertyGroup>

src/Servers/IIS/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
<PropertyGroup>
66
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
7-
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
87
<DefineConstants>IISEXPRESS_FUNCTIONALS</DefineConstants>
98
<TestGroupName>IISExpress.FunctionalTests</TestGroupName>
109
<SkipTests Condition=" '$(SkipIISExpressTests)' == 'true' ">true</SkipTests>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<Compile Include="..\shared\**\*.cs" />
2121
<Compile Include="..\InProcessWebSite\*.cs" />
2222
<Compile Include="..\InProcessWebSite\Properties\*.cs" />
23-
<None Include="..\InProcessWebSite\wwwroot\**" CopyToOutputDirectory="Always" LinkBase="wwwroot/"/>
24-
<None Include="..\InProcessWebSite\web.config" CopyToOutputDirectory="Always" />
23+
<None Include="..\InProcessWebSite\wwwroot\**" CopyToOutputDirectory="PreserveNewest" LinkBase="wwwroot/"/>
24+
<None Include="..\InProcessWebSite\web.config" CopyToOutputDirectory="PreserveNewest" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<Import Project="..\..\..\..\build\testsite.props" />
44

@@ -14,7 +14,7 @@
1414

1515
<ItemGroup>
1616
<Compile Include="..\shared\**\*.cs" />
17-
<None Include="wwwroot\**" CopyToOutputDirectory="Always" />
17+
<None Include="wwwroot\**" CopyToOutputDirectory="PreserveNewest" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/Servers/IIS/IntegrationTesting.IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<PackageId>Microsoft.AspNetCore.Server.IntegrationTesting.IIS</PackageId>
66
<Description>Provides support for integration testing using IIS based servers.</Description>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<PackageTags>aspnetcore;iis</PackageTags>
9-
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
109
<AspNetCoreModuleOutOfProcessVersion>2.0.0</AspNetCoreModuleOutOfProcessVersion>
1110
<IsTestAssetProject>true</IsTestAssetProject>
1211
<!-- This is used as a package by ASP.NET benchmarking infrastructure. It is meant for internal use only. -->
@@ -40,6 +39,9 @@
4039

4140
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\AspNetCore\AspNetCore.vcxproj" Platform="Win32" />
4241
<NativeProjectReference Include="$(MSBuildThisFileDirectory)..\..\AspNetCoreModuleV2\OutOfProcessRequestHandler\OutOfProcessRequestHandler.vcxproj" Platform="Win32" />
42+
43+
<UpToDateCheckInput Include="$(AspNetCoreModuleV2ShimDll)" />
44+
<UpToDateCheckInput Include="$(AspNetCoreModuleV2OutOfProcessHandlerDll)" />
4345
</ItemGroup>
4446

4547
<Target Name="AddRunNativeComponents" BeforeTargets="AssignTargetPaths" Condition="'$(BuildIisNativeProjects)' == 'true'">

src/Servers/IIS/build/testsite.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<IISExpressAppHostConfig>$(MSBuildThisFileDirectory)applicationhost.config</IISExpressAppHostConfig>
77
<IISAppHostConfig>$(MSBuildThisFileDirectory)applicationhost.iis.config</IISAppHostConfig>
88
<PreserveCompilationContext>false</PreserveCompilationContext>
9-
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
109
<!-- Work around until we get a new WebSdk -->
1110
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
1211
<HasTestAssetProfile Condition="'$(TestAssetProfile)' != ''">true</HasTestAssetProfile>

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
@@ -10,8 +10,6 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<None Remove="selenium\run-ci-tests.ts" />
14-
<None Remove="selenium\run-tests.ts" />
1513
<None Remove="ts\Common.ts" />
1614
<None Remove="ts\ConnectionTests.ts" />
1715
<None Remove="ts\HubConnectionTests.ts" />
@@ -43,8 +41,6 @@
4341
</ItemGroup>
4442

4543
<ItemGroup>
46-
<TypeScriptCompile Include="selenium\run-ci-tests.ts" />
47-
<TypeScriptCompile Include="selenium\run-tests.ts" />
4844
<TypeScriptCompile Include="ts\Common.ts" />
4945
<TypeScriptCompile Include="ts\ConnectionTests.ts" />
5046
<TypeScriptCompile Include="ts\HubConnectionTests.ts" />

0 commit comments

Comments
 (0)