.NET Core with csproj

Professional C# 6 and .NET Core 1.0 now has two extra chapters for download. The first extra chapter was C# 7.0 – New Features, now I’m making .NET Core with csproj available.

Professional C# 6

The book Professional C# 6 and .NET Core 1.0 was released with Visual Studio 2015. Shortly after the book release, .NET Core 1.0 was released on June 27th, 2016. While .NET Core was released, the tools for .NET Core have been in a preview state. Now, with the release of Visual Studio 2017, the .NET Core tools are released as well. While the source code for .NET Core did not change, the project files changed.

To give you all the information what changed to make your way through .NET Core, this Chapter gives you all the information you need with the new tools. There’s some overlap with information you can already read in the book. However, with the release of the tool it helps having a fresh view and not only include information what’s changed.

All the samples for the book have been updated to Visual Studio 2017. At the GitHub repository of the book you can get the Visual Studio 2015 version of the projects in the VS2015 branch, and the Visual Studio 2017 version in the VS2017 and Master branches.

The book described the project file project.json, as this was the project file used with Visual Studio 2015. Instead of using this file with JSON syntax, a switch was made back to XML with a csproj file to support MSBuild. Previously the MSBuild project file was very long and not easy to work with an editor. This has changed. Now a lot of defaults are defined, which reduce the length of the file and make it easier to work with. For example, instead of the need to add every source file of the project explicitly, now by default all C# files from the directory are added automatically.

What you can read in this Chapter:

  • .NET Core Versions and Microsoft’s Support
  • .NET Core CLI
  • Creating and using libraries and .NET Standard
  • Unit Testing
  • Using Tools
  • Creating Packages
  • Publishing
  • Migration from project.json

Download your free copy here: .NET Core with csproj!

A big thanks to my reviewers Martin Ulrich and Istvan Novak!

Enjoy! If you’ve some comments, please comment here to this blog article!

Christian

Some of my .NET Core my blog articles:

In my workshops you’ll also get great .NET Core coverage!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s