Skip to content

Instantly share code, notes, and snippets.

@bangonkali
Created February 22, 2018 12:06
Show Gist options
  • Save bangonkali/a76a6e0ffd211e569800ff3ec443820c to your computer and use it in GitHub Desktop.
Save bangonkali/a76a6e0ffd211e569800ff3ec443820c to your computer and use it in GitHub Desktop.
App_GlobalResources Dilemma
Thanks for help
I did:
Create folder Resources
Move all resources from App_GlobalResources to new folder
Change all file properties:
Build Action: Embedded Resource
Copy to output: Copy always
Custom Tool: PublicResXFileCodeGenerator
Custom Tool Namespace: Resources
This setting allowed me to change Access Modifier resx file to Public.
Now the project work in local machine. File resx during publish are coping to serwer. Server application is work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment