Hi,
I have a weird requirement.
Is it possible to associate another file extension with VS for C# code files (other than .cs)?
Basically, I wanted to create file with my own extension, (.xyz), but wanted Visual Studio to recognize the file as a C# file
- Which means that it should appear in the Solution explorer as part of the project like a .cs file
- The contents of the file should get compiled into the program
- Features like 'Go to Definition', 'Find all References', etc should work
- Syntax highlighting should be the same as a .cs file (optional)
Please let me know in case this is possible.
Regards,
Santosh