ReSharper is not detecting Hardcoded connection strings and URIs Follow
Completed
Hello,
I have a .Net application that contains VB project and web site code. I have integrated Resharper with Visual Studio and tried to identify the hard-coded connection strings and URIs in the source code. But it is not working. I have done the following steps to enable the rule. Since we are migrating the applications, this is a must check. Please help. Thanks.
- Turn on solution wide analysis.
- Go to
ReSharper
|Options
|Code Inspection
|Inspection Severity
|Potential Code Quality Issues
|Element is localizable
set toShow as error
. - Go back to Solution Explorer and click on the project (web site project).
- In Properties panel under ReSharper category, set Localizable to Yes, Localizable Inspector to Pessimistic.
Please sign in to leave a comment.
Any update on this please?
As far as detecting hard-coded strings as localizable hasn't met user's needs, it was suggested to add corresponding inspection to ReSharper - https://youtrack.jetbrains.com/issue/RSRP-470551.