Closed
Description
Scenario:
- Create a .NET core project and have a file linked to the project which has BuildAction=None.
<ItemGroup>
<None Include="..\abc\xyz.txt">
<Link>xyz.txt</Link>
</None>
</ItemGroup>
Adding a link from Visual Studio 2017 doesn't seem to be possible. It makes a copy of the file in the project folder. So I edited the .csproj file. In our scenario we don't want to make duplicates of the file.
- From Visual Studio, change the BuildAction to AdditionalFiles. The file disappears from the project.