jlyonsmith
New Member
9 Posts |
Posted - Oct 04 2004 : 10:40:16 AM
|
I noticed that you don't correctly recognize C# code in the editor if the file does not have a .cs extension. When I edit C# script files (http://lyon-smith.org/downloads.aspx) with a .csx extension, they are not recognized as such. This means things like templates don't work properly. This is despite the fact that I have added the correct GUID's to VS .NET, as follows:
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.0\\Languages\\File Extensions\\.csx] @="{694DD9B6-B865-4C5B-AD85-86356E9C88DC}"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.0Exp\\Languages\\File Extensions\\.csx] @="{694DD9B6-B865-4C5B-AD85-86356E9C88DC}"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1\\Languages\\File Extensions\\.csx] @="{694DD9B6-B865-4C5B-AD85-86356E9C88DC}"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1Exp\\Languages\\File Extensions\\.csx] @="{694DD9B6-B865-4C5B-AD85-86356E9C88DC}"
You should really use the GUID from VS .NET to recognize the file type, not the extension. |
|