Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Help: change the 'Resource File Name' property

Help: change the 'Resource File Name' property

Scheduled Pinned Locked Moved Managed C++/CLI
questionhardwaredebugginghelplearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Qwick Miller
    wrote on last edited by
    #1

    I changed the Form1 class name using the Property dialog box, because I thought this would properly rename the resources also as it is mention in the header file: /// WARNING: If you change the name of this class, you will need to change the /// 'Resource File Name' property for the managed resource compiler tool /// associated with all .resx files this class depends on. Otherwise, /// the designers will not be able to interact properly with localized /// resources associated with this form. ...but it didn't. This is the exception I get when I try to run it in the debugger: An unhandled exception of type 'System.Resource.MissingManifestResource' occured in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the assembly. Make sure "FormName.resources" was correctly embedded or linked into assembly "MdiApp". ...so how do I make these changes?

    S 1 Reply Last reply
    0
    • Q Qwick Miller

      I changed the Form1 class name using the Property dialog box, because I thought this would properly rename the resources also as it is mention in the header file: /// WARNING: If you change the name of this class, you will need to change the /// 'Resource File Name' property for the managed resource compiler tool /// associated with all .resx files this class depends on. Otherwise, /// the designers will not be able to interact properly with localized /// resources associated with this form. ...but it didn't. This is the exception I get when I try to run it in the debugger: An unhandled exception of type 'System.Resource.MissingManifestResource' occured in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the assembly. Make sure "FormName.resources" was correctly embedded or linked into assembly "MdiApp". ...so how do I make these changes?

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      Try using Find and replace with search range current project.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups