Skip to content

Resource folder "en" is deleted #197

Description

@sheitmann

Hi,

I have a shared output directory for my library assemblies and my test assemblies.
After adding a project using MSTestV2 I noticed that my "en" resource folder is deleted when the unit test project is created. This caused some tests to fail because the resources where not there anymore.
After some investigation I found the msbuild property to disable that behavior: EnableMSTestV2CopyResources
If it is activated (default is true) it is cleaning up some resources and deletes the whole folder.

My question is, what is this used for at all and what does that mean for me now that I have disabled it?
Is a good idea to delete the whole resources directory because of side effects?

Br
Sven

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedUp for grabs; can be claimed by commenting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions