I have localized resx files that I want to convert to JSON and store in js files (e.g. en-US.js).
What would be an efficient means of converting the resource files to javascript files at each build?
I have localized resx files that I want to convert to JSON and store in js files (e.g. en-US.js).
What would be an efficient means of converting the resource files to javascript files at each build?
Create a t4 template to parse it and output your js files. You could do this via a prebuild.
Get Visual Studio to run a T4 Template on every build
I would do this prebuild and then define a bundle to minify and bundle that folder using asp.net 4.5 bundling API or a third party tool like squishit or Minify etc.