-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
.NET Core January 2018 Update #1199
Comments
Is there any timeline to see this update deployed on VSTS Hosted VS2017 agents? Updating the
Taking a look at the latest published content of the Hosted VS2017 agent software inventory, it looks like the latest deployed version of .NET Core is |
@livarcocc may be able to get the right people to answer that. Are you using global.json because you want to force yourself to a specific SDK and not just use the latest that VSTS has? |
If I want to apply this new version to an existing installation using IIS on Windows Server, do I need to install the Windows Hosting Bundle or is that only required on first setup? Sorry if this has been asked before, I couldn't find the answer. |
You should consider updating the hosting bundle as the new one carries the package store for 2.0.5 as well as the 2.0.5 runtime. Additionally it has a newer version of ANCM for IIS as well. The hosting bundle though doesn't carry the SDK, so if you had a previous version of the SDK on the machine you'll probably want to update that separately. Are you using the machine as a development environment? VS carries a copy of ANCM as well, but because the changes in ANCM for this release impacts hosting applications in IIS, VS was not updated with a new copy of ANCM. |
@Petermarcu @livarcocc Thanks! |
@joeloff , @livarcocc, Not using the machine for development, so I will install the hosting bundle to make sure all is up to date, thanks! |
just tried to host a web app - it seems to always use port 5000 no matter what port I put in launchsettings.json. I tried to different solutions, one brand new. |
@TomCJones - can you share more info about your setup? If you could upload a repro app to GitHub that would be ideal, but otherwise please share your launchSettings.json, appsettings.json, Program.cs, Startup.cs, and other relevant files. It could be that an environment variable or other config setting is overriding your desired port value. |
sorry for the confusion, I didn't read the instructions carefully enough. They are kind of dense. |
I originally posted this in the SDK repo (dotnet/sdk#1849), but it appears that there was a regression on some of the bundled templates in 2.14. 2.1.3
2.1.4
Was this intentional? |
@mlorbetske to confirm the version that should be used! |
While this wasn't an intentional change (the move back to 312), the only impact here should be that the root namespace wouldn't be included in vbproj files for test projects (as it would have been introduced in build 313 which failed due to some CI issues which were corrected with 314) - the item templates should contain no differences. |
I installed the updates and can see version 2.0.5 in the command prompt using "dotnet --version", but VS2017 still shows the previous SDK version in my projects. I can see package Microsoft.NETCore.App 2.0.5 in NuGet but it won't let me update saying the version is "blocked by project". How can I upgrade my project in VS to develop against the latest version? |
@leecow are the runtime and SDK versions mismatched in the original post?
I think it should be 2.X with 2.X and 1.X with 1.X. |
@christiansk , I believe you need the SDK version 2.1.4 in order to have VS support targeting 2.0.5. |
@Petermarcu You are correct, it says 2.1.4 - I confused the SDK/runtime versions in my previous comment. Sorry about that. Still, I have it installed and can't get VS to allow me to update the SDK dependency. Any clue as to what else could cause the Microsoft.NETCore.App package to be "locked" to 2.0.0? |
Here are a few things to note.
So just by installing the 2.1.4 SDK, when you do things like If you are doing a self-contained application, you need to explicitly set the version of the runtime you want with your application. This can be done by adding Hope this helps. |
Got it. Thanks! |
@Petermarcu , @christiansk - sorry about the version scrambling. Fixed! |
So 2.1.4 was removed and replaced with 2.1.101? |
2.1.101 is now the latest release of the .NET Core SDK. You can still obtain the 2.1.4 from the all downloads link here: https://www.microsoft.com/net/download/all. |
Because we are realigning major and minor for the runtime and sdk. |
2.1.101 is a higher version than 2.1.4 |
Dah, thank you. 🤯 |
Closing this one in favor of the latest announcement: #1341 |
.NET Core January 2018 Update
The .NET Core January 2018 Update is available. This release includes:
You can read about the updates in the .NET Core release notes.
Please report any issues you find with the January 2018 Update, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:
The text was updated successfully, but these errors were encountered: