Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ExpressiveAnnotations core assembly not added project files #1466
I started having an issue adding ExpressiveAnnotations core assembly to my projects. It looks like the problem started in version 2.44.5. (Version 2.44.4 works fine.)
I have "nuget ExpressiveAnnotations.dll = 2.3.6" in my paket.dependencies file and "ExpressiveAnnotations.dll" in my paket.references. My paket.dependencies has this at the top:
When I run paket update or install with version 2.44.4 of paket, ExpressiveAnnotations is added to my csproj like this:
Version 2.44.5 and higher do not add "ExpressiveAnnotations" to my csproj file. (Note: I haven't tried all versions and I haven't tried any of the 3.0.0 versions.) Is there something I need to change in my configuration or is this an issue with paket?
The issue is a bit tricky. First of all: there is no ExpressiveAnnotations.dll = 2.3.6 - see https://www.nuget.org/packages/ExpressiveAnnotations
But I assum somehow you have that version in your local nuget cache. In Paket 2.44.4 we noticed a bug changed our cache format so that 2.44.5 and above will not read older cache files and try to get everything from scratch. And since the package version is deleted (@maartenba ist that correct?) paket restore fails.