Skip to content Skip to sidebar Skip to footer

"xxx" Does Not Exist. Change Its Name Or Declare It So That Its Usage Doesn't Result In A "referenceerror"

I have been using sonar in my projects. I get that error ''kendo' does not exist. Change its name or declare it so that its usage doesn't result in a 'ReferenceError'. I know it's

Solution 1:

If you use the Scanner for MsBuild, add these lines to your .csproj file:

<ItemGroup>
  <SonarQubeSettingInclude="sonar.javascript.globals">
    <Value>kendo,kendo2,etc</Value>
  </SonarQubeSetting></ItemGroup>

Alternative ways to specify settings are described in the official documentation.

Post a Comment for ""xxx" Does Not Exist. Change Its Name Or Declare It So That Its Usage Doesn't Result In A "referenceerror""