Wrox Programmer Forums
|
BOOK: Professional C# 6 and .NET Core 1.0
This is the forum to discuss the Wrox book Professional C# 6 and .NET Core 1.0 by Christian Nagel; ISBN: 978-1-119-09660-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 6 and .NET Core 1.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2016, 11:21 AM
Authorized User
 
Join Date: Aug 2016
Posts: 11
Thanks: 0
Thanked 2 Times in 2 Posts
Default page 1223 : global.json

The book has:
"version": "1.0.0-0"

My project as I follow along has:
"version": "1.0.0-preview2-003121"

Is there some update I need to get from preview 2 to the release version?
 
Old December 20th, 2016, 05:42 PM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

thanks for mentioning this. I'll add information to the book updates.

.NET Core is now released (also version 1.1 of .NET Core), but the tools are not. What you see with "1.0.0-preview2-003121" is preview 2 of the .NET Core tools. You can have multiple versions of the tools installed on your system. Using global.json you define what tools version is used with the project.

Here https://www.microsoft.com/net/download/core# you can see that preview 2 is the actual version for Visual Studio 2015. For Visual Studio 2017, preview 3 is available.

Be aware that Visual Studio 2017 changes the project file format from project.json to csproj. With the release of Visual Studio 2017, the change should be smooth: opening .NET Core projects will be automatically migrated to the new format. After the migration, you can no longer open the .NET Core projects with Visual Studio 2015.
Visual Studio 2017 will be released in 2017. With the upcoming changes I'm preparing 2 PDF files that you can download as soon as Visual Studio 2017 is in a more complete state and the chapters are completed.
Also, check https://github.com/ProfessionalCShar...ssionalCSharp6 for updated source code. For Visual Studio 2017, I'm working on the vs2017 branch to have the source code available for Visual Studio 2017 without the need for a migration.

Hope this helps.
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel
 
Old December 20th, 2016, 06:18 PM
Authorized User
 
Join Date: Aug 2016
Posts: 11
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Thanks Christian!
 
Old January 18th, 2017, 04:40 AM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

added a blog article about global.json, which also helps using VS 2017 RC and VS 2015: https://csharp.christiannagel.com/20...versionissues/
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 23 Page 488 Data Context in Global.asax? ken evans BOOK: Professional Visual Studio 2010 5 December 7th, 2010 01:50 PM
Calling web page from Global.asax nitinp ASP.NET 1.0 and 1.1 Professional 3 August 27th, 2007 08:25 PM
an error in Global.asax when the page is started lovehorse BOOK: ASP.NET Website Programming Problem-Design-Solution 5 October 17th, 2006 07:22 PM
Page 91 of book: Global Variables. Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 1 June 24th, 2006 10:48 PM
global redirect for one ASP page in site danomatic Classic ASP Basics 2 June 10th, 2003 06:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.