Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i compile the project . but on command "InitializeComponent();" of starter form an error will be appeared

public MainForm()
{
InitializeComponent();



this error be shown after compile :

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

thanks very much
Posted

It can be due to mismatch in namespace.

Try this - right click on the [ResourceFile] from Solution Explorer. Then set Build Action property "Compile" to "Embedded Resource"

Finally rebuild once again and see if your problem is resolved.

Hope it helps :)
 
Share this answer
 
Comments
armm1388 26-Jan-15 7:39am    
hi
there is not "Compile" in my project
in some project there is following tabs:

application
compile
debug
Refrences
Recources
....


but in my project i see following tabs:

application
Build
Build Events
debug
Refrences
Recources
....


why? how can do untile i see as first case


thanks very much
hi
there is not "Compile" in my project
in some project there is following tabs:

application
compile
debug
Refrences
Recources
....


but in my project i see following tabs:

application
Build
Build Events
debug
Refrences
Recources
....


why? how can do untile i see as first case
 
Share this answer
 
Comments
CHill60 26-Jan-15 10:19am    
Build is the same as Compile.
If you want to respond to a post use the "Have a Question or Comment?" link or "Reply" link if it is to a comment

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900