Repository navigation
Closed
Labels
Functionality:UpdateThe update package feature/command/experiencePriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Type:Bughelp wantedConsidered good issues for community contributions.
Milestone
Description
System information:
OS X 10.11
NuGet Version: 3.3.0.212
Mono JIT compiler version 4.2.1 (explicit/6dd2d0d Fri Nov 6 12:25:19 EST 2015)
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-(detached/a173357)
GC: sgen
tmba:ora-analyzers thill $ tree -L 2
.
├── as-null-checker
│ ├── Program.cs
│ ├── Properties
│ ├── as-null-checker.csproj
│ ├── bin
│ ├── obj
│ └── packages.config
├── ora-analyzers.sln
├── ora-analyzers.userprefs
└── packages
├── Microsoft.CodeAnalysis.Analyzers.1.1.0
├── Microsoft.CodeAnalysis.CSharp.1.1.1
├── Microsoft.CodeAnalysis.Common.1.1.1
├── System.Collections.Immutable.1.1.37
├── System.Reflection.Metadata.1.1.0
└── repositories.config
10 directories, 6 files
tmba:as-null-checker thill $ nuget update packages.config
MSBuild auto-detection: using msbuild version '4.0' from '/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5'.
Feeds used:
https://www.nuget.org/api/v2/
Attempting to gather dependencies information for multiple packages with respect to project '/Users/thill/projects/csharp/roslyn-analyzers/ora-analyzers/as-null-checker/as-null-checker.csproj', targeting ''
Value cannot be null.
Parameter name: projectFramework<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.CodeAnalysis.Analyzers" version="1.1.0" targetFramework="net45" />
<package id="Microsoft.CodeAnalysis.Common" version="1.1.1" targetFramework="net45" />
<package id="Microsoft.CodeAnalysis.CSharp" version="1.1.1" targetFramework="net45" />
<package id="System.Collections.Immutable" version="1.1.37" targetFramework="net45" />
<package id="System.Reflection.Metadata" version="1.1.0" targetFramework="net45" />
</packages>Metadata
Metadata
Assignees
Labels
Functionality:UpdateThe update package feature/command/experiencePriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Type:Bughelp wantedConsidered good issues for community contributions.
Activity
yishaigalatzer commentedon Dec 27, 2015
@phrohdoh looks like the code is using msbuild instead of xbuild here. @feiling was working on fixing it, assigning to him to look into the issue. (He will be back after the first of the year)
phrohdoh commentedon Dec 28, 2015
Good info, thanks for tagging this so quickly!
I was able to reproduce this issue with
restoredue to using MSBuild.https://github.com/dotnet/roslyn/blob/master/build/ToolsetPackages/project.json
Upgrade to toolset 1.2.0-beta-20151211-01
yishaigalatzer commentedon Mar 8, 2016
Unfortunately this flew under the radar for a while, and we won't be able to get to it for 3.4. I'm marking as up for grabs, if there is a particular interest in fixing this faster, we would love to take a PR.
asbjornu commentedon Apr 13, 2016
I assume this is the same problem I've run into here?
emgarten commentedon Nov 9, 2017
Thanks for reporting this issue. At this time we suggest moving from packages.config to PackageReference with VS 2017 to resolve your issue. You can find out more about this here: https://blog.nuget.org/20170316/NuGet-now-fully-integrated-into-MSBuild.html
PackageReference supports updating packages from outside of VS where packages.config is only officially supported within VS. nuget.exe update is very limited in what it can do during updates.