Using VS 2017 RC3, create a new ASP.NET Core 1.1 Web Application targeting .NET Core using the project template. Edit the project file by right-clicking the project in Solution Explorer and selecting the context menu option. Add the following ItemGroup:
Publish to the file system using the Folder publish target. Check the bin\Release\PublishOutput folder and notice that the SVG files which should've been excluded were published.
Closing and reopening Visual Studio fixes the problem. It seems as though VS is aggressively caching the metadata and not refreshing until the IDE is restarted.
Using VS 2017 RC3, create a new ASP.NET Core 1.1 Web Application targeting .NET Core using the project template. Edit the project file by right-clicking the project in Solution Explorer and selecting the context menu option. Add the following
ItemGroup
:Publish to the file system using the Folder publish target. Check the bin\Release\PublishOutput folder and notice that the SVG files which should've been excluded were published.
Closing and reopening Visual Studio fixes the problem. It seems as though VS is aggressively caching the metadata and not refreshing until the IDE is restarted.