I have an ASP.Net Core MVC application (written in F#) using .Net Core 3 that has the views in an external Razor Class Library (because you can't mix C# and F#), however, when I run the application the views are not found.
The MVC application does have a reference to the class-library however when I looked at the class-library DLL using dotPeek it did not have any compiled views in it:
This is the csproj of the Razor class library:
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SportsStore.Infrastructure\SportsStore.Infrastructure.fsproj" />
<ProjectReference Include="..\SportsStore.Models\SportsStore.Models.fsproj" />
<ProjectReference Include="..\SportsStore.TagHelpers\SportsStore.TagHelpers.fsproj" />
</ItemGroup>
</Project>
And there are Views in the project:
I am guessing that the csproj file is most likely wrong, but how can I fix it?

