Why is UseSymboliclinksIfPossible disabled inside Visual Studio? #9419
-
In my projects, I've set all the properties that enable symbolic links creation in the MSBuild Copy task. That is:
For some reason, some of them are set to false when The only comment above those lines does not explain the reason for this behavior and I wasn't able to retrieve any information about it. Is there a specific reason why these properties are disabled in Visual Studio? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Although it looks good on paper, symbolic links were causing too many hard-to-debug build and execution issues, so I guess VS team decided it does more harm than gain and make it opt-in. Additionally, copy-on-write, which is supposed to be released to GA soon, will make "usage of symbolic link for copy performance" deprecated. But, I was not behind that decision so please take my explanation with a grain of salt. |
Beta Was this translation helpful? Give feedback.
Although it looks good on paper, symbolic links were causing too many hard-to-debug build and execution issues, so I guess VS team decided it does more harm than gain and make it opt-in.
Additionally, copy-on-write, which is supposed to be released to GA soon, will make "usage of symbolic link for copy performance" deprecated.
But, I was not behind that decision so please take my explanation with a grain of salt.