Ramon Smits

Tell me your secrets and i'll tell you mine

Recent Posts

Tags

Community

Email Notifications

Patterns & Practices / Guidelines

EntLib

Nant

Blogs that I monitor

Archives

String Resource Generator (SRG) and VS2005

I thought that VS2005 or well.. Visual Studio Express edition would have the string resource generator (SRG) feature build in. Turns out that it only has the resources as strongtyped properties and lacks the cool parameterized methods. So I installed the string resource generator but visual studio express edition couldn't run it. Seemed that more people had problems with it when browsing the feedback. The problem is that visual studio doesn't run/use generators from previous versions (VS2002/VS2003). I added the following  information to the registry to make it works again:


Visual Studio Express

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCSExpress\8.0\Generators\{fae04ec1-301f-11d3-bf4b-00c04f79efbc}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCSExpress\8.0\Generators\{fae04ec1-301f-11d3-bf4b-00c04f79efbc}\SRCodeGen]
@="String Resource Class Generator"
"CLSID"="{75eb777f-aeba-492a-8a66-faea696086de}"
"GeneratesDesignTimeSource"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCSExpress\8.0\Generators\{fae04ec1-301f-11d3-bf4b-00c04f79efbc}\StringResourceTool]
@="String Resource Class Generator"
"CLSID"="{75eb777f-aeba-492a-8a66-faea696086de}"
"GeneratesDesignTimeSource"=dword:00000001
Sorry for the bad lay-out but the "smart" editor that we use is a bit too smart so it f**ks up my post.

Visual Studio 2005

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Generators\{fae04ec1-301f-11d3-bf4b-00c04f79efbc}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Generators\{fae04ec1-301f-11d3-bf4b-00c04f79efbc}\SRCodeGen]
@="String Resource Class Generator"
"CLSID"="{75eb777f-aeba-492a-8a66-faea696086de}"
"GeneratesDesignTimeSource"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Generators\{fae04ec1-301f-11d3-bf4b-00c04f79efbc}\StringResourceTool]
@="String Resource Class Generator"
"CLSID"="{75eb777f-aeba-492a-8a66-faea696086de}"
"GeneratesDesignTimeSource"=dword:00000001
Sorry for the bad lay-out but the "smart" editor that we use is a bit too smart so it f**ks up my post.


You can also download the registry file here.

Comments

Przemyslaw said:

Thanks Ramon for tip. Really helpful. BTW, link to registry file is dead
# December 14, 2006 2:14 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Please add 8 and 7 and type the answer here: