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 May 6th, 2017, 09:06 PM
Registered User
 
Join Date: May 2017
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 1, Page 19 .NET Core CLI

In "Building an Application" you say just use:

>dotnet new

"This command creates a Program.cs."

Well it definitely doesn't do that, has something changed since VS 2017 came out?
 
Old May 6th, 2017, 11:06 PM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

Quote:
Originally Posted by mutualcore View Post
In "Building an Application" you say just use:

>dotnet new

"This command creates a Program.cs."

Well it definitely doesn't do that, has something changed since VS 2017 came out?
This changed with Visual Studio 2017 and the new tools. Now you need to:

>dotnet new console

to create a new console application. Also, a project.json file is not created, but instead a csproj file.

Nothing is lost: download the free extra chapter for .NET Core with csproj:
https://csharp.christiannagel.com/20...05/dotnetcore/

You can also download a chapter for the C# 7.0 syntax updates:
https://csharp.christiannagel.com/2017/04/03/csharp7/

In a few days, the chapters will be downloadable from the Wrox site as well.

I hope this helps.
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel
 
Old May 7th, 2017, 02:12 AM
Registered User
 
Join Date: May 2017
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Christian, will Chapter 47 be provided as an update to the Kindle ebook?
 
Old May 7th, 2017, 02:38 AM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

Quote:
Originally Posted by mutualcore View Post
Thanks Christian, will Chapter 47 be provided as an update to the Kindle ebook?
I don't think so, but I'll ask my editor about this possibility.

Cheers,
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 19, Page 555, Turning off unobtrusive validation Drogil BOOK: Beginning Visual C# 2012 0 November 18th, 2013 03:33 PM
Chapter 19 page 702 Nick Makin BOOK: Beginning ASP.NET 4 : in C# and VB 5 April 2nd, 2012 10:41 AM
Problem with Chapter 19, Page 720 BobRoberts BOOK: Beginning ASP.NET 4 : in C# and VB 2 November 4th, 2011 12:38 PM
chapter 19 page 660 Cannot Create a New Database Mike_Pliskin BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 4 September 5th, 2010 01:52 PM
Chapter 19 - page 641 Struct RegisrtationInformation bon_chan BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 1 July 29th, 2010 03:49 PM





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