-
Notifications
You must be signed in to change notification settings - Fork 526
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
Regression - paket install removing CopyToOutputDirectory property #1522
Comments
did you add that manually? what package are you using? Can I reproduce this? |
In this situation, I installed a home-made nuget component where a couple of DLLs are defined as "content", not as "lib". Doing so, when paket installs it, it adds these xml tags to the csproj. Everything's fine so far. But from that point, I indeed manually set the "Copy to Output Directory" property for these DLLs with the help of Visual Studio. |
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? |
I think so because I don't only copy DLLs but other kind of files that are definitely not .Net assemblies, but they are mandatory resources at runtime for my app. - i.e. I could not simply tag as "lib" in my nuget package. BTW, thanks for your great responsiveness and support @forki. |
so this is implemented. see http://fsprojects.github.io/Paket/nuget-dependencies.html#CopyToOutputDirectory-settings please let me know if this works for you |
Just got 2.54.0, when I set something like, I get something like,
To work, I must use the property named 'copy_content_to_output_dir' instead of 'CopyToOutputDirectory'. |
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. |
It works.
|
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 [email protected]:
|
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:
To:
Effectively removing my "CopyToOutputDirectory" directive... and breaking my build.
The text was updated successfully, but these errors were encountered: