Skip to content

Commit b2a2ef1

Browse files
committed
FrameworkRef
1 parent 26bdc25 commit b2a2ef1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
<None Include="..\InProcessWebSite\web.config" CopyToOutputDirectory="PreserveNewest" />
2828
</ItemGroup>
2929

30-
<ItemGroup>
30+
<ItemGroup Condition="'$(TargetFrameworks)' == '$(NetMinimum)'">
31+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
32+
</ItemGroup>
33+
34+
<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
3135
<Reference Include="Microsoft.AspNetCore.Server.IIS" />
3236
<Reference Include="Microsoft.AspNetCore.Hosting" />
3337
<Reference Include="Microsoft.AspNetCore.ResponseCompression" />

0 commit comments

Comments
 (0)