Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

JavaScript Localization for SharePoint via VisualStudio

$
0
0

Hi,

I've small issue with resx files used in SharePoint project. I can use resources from JS if they contains following code:

<?xml version="1.0" encoding="utf-8"?><root><resheader name="scriptResx"><value>true</value></resheader><!-- the full name of the JavaScript class.	--><resheader name="classFullName"><value>Roche.Intranet.Resources</value></resheader><!-- 
Rest autogenerated stuff
--></root>

Everything works fine until some edits the resources file via VS Resources Designer. Regeneration removes additional nodes:/ 

Is there option in Visual Studio/resx to block regeneration of specific section or pass above attributes from designer?

BR,

Igby



Viewing all articles
Browse latest Browse all 11571

Trending Articles



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