We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e375741 commit b7c6062Copy full SHA for b7c6062
1 file changed
docs/docs/create-test-project.md
@@ -76,9 +76,21 @@ dotnet add package bunit.web --version #{VERSION}#
76
77
**3. Change project type to `Microsoft.NET.Sdk.Razor`**
78
79
-Change the first line in project type in the test project's `.csproj` file to:
+Changing the project type to `Microsoft.NET.Sdk.Razor` is done by changing first section of the test project's `.csproj` file to look like this:
80
+
81
+```xml
82
+<Project Sdk="Microsoft.NET.Sdk.Razor">
83
84
+ <PropertyGroup>
85
+ <TargetFramework>netcoreapp3.1</TargetFramework>
86
+ <RazorLangVersion>3.0</RazorLangVersion>
87
+ </PropertyGroup>
88
89
+...
90
91
+</Project>
92
+```
93
-`<Project Sdk="Microsoft.NET.Sdk.Razor">`
94
95
**4. Add the test project to your solution**
96
0 commit comments