Bugs item #1365721, was opened at 2005-11-24 18:34
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1365721&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Tasks
>Group: cvs
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Kaimar (kaimars)
>Assigned to: Gert Driesen (drieseng)
Summary: solution task / resource generation / non-ASCII problems

Initial Comment:
Solution contains Forms which names (also file names)
contain national characters such as ä,ö,ü etc.
Everything compiles without errors but runtime error
appears (see below). 
There are no problems with forms containing only
english characters. All forms which contain national
characters produce similar error.
Using Visual Studio compiler (2003) everything works fine.

ERROR:
Could not find any resources appropriate for the
specified culture (or the neutral culture) in the given
assembly.  Make sure "PõhjadeHaldurForm.resources" was
correctly embedded or linked into assembly "MyProject.UI".

baseName: PõhjadeHaldurForm  locationInfo:
MyProject.PõhjadeHaldurForm  resource file name:
PõhjadeHaldurForm.resources  assembly: MyProject.UI,
Version=0.2.699.0, Culture=neutral, PublicKeyToken=null

Stack Trace:
   at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)

   at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)

   at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)

   at System.Resources.ResourceManager.GetObject(String
name, CultureInfo culture)

   at System.Resources.ResourceManager.GetObject(String
name)

   at MyProject.PõhjadeHaldurForm.InitializeComponent()

   at MyProject.PõhjadeHaldurForm..ctor()
etc etc...




----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2005-11-27 16:20

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs (and will be available in the 
next nightly build).

Thanks for the report !

----------------------------------------------------------------------

Comment By: Kaimar (kaimars)
Date: 2005-11-25 10:05

Message:
Logged In: YES 
user_id=1388034

I created a small test project to repeat the bug. Seems that
the problem is not so simple.
* The error does not appear if the form with national
characters in its name does not contain other controls. 
* The error does not appear if  the form contains simple
controls such as label, textbox etc.
* The error does not appear if  the form contains EMPTY
imagelist.
* The error DOES appear if  the form contains NON-EMPTY
imagelist.

Attached test project includes:
   * a mainform
   * a form without national characters and with filled
imagelist
   * a form with national characters (no imagelist)
   * a form with national characters and with filled imagelist
   * nant buildfile
   * binary result from both Visual Studio IDE compiler and
NAnt Solution compiler (in folder Nantoutput)

To see the error: run Nantoutput\TestApp.exe, click to the
3. button.
To see it working: run TestApp\bin\Debug\TestApp.exe, click
to the 3. button.
To see the difference: just remove imagelist from
FormNonAscii_ö_WithImageList, compile (using nant), run,
click the 3. button.

I use VS 2003 and NAnt 0.85 RC3 (tried also nightly build 24
November).

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2005-11-24 20:48

Message:
Logged In: YES 
user_id=707851

Can you please attach a small repro to this bug report (or 
send it to [EMAIL PROTECTED] by email) ?

Thanks !

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1365721&group_id=31650


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to