-
Notifications
You must be signed in to change notification settings - Fork 520
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
Paket 2.53.0 does not add packages named MyLib.MyLib to project #1531
Comments
Can you please try to create a repro case?
|
Sure, I can try. I'll see if I can find a package on nuget.org that has the same behavior. |
If not I will try to reproduce tomorrow.
|
We also have integration tests that create new packages. We could copy and
|
Okay, that might be best. I couldn't find any packages on nuget that have the same naming scheme. I can look into creating a custom package that has the same behavior but it would take some time. I think it's an issue with the names but I could be way off. The only other guess I have is that it could an issue with the target framework. |
Ok let's start with the name (but I don't really think it's it). I'll try Just to make sure it's not the target framework. Can you mail me the
|
I probably can't email the package since it's work related. I can try to create a similar package, or at least strip out all of the proprietary code. |
You could unzip the package and replace all dlls with 0byte dlls with same
|
I can build Paket locally. That might be easier than me trying to get a package to you. I can diff the two versions of Paket to at least narrow it down. Do you have any debugging that I could add? The verbose option of Paket wasn't any different between the two versions. |
It seems that a change in the Utils.fs caused the issue. Edit: it's this section. Old code:
New code:
|
Ok. Then you are probably very near to a solution. Can you give a whole
|
Looks like the new code is getting "lib/net45" and the old code is just "net45". EDIT: Here's something close to what I have for a path:
|
mhm a dll name ending in lib was already in the testcases. A package name ending in lib was not. |
No problem. Just glad that we caught this sooner rather than later. Thanks @forki! Paket 2.53.2 works for us. |
I noticed an issue starting with Paket version 2.53.0. Paket is no longer adding one my libraries to my projects.
As far as I can tell, the only thing special about this package is that is has the same name before and after the period (e.g. MyLib.MyLib). Did something change in this version of Paket that could cause this?
The previous version 2.52.16 does not give me this issue. Also, version 2.53.0 works fine for all of my other packages.
I have the MyLib.MyLib package in my paket.references, paket.lock, and paket.dependencies. MyLib.MyLib is being downloaded into the packages directory. The only issue seems to be that it is no longer added to my csproj files.
The text was updated successfully, but these errors were encountered: