Skip to content

#:project directive duplicate not detected #51139

@RikkiGibson

Description

@RikkiGibson
$ dotnet --version
10.0.100-rc.1.25451.107

Repro:

  1. Create a project under directory ./MyProject/
  2. Create an app.cs in directory . containing the following:
#:project ./MyProject
#:project ./MyProject/MyProject.csproj

Expected: a duplicate project directive error is reported
Actual: no error

@jjonescz

Metadata

Metadata

Assignees

Labels

Area-run-fileItems related to the "dotnet run <file>" effort

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions