This repository is intended to reproduce the following issue.
Please review Directory.Build.props
and Directory.Build.targets
, as they contain the main logic that enables Visual Studio to work with symbolic links.
- Start Visual Studio (it might be helpful to run it as an administrator to ensure that symlinks are created successfully).
- Build the project, then open the bin folder and verify that the symlinks are present.
- Make changes in the constructor of
ClassA
to simulate a modification without breaking the public API of the assembly. - Build the project again; you should see output similar to the content in
BuildLogWithIssue.txt
.