Skip to content

Commit dbe851c

Browse files
authored
Update compiled-languages-csharp.md
1 parent 3272f5e commit dbe851c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

troubleshooting/codeql-builds/compiled-languages-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ For `Error ASPCONFIG: Could not load type 'X.Y.Z'`, ensure that you do not have
170170
To avoid building and scanning any view code in your project (potential false negatives in the scan as view engine code may not be evaluated for vulnerabilities) and to workaround the requirement that MvcBuildViews is automatically injected. Consider this [community contributed suggestion](https://github.com/github/codeql/issues/11890#issuecomment-1496970164):
171171

172172
```powershell
173-
# tweaking the csproj file with powershell during the GitHub Action so that the hard-coded condition "gets fooled", basically. Something like this:
173+
# tweaking the csproj file with powershell during the build so that the hard-coded target condition "gets fooled", basically. Something like this:
174174
175175
$filePath = (Join-Path $pwd '\SUBFOLDER\YOURCSPROJFILE.csproj')
176176
$csproj = [xml](Get-Content $filePath)

0 commit comments

Comments
 (0)