Hi, I was using version 2.51.4.0 before updating to 2.52.9.0. From now on, when I do paket install, my csproj included items go from:
<ItemGroup> <Content Include="filepath"> <Paket>True</Paket> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> ... </ItemGroup>
To:
<ItemGroup> <Content Include="filepath"> <Paket>True</Paket> </Content> ... </ItemGroup>
Effectively removing my "CopyToOutputDirectory" directive... and breaking my build.
did you add that manually?
what package are you using? Can I reproduce this?
mhm. then this is not really a regression. you were relying on a bug ;-)
Anyways let's make that work. We need something like http://fsprojects.github.io/Paket/references-files.html#copy_local-settings for content files right?
so this is implemented. see http://fsprojects.github.io/Paket/nuget-dependencies.html#CopyToOutputDirectory-settings
please let me know if this works for you
lol. I would appreciate a PR to the docs. ;-)
@forki Is copy_content_to_output_dir works if specified in line of specific dependency ?
it should.
Thank you, documentation is scarce on this
Another question, maybe this feature should not copy items that are of type Compile ?
please help to improve it.
2016-04-04 15:55 GMT+02:00 tsibelman notifications@github.com:
Thank you, documentation is scarce on this — You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub #1522 (comment)
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub #1522 (comment)
Activity
forki commentedon Mar 17, 2016
did you add that manually?
what package are you using? Can I reproduce this?
forki commentedon Mar 17, 2016
mhm. then this is not really a regression. you were relying on a bug ;-)
Anyways let's make that work. We need something like http://fsprojects.github.io/Paket/references-files.html#copy_local-settings for content files right?
forki commentedon Mar 21, 2016
so this is implemented. see http://fsprojects.github.io/Paket/nuget-dependencies.html#CopyToOutputDirectory-settings
please let me know if this works for you
forki commentedon Mar 21, 2016
lol. I would appreciate a PR to the docs. ;-)
tsibelman commentedon Apr 3, 2016
@forki Is copy_content_to_output_dir works if specified in line of specific dependency ?
forki commentedon Apr 3, 2016
it should.
tsibelman commentedon Apr 4, 2016
Thank you, documentation is scarce on this
tsibelman commentedon Apr 4, 2016
Another question, maybe this feature should not copy items that are of type Compile ?
forki commentedon Apr 4, 2016
please help to improve it.
2016-04-04 15:55 GMT+02:00 tsibelman notifications@github.com: