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
You might be able to satisfy your needs with a Condition
such as:
EDIT:
Or perhaps try:
EDIT 2:
Since it looks like the IDE is going to respect the Condition
, you could instead change items from Content
to None
and add a BeforePublish
target that adds equivalent Content
items.
EDIT 3:
So to be specific, keep your original
and add, just before