Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 6 > BOOK: Professional C# 6 and .NET Core 1.0
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 20th, 2016, 10:21 AM
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2016
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
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?
Reply With Quote
  #2 (permalink)  
Old December 20th, 2016, 04:42 PM
Wrox Author
Points: 1,151, Level: 13
Points: 1,151, Level: 13 Points: 1,151, Level: 13 Points: 1,151, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2010
Location: Austria
Posts: 171
Thanks: 2
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
Reply With Quote
  #3 (permalink)  
Old December 20th, 2016, 05:18 PM
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2016
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks Christian!
Reply With Quote
  #4 (permalink)  
Old January 18th, 2017, 03:40 AM
Wrox Author
Points: 1,151, Level: 13
Points: 1,151, Level: 13 Points: 1,151, Level: 13 Points: 1,151, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2010
Location: Austria
Posts: 171
Thanks: 2
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 12: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



All times are GMT -4. The time now is 01:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.