Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CopyToOutputDirectory is lost after nesting and unesting #95

Open
LazaroOnline opened this issue Feb 17, 2020 · 0 comments
Open

CopyToOutputDirectory is lost after nesting and unesting #95

LazaroOnline opened this issue Feb 17, 2020 · 0 comments

Comments

@LazaroOnline
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant