Skip to content

CopyToOutputDirectory is lost after nesting and unesting #95

Description

@LazaroOnline

Installed product versions

  • Visual Studio: 2019 Enterprise
  • This extension: 2.6.85

Description

File properties are lost after nesting/unesting a file.

Steps to recreate

  • Add a new file to csproj called "mytest.config"
  • set it's properties to "Copy to output directory" = "Copy always".
  • Use the extension to set "mytest.config" as a nested file to another file.
  • Use the extension again to unsert the nested file "mytest.config"

Current behavior

The "CopyToOutputDirectory" value has been lost in the process.

Expected behavior

As a user I would expect the nesting/unesting to not be a destructive operation and keep the options like "CopyToOutputDirectory", or if it is really needed to remove the properties then at least show a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions