Skip to content

Fix duplicated files in folder content and contentFiles#658

Open
cyanial wants to merge 6 commits into
GlitchEnzo:masterfrom
cyanial:master
Open

Fix duplicated files in folder content and contentFiles#658
cyanial wants to merge 6 commits into
GlitchEnzo:masterfrom
cyanial:master

Conversation

@cyanial

@cyanial cyanial commented Jun 21, 2024

Copy link
Copy Markdown

https://stackoverflow.com/questions/47468941/prevent-duplicating-files-in-nuget-content-and-contentfiles-folders

Test NuGetPackage: MongoDB.Libmongocrypt.

as far as i know, that a nuget package may have both content and contentFiles folder and the contain the same files.

from now on, i change the code to omit content folder when it has contentFiles and it works for my package.

And it fix my isuue #655

@JoC0de @GlitchEnzo ; Please help!!!

Comment thread src/NuGetForUnity/Editor/NugetPackageInstaller.cs Outdated
@JoC0de

JoC0de commented Jul 21, 2024

Copy link
Copy Markdown
Collaborator

Sorry for the delay.
Thanks for the workaround.
Would be nice if we add a UnitTest, I could implement it but not sure when I have time.

@cyanial

cyanial commented Jul 22, 2024

Copy link
Copy Markdown
Author

Sorry for the delay. Thanks for the workaround. Would be nice if we add a UnitTest, I could implement it but not sure when I have time.

never mind, i'm now using my own version, it works.

And i'm studying this project as well, i'm also trying to add some unit test. but i'm a new starter in C#, so forgive for my poor c# skills.

@cyanial
cyanial requested a review from JoC0de July 22, 2024 06:42

@cyanial cyanial left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Successfully merging this pull request may close these issues.

2 participants