Skip to content

Commit ea047ff

Browse files
Enable Razor support for MVC in project file
1 parent e824950 commit ea047ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/Umbraco.Cms.Integrations.Search.Algolia.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<Nullable>enable</Nullable>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<StaticWebAssetBasePath>/App_Plugins/Algolia</StaticWebAssetBasePath>
7+
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
78
<CompressionEnabled>false</CompressionEnabled>
89
<EnableDefaultContentItems>false</EnableDefaultContentItems>
910
</PropertyGroup>
@@ -48,4 +49,4 @@
4849
<Target Name="ClientAssetsBuildOutputPath" BeforeTargets="ClientAssetsBuild">
4950
<WriteLinesToFile File="Client\config.outputPath.js" Lines="export const outputPath = '../wwwroot';" Overwrite="true" />
5051
</Target>
51-
</Project>
52+
</Project>

0 commit comments

Comments
 (0)