Dear Support,
I am the latest version of SonarCloud.
During the Run Code Analysis of the build in with Azure DevOps I get the following errors:
##[error]ERROR: Failed to parse file:///C:/A/1/_work/102/s/RulesWebApplication/Website/Views/Details/ReportManagerPartialView.cshtml, line 87, Unclosed bracket
##[error]ERROR: Failed to parse file:///C:/A/1/_work/102/s/RulesWebApplication/Website/Views/Forms/FormMailBodyPartialView.cshtml, line 65, At-rule without name
Hereby the content of the lines of the specified cshtml-files:
ReportManagerPartialView.cshtml:
<a href="#" style=“padding-left:16px; display:@(Model.CanUsePowerBI ? “inline” : “none”)” id="@(htmlElementIdBtnPowerBI)"
title="@(TranslatorHelper.GetString(“Details.DetailsReportManagerPartialView.Anchor.PowerBI.Title”))">
URL in SonarCloud:
https://sonarcloud.io/code?id=MavimAllProjects&selected=MavimAllProjects%3ARulesWebApplication%2FWebsite%2FViews%2FDetails%2FReportManagerPartialView.cshtml
FormMailBodyPartialView.cshtml:
@TranslatorHelper.GetString("Forms.FormMailBodyPartialView.Input.Caption")URL in SonarCloud:
https://sonarcloud.io/code?id=MavimAllProjects&selected=MavimAllProjects%3ARulesWebApplication%2FWebsite%2FViews%2FForms%2FFormMailBodyPartialView.cshtml
Unfortunately, I cannot detect the errors.
Could you look into this issue?
With Kind Regards,
Thierry