You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a linked file in an F# project, you can attempt to rename the file in solution explorer:
However you get an error dialog when you try it:
FWIW C# prohibits rename on linked files entirely. This seems reasonable, as it's not clear what "renaming" even means with respect to linked files (change the name of the link? or the file itself?). So IMO fix would be to just mark this field a read-only.
The text was updated successfully, but these errors were encountered:
I think disabling the broken rename scenario is the cheap and correct thing to do for now (i.e. for VS 2015 if someone sends a PR).
Personally I don't see this particular issue as worth spending time building out as a feature... It opens up a lot of corner cases and behaviors that need to be tested and supported for all eternity, for fairly small value. There are more useful and impactful ways to contribute to the VS tools :-)
If you have a linked file in an F# project, you can attempt to rename the file in solution explorer:
However you get an error dialog when you try it:
FWIW C# prohibits rename on linked files entirely. This seems reasonable, as it's not clear what "renaming" even means with respect to linked files (change the name of the link? or the file itself?). So IMO fix would be to just mark this field a read-only.
The text was updated successfully, but these errors were encountered: