JaseemAmeer
JaseemAmeer

Reputation: 107

Not able to create resource file in VS2012

I'm trying to generate local resource file for pages. I successfully generated a few, but one of the pages didnt generate resource file, showing a message in output: "Start creating resource content and adding 'meta' attributes to server controls and directives. A resource writer could not be found. Finished creating resource content and adding 'meta' attributes."

Upvotes: 1

Views: 1716

Answers (2)

JaseemAmeer
JaseemAmeer

Reputation: 107

App_LocalResources folder already existed in the parent folder but was excluded from project, hence it was not generating the resx file. All I had to do was to include the folder back into the project.

Upvotes: 2

Furqan Safdar
Furqan Safdar

Reputation: 16718

Try adding/changing the globalization attribute in web.config and then verify.

<system.web>
  <globalization enableClientBasedCulture="true" culture="auto" uiCulture="auto"/>
</system.web>

Hope this helps!

Upvotes: 1

Related Questions