Skip to content

Commit a7f1c32

Browse files
AddRazorSupportForMvc
1 parent c02083b commit a7f1c32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ProjectTemplates/Web.ProjectTemplates/RazorClassLibrary-CSharp.csproj.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFramework Condition="'$(SupportPagesAndViews)' != 'True'">netstandard2.0</TargetFramework>
66
<RazorLangVersion Condition="'$(SupportPagesAndViews)' != 'True'">3.0</RazorLangVersion>
77
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.RazorClassLibrary1</RootNamespace>
8+
<AddRazorSupportForMvc Condition="'$(SupportPagesAndViews)' == 'True'">true</AddRazorSupportForMvc>
89
</PropertyGroup>
910

1011
<ItemGroup Condition="'$(SupportPagesAndViews)' == 'True'">

0 commit comments

Comments
 (0)