I\'ve migrated an asp.net core project to VS2017 RC, which now supports the ability to exclude files from a project. I\'ve excluded two folders, which added these lines to my cs
I worked around this by adding the following lines to the PrepublishScript target in the csproj file, since there doesn't seem to be an elegant way to do it yet.