Customised Identity UI razor pages not being deployed to server when publishing to IIS using Web Deploy.
Is there any specific configuration I need to add to use ?
According to Docs is already included in in .csproj file.
Customised Identity UI razor pages not being deployed to server when publishing to IIS using Web Deploy.
Is there any specific configuration I need to add to use ?
According to Docs is already included in in .csproj file.
On
I have added these lines to my .csproj and fixed it. more info is in this answer
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>
</PropertyGroup>
I had a similar issue and I noticed that in the csproj file I had
Which was needed in 2.0. I simply removed it in 2.1 and it worked.
Perhaps you can give that a try