Skip to content

Import or Using in the csproj file? #26752

@aktxyz

Description

@aktxyz

I tried the following line from this page to add a namespace to the implicit using list ...

<Import Include="System.IO.Pipes" />

and that did not seem to work. Googling around I found another tag name that did work

<Using Include="System.IO.Pipes" />

https://dotnetcoretutorials.com/2021/08/31/implicit-using-statements-in-net-6/


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions