I have nested files like this
If i want to rename the file "Class1.v7_1_1.cs", I didn't get the rename option in visual studio. So either i need to manually edit the proj file or do a custom extension.
In case of custom extension how to give rename facility like this
and rename the file ?
I need to develop a custom extension which should do renaming as just like how Visual Studio renames the other non-nested files.
My Solution
My current solution is showing a window on right click of the selected file which needs to be renamed. In the window let the user enters the new file name and do the file renaming in the extension. But I don't know how to do the inline renaming as shown above.
Please help me this regard. Thanks in advance.
Edit the project file directly.
Search for
<Compile Include="Class1.v7_1_1.cs">
and correct it to
<Compile Include="Class1.v7_1_1.cs">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.