aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Discussion for: ASP.NET Core RC2 is no longer compatible with DNX

Open Eilon opened this issue 10 years ago • 32 comments

Discussion for https://github.com/aspnet/Announcements/issues/176.

Hi all,

ASP.NET Core RC2 is now compatible only with .NET CLI. ASP.NET Core RC2 is no longer compatible with DNX.

You can read more about the transition from DNX to .NET CLI on these blog posts:

This means that using Visual Studio 2015 with the ASP.NET 5 RC1 tooling will no longer work with the latest nightly builds (i.e. packages coming from https://www.myget.org/gallery/aspnetvnext). The RC1 tooling supports only DNX.

We kept everything compatible with DNX for as long as possible, but eventually we had to separate the two in order to help ship the ASP.NET Core RC2 release.

We are working on finalizing the ASP.NET Core RC2 release, including updated tooling and project templates for Visual Studio.

Visual Studio Code in the meantime works very well with ASP.NET Core RC2 nightly builds.

Thanks, Eilon

Eilon avatar May 05 '16 22:05 Eilon

Is there an expected date for rc2?

304NotModified avatar May 05 '16 22:05 304NotModified

Nothing announced yet. At the last community stand-up, it was mentioned that there would be some announcements at the stand-up next week.

smbecker avatar May 06 '16 02:05 smbecker

@304NotModified expect announcements very soon!

Eilon avatar May 06 '16 04:05 Eilon

Hi, is there any way to debug unit tests with .NET CLI? I could not find a way, except run all at once.

ivaylokenov avatar May 06 '16 07:05 ivaylokenov

Is it possible to run RC2 nightlies on Mono just like we did with RC1/DNX? CoreCLR still has lots of problems on any Linux distribution except the very old Ubunutu 14.04: it just segfaults here on my Debian unstable while RC1/DNX/Mono worked without a hitch.

fogzot avatar May 06 '16 10:05 fogzot

Is it possible for us to just specify the previous nightlies from before this change was made, so we can avoid having to reconfigure our build server and entire build process. Can we specify a previous version whilst still using the same package feed?

Dib-za avatar May 06 '16 10:05 Dib-za

Is there a list of what is not compatible?

PonchoPowers avatar May 06 '16 10:05 PonchoPowers

Also, there is so much conflicting information across the board of Microsoft websites now, will some time be allocated to removing documentation which is no longer relevant? I think the amount of out of date documentation is going to cause confusion over time and make adopting the new platform a slow and painful process.

PonchoPowers avatar May 06 '16 10:05 PonchoPowers

Let's be blunt, we are stepping back to a time when you read the underlying code to understand the structure. Documentation is way behind. While interesting that Microsoft is opening documentation process to outside, if Microsoft doesn't have time to write the documentation, unlikely that users will.

Now, I love ASP.NET 5 and MVC 6. But I almost at the stage to put on back burner a transition to it for a website. I have survived much of RC1 despite much trouble finding documentation for how to do things. I have read more underlying code, especially Microsoft's, than I have done since the 80's. Much of Microsoft's documentation is incorrect and relates mostly to Beta8. And based on what I see with RC2, I will have a lot of work to do to transition from RC1 to RC2, despite what the standup video claims.

I guess I should have listened when Microsoft suggested to hold off doing live with RC1 (and I assume that will hold with RC2). ASP.NET 5 is such a moving target. RC1 should have been called Beta 9. By RC1, I expected the base structures to have solidified and minor tweaks on out to manufacturing release. Unfortunately, this is not the case. Honestly doubt that we will see RC2 before July and cannot see any way that final manufacturing version will be done in 2016. When you are still changing namespaces in RC2, Microsoft has lost site of the goal - get users using it.

I hate to beat down on ASP.NET 5/MVC 6. I just love it but time to put this on the shelf and go back to improving my MVC 5 version of the website, and wait to start back up in 2017 with final release.

Tgueth avatar May 06 '16 13:05 Tgueth

@Matthew-Bonner @Tgueth

Documentation is way behind.

Well, not really. The docs for RC2 release have been under heavy development, and they are available in the dev branch. They will be flipped into latest (master branch) when RC2 releases. You do have access to them. It's just not widely advertised that you can see them now on the dev branch.

Being under development, the docs coming out soon might not be accurate or complete. I'm working on one today that has real bugs in the text, and I'll be getting those bug-a-boos out this morning. However, you can get to them in the Docs repo in the dev branch https://github.com/aspnet/Docs/tree/dev. Also, note that the naming changed to ASP.NET Core 1.0 and MVC Core 1.0 in https://github.com/aspnet/Announcements/issues/144.

guardrex avatar May 06 '16 14:05 guardrex

I installed the C# extension in VS Code and it didn't seem to work with an existing .NET CLI project.

DustinKingen avatar May 06 '16 17:05 DustinKingen

@dustinkingen Have you tried the newest VSCode insider version and the newest release candidates of the Omnisharp C# extension? My tests with a .Net Cli Mvc project were actually quite successful: https://code.visualstudio.com/blogs/2016/02/01/introducing_insiders_build https://github.com/OmniSharp/omnisharp-vscode/releases

nicolasr75 avatar May 06 '16 19:05 nicolasr75

Thanks @nicolasr75 I will give the inside build a try.

DustinKingen avatar May 06 '16 19:05 DustinKingen

Will this be the final blow? Or do you expect more churn and API changes for RTM?

roterdam avatar May 06 '16 22:05 roterdam

@roterdam there will be minimal API surface changes to the runtime NuGet packages (i.e. the stuff that actually runs as part of your app). The key areas of improvement between RC2 and RTM will be: bugs, security, performance, and reliability.

Eilon avatar May 06 '16 23:05 Eilon

BTW a blog announcement regarding the RC2 plans was posted earlier today: https://blogs.msdn.microsoft.com/dotnet/2016/05/06/net-core-rc2-improvements-schedule-and-roadmap/

Eilon avatar May 06 '16 23:05 Eilon

Visual Studio Code in the meantime works very well with ASP.NET Core RC2 nightly builds.

I hope it was a joke... Visual studio code is decent text editor far from being an IDE... 😭 But maybe it's just me.

gdoron avatar May 07 '16 18:05 gdoron

@gdoron I tried following the instructions to get on nightly but dotnet CLI can't find the packages on nuget or the Microsoft myget feed for dotnet-core/aspnet. I'm just going to wait for RTM.

DustinKingen avatar May 07 '16 19:05 DustinKingen

@dustinkingen you can wait for RC 2(should be mid May), no need to wait for RTM(end of June). I personally am going to wait for RC2, visual studio code IMHO is somewhere between wordpad and Notepad++ and very not user friendly.

gdoron avatar May 07 '16 19:05 gdoron

@dustinkingen Yes, the learning curve is especially rough right on the eve of RC2 and new docs about to hit to cover RC2. You can find new docs on the dev branch in the Docs repo, but they're still very WIP right now. The cli-samples are kept up-to-date at https://github.com/aspnet/cli-samples. Get the .NET Core SDK Installer from https://github.com/dotnet/cli/tree/rel/1.0.0. It does all work. If you run into any issues or have questions, you can come over to JabbR and talk to the devs there. https://jabbr.net/#/rooms/AspNetCore

guardrex avatar May 07 '16 20:05 guardrex