Skip to content

Item Exclude syntax doesn't support '/' as a path separator #724

@davkean

Description

@davkean
  1. Create a new Console application
  2. Create a new folder called "Exclude", copy Program.cs into it
  3. Unload -> Edit
  4. Replace the <Compile Include items with <Compile Include="**/*.cs" Exclude="Excluded/**" />
  5. Reload project

Expected: For Excluded\Program.cs to not be included in the project
Actual: Excluded\Program.cs is included in the project.

It appears that while '/' is understood in Include, it's not in Exclude. Does this prevent us from writing platform-agnostic paths?

Metadata

Metadata

Assignees

Labels

backloghelp wantedIssues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions