In order to compile the resource files into a binary DLL, you must use the proper .NET Framework Resource Generator (ResGen.exe) and Assembly Linker (al.exe) to create the localized resource DLL to use with Smart Construction. Both of these programs are typically located in the BIN directory under [Drive]:\Program Files\Windows SDKs\V7.0A installation path.
Run the Resource Generator executable
Open a Command Prompt window.
Change the active path to the folder that contains the SPCServerResources.resx file that needs to be compiled.
Run the Resource Generator executable file and specify the name of the resource file and the name of the output file.
For example, if you are translating the file into Portuguese, the file name is SPCServerResources.pt.Resources. The command line to execute would be "C:\Program Files (x86)\Microsoft SDKs\Windows\V7.0A\Bin\ResGen.exe." SPC.ServerResources.Resx SPCServerResources.pt.Resources.
Repeat steps 1-3 for the SPCResources.resx file.
Run the Assembly Linker executable
Use the Assembly Linker executable to compile the SPCResources.[culture code].Resources and the SPCServerResources.[culture code].Resources files into a single SPC.SharedResources.dll.
The command line parameters for the Assembly Linker program are:
/t: lib - compiles the file into a library.
/embed: SPCClientResources.[culture code].Resources - embeds the Resources file generated by the Resource Generator program into a DLL.
/culture:[culture code] - identifies the culture for which the DLL is being compiled.
/version[version number] - a version number to apply to the DLL.
/out.SPC.Client.Infrastructure.Resources.dll - name of the output file to write.
For example, if you are translating the file into Portuguese, the command line to execute would be "C:\Program Files (x86)\Microsoft SDKs\Windows\V7.0A\Bin\al.exe." /t:lib /embed:SPCResources.pt.Resources /embed:SPCServerResources.pt.Resources /culture:pt /version:126.96.36.199 /out:SPC.Shared.Resources.dll.
After you run the Assembly Linker program, five files can be found in the folder: