Skip to content

Commit b4f3300

Browse files
committed
Update Microsoft.AspNetCore.Identity.UI.csproj
1 parent 0e5baa9 commit b4f3300

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/Identity/UI/src/Microsoft.AspNetCore.Identity.UI.csproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
<Target Name="SetupRazorInputs" BeforeTargets="ResolveRazorGenerateInputs">
4141
<ItemGroup>
42-
<_RazorGenerate Include="Areas\Identity\Pages\V4\**\*.cshtml" />
42+
<_RazorGenerate Include="Areas\Identity\Pages\$(UIFrameworkVersion)\**\*.cshtml" />
4343

4444
<RazorGenerate Include="@(_RazorGenerate)" Link="Areas\Identity\Pages\%(RecursiveDir)%(Filename)%(Extension)" />
4545
</ItemGroup>
@@ -51,6 +51,7 @@
5151
<StaticWebAsset Remove="@(StaticWebAsset)" />
5252

5353
<_V4Content Include="wwwroot\V4\**" />
54+
<_V5Content Include="wwwroot\V5\**" />
5455

5556
<StaticWebAsset Include="@(_V4Content->'%(FullPath)')">
5657
<SourceType></SourceType>
@@ -59,6 +60,15 @@
5960
<BasePath>/Identity</BasePath>
6061
<RelativePath>%(RecursiveDir)%(FileName)%(Extension)</RelativePath>
6162
</StaticWebAsset>
63+
64+
<StaticWebAsset Include="@(_V5Content->'%(FullPath)')">
65+
<SourceType></SourceType>
66+
<SourceId>Microsoft.AspNetCore.Identity.UI</SourceId>
67+
<ContentRoot>$([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)wwwroot/V5'))</ContentRoot>
68+
<BasePath>/Identity</BasePath>
69+
<RelativePath>%(RecursiveDir)%(FileName)%(Extension)</RelativePath>
70+
</StaticWebAsset>
71+
6272
</ItemGroup>
6373

6474
</Target>

0 commit comments

Comments
 (0)