question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrading Microsoft.NETCore.App from 1.0.1 to 1.1.0 removes type: platform

See original GitHub issue

Steps to reproduce

Visual Studio 2015 Update 3, all latest .NET Core tools/extensions installed (including .NET Core 1.1 SDK).

Creating a new .NET Core Command line project adds this dependency to the project.json: "dependencies": { "Microsoft.NETCore.App": { "type": "platform", "version": "1.0.1" } },

If you then go under references and upgrade the NuGet packages to the latest (1.1.0) then the type:platform above is removed and the build fails saying runtimes section is missing.

"dependencies": { "Microsoft.NETCore.App": "1.1.0" },

Expected behavior

It should keep the type:platform attribute when upgrading the Microsoft.NETCore.App NuGet package.

Actual behavior

type:platform is removed.

Environment data

.NET Command Line Tools (1.0.0-preview2-1-003177)

Product Information: Version: 1.0.0-preview2-1-003177 Commit SHA-1 hash: a2df9c2576

Runtime Environment: OS Name: Windows OS Version: 10.0.14393 OS Platform: Windows RID: win10-x64

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
davidfowlcommented, Nov 30, 2016

Yep. The CLI isn’t involved here. It’s a nuget issue.

0reactions
blackdwarfcommented, Nov 30, 2016

Closing this one, please reopen on Nuget/Home.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating Microsoft.NETCore.App to v1.1.0 causes
I think the versioning information is quite confusing as I don't see how this relates to 1.1.0, but the console application runs OK....
Read more >
Upgrading from .NET Core 1.0 to 1.1 with Visual Studio 2015
I open a PowerShell prompt (by going to Tools -> NuGet Package Manager -> Package Manager Console) – first I check my present...
Read more >
NET Core 1.0 and 1.1 will reach End of Life on June 27, 2019
After June 27, 2019, .NET Core patch updates will no longer include updated packages or container images for .NET Core 1.0 and 1.1....
Read more >
Announcing the Fastest ASP.NET Yet, ASP.NET Core 1.1 ...
Update your ASP.NET Core packages dependencies to use the new 1.1.0 versions. You can do this by navigating to the NuGet package manager...
Read more >
Announcing .NET Core 1.1
We are excited to announce the release of .NET Core 1.1 RTM, the first “Current” release. You can start creating .NET Core 1.1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found