Nicolas Raoul
Nicolas Raoul

Reputation: 60213

Visual C# localization: Resources DLLs generated only in obj/Debug/tempPE

To internationalize&localize my Visual C# 2010 Express project I created Resources.resx and Resources.fr.resx containing key-value strings:

enter image description here

When I press Rebuild, two DLLs get created:

obj/Debug/tempPE/Properties.Resources.Designer.cs.dll
obj/Debug/tempPE/Properties.Resources.fr.Designer.cs.dll

Why in this odd location?
Should I embed those in my installer?
No other Resources DLL are generated anywhere so I have no choice, but it is scary to ship files coming from a "tempPE" folder...

Upvotes: 0

Views: 2477

Answers (2)

dedlfix
dedlfix

Reputation: 41

Only the default language file needs an Access Modifier of Internal or Public. All other language files need "No code generation".

The obj folder you can ignore. It is there for the build process and for Visual Studio's purpose. All you need for your program to work is in bin. You can delete both folders, they will be recreated.

Upvotes: 1

Jaska
Jaska

Reputation: 1037

Remove Resource.fr.Designer.cs file. It should not be there. Resource.Designed.cs is enough.

Upvotes: 1

Related Questions