-
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
Problem referencing Microsoft.Web.Infrastructure #1393
Comments
the behaviour is as specified in the nuspec:
|
I believe Microsoft.Web.Infrastructure was previously installed in GAC from "something", but is now a Nuget package. Does it make sense ? |
Yep, but the package is not respecting that changes. You need to contact
|
As stated previously, this is not an issue with Paket so you can close this ticket.
gacutil -l > c:\gac.txt If you don't see a line that looks like this in the output file ( Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL To register it, find the file gacutil -i Microsoft.Web.Infrastructure.dll |
That package is very peculiar. I believe it is a dependency for SimpleInjector.Integration.Web. In my project file, I get this :
But in VS, if I look at the references, that one isn't linked to any assembly (path is empty) and there is the yellow triangle next to the reference. I also get the warnings in the Error List pane:
The referenced component 'Microsoft.Web.Infrastructure' could not be found.
The package / assembly (Microsoft.Web.Infrastructure.dll) exists in packages\Microsoft.Web.Infrastructure\lib\net40.
When I run the
paket update
command, if im on Nuget v2 api it tries to downloadDownloading Microsoft.Web.Infrastructure 1.0.0.0
However if im on v3, it
Downloading Microsoft.Web.Infrastructure 1.0.0
(not sure if it's a hint or not).
Even if I manually
paket add
Microsoft.Web.Infrastructure to my projects, it does the same things. It does add theMicrosoft.Web.Infrastructure (1.0.0)
in the lock file after the update command. Do you think it'spaket
related, I'm pretty sure I managed to add that reference using Nuget before ?The text was updated successfully, but these errors were encountered: