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 May 6th, 2017, 09:06 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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?
Reply With Quote
  #2 (permalink)  
Old May 6th, 2017, 11:06 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

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
Reply With Quote
  #3 (permalink)  
Old May 7th, 2017, 02:12 AM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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?
Reply With Quote
  #4 (permalink)  
Old May 7th, 2017, 02:38 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

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
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
Chapter 19, Page 555, Turning off unobtrusive validation Drogil BOOK: Beginning Visual C# 2012 0 November 18th, 2013 02: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



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


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