Localisation problem - XP / Vista incompatibility RRS feed

  • Question

  •  have an vb .net app (not ASPX!) that compiles and runs on Vista OK

    When I compile with Visual Sudio and run on XP, (or install the working Vista version on XP), I get...

    Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "LocalisedText.resources" was correctly embedded or linked into assembly "PCS_UploadDownload" at compile time, or that all the satellite assemblies required are loadable and fully signed.

    when executing the code below.

    How can I fix this so the app runs on both systems?

            Dim ci As CultureInfo = Nothing
            Dim rm As New ResourceManager("LocalisedText", [Assembly].GetExecutingAssembly())
            Return rm.GetString(id, ci) '<-- error here
    Saturday, September 26, 2009 9:08 AM