Quantcast
Channel: ResX Resource Manager
Viewing all articles
Browse latest Browse all 2435

Commented Unassigned: Comment characters in strings causes ResX Manager to overlook resource usaages [4751]

$
0
0
If a resource appears after a comment sequence in a string (such as a URL), ResX Manager does not recognizes this as a valid resource usage:

string url = string.Format("{0}://{1}?{2}", secure ? "https" : "http", domain, Resources.File.Key);
Comments: ** Comment from web user: tomenglert **

Yes, this is due to the simple, language agnostic algorithm.
You can configure this by removing the comment token for .cs at all, then it will find this, but also in comments... whatever works better for you.


Viewing all articles
Browse latest Browse all 2435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>