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

Problems of <ItemGroup> children nodes #148

Open
tamashii opened this issue May 7, 2024 · 2 comments
Open

Problems of <ItemGroup> children nodes #148

tamashii opened this issue May 7, 2024 · 2 comments

Comments

@tamashii
Copy link

tamashii commented May 7, 2024

There're two problems in <ItemGroup> children nodes:

  1. The CopyToOutputPath attribute is not only available in <Content> node, but also available in <None>, <Resource>, <EmbeddedResource> ,<Compile> and <AssemblyMetadata> node.
  2. The three values of CopyToOutputPath attribute are Never, Always, and PreserveNewest — but actually is Newer in current intellisense hints.

And here's the official document for above content : https://learn.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-items

@tintoy
Copy link
Owner

tintoy commented May 7, 2024

Thanks for reporting!

  1. It should be pretty easy to handle this; I'll look into it tonight.
  2. For autocomplete, this should be easy to fix; if the tooltip displayed when hovering says Newer then that may be a little trickier because that's what the project system is returning to us. I'll have a look at this tonight, too, if I get time.

@tintoy tintoy self-assigned this May 7, 2024
tintoy added a commit to tintoy/msbuild-project-tools-server that referenced this issue May 13, 2024
tintoy added a commit that referenced this issue May 13, 2024
@tintoy
Copy link
Owner

tintoy commented May 13, 2024

Ok, this has been fixed and will be available in the next release 🙂

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

No branches or pull requests

2 participants