If you have a package with content, and you want that content then to become an embedded resource (you switch it in VS), a paket update or paket install will add the file a second time to the project (i.e. it appears twice in VS).
Just wondering if this is a bug, or if there is some paket.dependencies jigpokery I can do to stop this.
Repro steps
As described above.
- add a package that has content.
- open solution in VS
- change content file to EmbeddedResource in properties pane
- run
paket update
Expected behavior
I'd expect there to be only 1 file, or there to be a way in paket.dependencies to ensure that the content is embeded, but given that you may only want to do this to certain files, maybe not adding it again would be preferable.
Actual behavior
file appears twice in the project.
Known workarounds
unknown
Related information
- Operating system = Windows
- Branch = Paket version 2.58.6.0
- .NET Runtime 4.5
If you have a package with content, and you want that content then to become an embedded resource (you switch it in VS), a
paket updateorpaket installwill add the file a second time to the project (i.e. it appears twice in VS).Just wondering if this is a bug, or if there is some
paket.dependenciesjigpokery I can do to stop this.Repro steps
As described above.
paket updateExpected behavior
I'd expect there to be only 1 file, or there to be a way in
paket.dependenciesto ensure that the content is embeded, but given that you may only want to do this to certain files, maybe not adding it again would be preferable.Actual behavior
file appears twice in the project.
Known workarounds
unknown
Related information