Skip to content
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

"dotnet restore" is using versions that were not specified in project.json #5028

Closed
forki opened this issue Feb 7, 2016 · 1 comment
Closed

Comments

@forki
Copy link

forki commented Feb 7, 2016

I have the following project.json:

{
    "version": "1.0.0-*",
    "compilationOptions": {
        "emitEntryPoint": true
    },

    "frameworks": {
        "dnxcore50": { }
    },

    "dependencies": {
        "System.Threading.Timer": "4.0.1-rc3-23805",
        "System.Threading.Tasks": "4.0.11-rc3-23805",
        "System.Threading": "4.0.11-rc3-23805",
        "System.Text.RegularExpressions": "4.0.12-rc3-23805",
        "System.Text.Encoding.Extensions": "4.0.11-rc3-23805",
        "System.Text.Encoding": "4.0.11-rc3-23805",
        "System.Runtime.Numerics": "4.0.1-rc3-23805",
        "System.Runtime.InteropServices.RuntimeInformation": "4.0.0-rc3-23805",
        "System.Runtime.InteropServices.PInvoke": "4.0.0-rc3-23805",
        "System.Runtime.InteropServices": "4.1.0-rc3-23805",
        "System.Runtime.Handles": "4.0.1-rc3-23805",
        "System.Runtime.Extensions": "4.1.0-rc3-23805",
        "System.Runtime": "4.1.0-rc3-23805",
        "System.Resources.ResourceManager": "4.0.0",
        "System.Reflection.TypeExtensions": "4.1.0-rc3-23805",
        "System.Reflection.Primitives": "4.0.1-rc3-23805",
        "System.Reflection.Extensions": "4.0.1-rc3-23805",
        "System.Reflection": "4.1.0-rc3-23805",
        "System.Net.Sockets": "4.1.0-rc3-23805",
        "System.Net.Primitives": "4.0.11-rc3-23805",
        "System.Linq": "4.0.2-rc3-23805",
        "System.IO.FileSystem.Primitives": "4.0.1-rc3-23805",
        "System.IO.FileSystem": "4.0.1-rc3-23805",
        "System.IO": "4.1.0-rc3-23805",
        "System.Globalization.Calendars": "4.0.1-rc3-23805",
        "System.Globalization": "4.0.11-rc3-23805",
        "System.Diagnostics.Tracing": "4.1.0-rc3-23805",
        "System.Diagnostics.Tools": "4.0.1-rc3-23805",
        "System.Diagnostics.Debug": "4.0.11-rc3-23805",
        "System.Console": "4.0.0-rc3-23805",
        "System.Collections.Concurrent": "4.0.12-rc3-23805",
        "System.Collections": "4.0.11-rc3-23805",
        "System.AppContext": "4.1.0-rc3-23805",
        "NETStandard.Platform": "1.0.0-rc3-23805",
        "NETStandard.Library": "1.0.0-rc3-23805",
        "Microsoft.Win32.Primitives": "4.0.1-rc3-23805",
        "Microsoft.NETCore.Windows.ApiSets": "1.0.1-rc3-23805",
        "Microsoft.NETCore.Targets.UniversalWindowsPlatform": "5.0.1-rc3-23805",
        "Microsoft.NETCore.Targets.NETFramework": "4.6.1-rc3-23805",
        "Microsoft.NETCore.Targets.DNXCore": "5.0.0-rc3-23805",
        "Microsoft.NETCore.Targets": "1.0.1-rc3-23805",
        "Microsoft.NETCore.Runtime.Native": "1.0.1-rc3-23805",
        "Microsoft.NETCore.Runtime.CoreCLR": "1.0.1-rc3-23805",
        "Microsoft.NETCore.Runtime": "1.0.1-rc3-23805",
        "Microsoft.NETCore.Platforms": "1.0.1-rc3-23805",
        "Microsoft.DotNet.CoreHost": "0.0.1-beta-00001"
    }
}

when I run "dotnet restore" I get:

image

Why is it not using the versions that I have specified?

@forki
Copy link
Author

forki commented Feb 7, 2016

closing this here, since it's probably more of a NuGet issue. see NuGet/Home#2071

@forki forki closed this as completed Feb 7, 2016
wli3 referenced this issue in wli3/cli Jul 14, 2017
Update to use Jenkins machines with VS 15.3 preview
@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant