How do I exclude files/folders from a .NET Core/Standard project?

前端 未结 3 2188
我寻月下人不归
我寻月下人不归 2020-12-13 17:41

In .NET Core and .NET Standard projects, if you put files and folders within the project directory, they are automatically picked up by Visual Studio; essentially they are p

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-13 18:03

    Open the project in Visual Studio, and right click the files and folders in Solution Explorer. Choose Exclude from Project.

    That's exactly what you do for projects targeting .NET Framework.

提交回复
热议问题