You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package versions with different casing fail to work in a case sensitive system. Below is a repro of the issue from Jeff and more details around it can be found here @ Particular/NServiceBus#1271
At this point, only one things changes and that's the packages folder. It's now "NServiceBus.StructureMap.4.0.0.1."
However, if between steps 2 and 3, you were to have cleared your NuGet package cache, then this would no longer repro.
Root cause: When installing a package from cache, we don't have the server's casing of the package Id; instead, we rely on the casing from the nupkg file stored in cache.
If the nupkg has different casing from what the server had when the package was installed, then you'll end up in the mismatch.
That means that if we change the casing of the package, it will fix the current version, but it will break any past versions where the nupkg had the incorrect casing. It looks like that would only be the first 2 versions of this package.
The text was updated successfully, but these errors were encountered:
Makes sense. We should store the "current" ID in PackageRegistrations (as a cache for display purposes) but always use the version in Packages as the version we send down. The trick is how do we deal with existing data. Do we a) Run a task to pre-fill in the Id column (Pros: Gets all the data in, Cons: LOOOOOOOONG) or b) Just assume that "null" in the Packages.Id column means we use PackageRegistrations.Id (Pros: Easy, Cons: Old data is a little quirky).
Package versions with different casing fail to work in a case sensitive system. Below is a repro of the issue from Jeff and more details around it can be found here @ Particular/NServiceBus#1271
At this stage, I have the following:
• packages.config: "NServiceBus.Structuremap"
• csproj: ..\packages\NServiceBus.Structuremap.4.0.0.1...
• packages folder: "NServiceBus.Structuremap.4.0.0.1"
But, now with a few more steps it will be broken:
At this point, only one things changes and that's the packages folder. It's now "NServiceBus.StructureMap.4.0.0.1."
However, if between steps 2 and 3, you were to have cleared your NuGet package cache, then this would no longer repro.
Root cause: When installing a package from cache, we don't have the server's casing of the package Id; instead, we rely on the casing from the nupkg file stored in cache.
If the nupkg has different casing from what the server had when the package was installed, then you'll end up in the mismatch.
That means that if we change the casing of the package, it will fix the current version, but it will break any past versions where the nupkg had the incorrect casing. It looks like that would only be the first 2 versions of this package.
The text was updated successfully, but these errors were encountered: