How do I create a class library targeting .Net Core in visual studio 2015?
I found this getting started “guide”, which shows how to create a new .Net Core project using the dotnet command line tool.
Do I need to create somehow a VS project manual based on the generated files (project.json…)?
Is there a way to create a .Net Core DLL inside of VS without using the “dotnet” tool?
Asked
Active
Viewed 5,507 times
12

musium
- 2,942
- 3
- 34
- 67
-
10If you're using the `dotnet` command line tool, you're ahead of the release candidates... I don't know whether there's VS support for that. Within the RC1 "dnx" world you can definitely use the VS plugin for ASP.NET vnext to create a class library package. Do you have that installed? (In New Project / Templates / Visual C# / Web, is there a "Class Library (Package)" option? – Jon Skeet Mar 14 '16 at 09:32
-
1Nice! Yes I’ve installed that.. and creating a project worked. Thank you! – musium Mar 14 '16 at 09:44
1 Answers
11
For .net Core RC 2 if you have installed the tools then you can simply go: File -> Visual C# -> New project -> .Net Core using visual studio. I am currently working on a guide to get started with these kind of projects here if you want so see

Luis Palacios
- 754
- 13
- 35
-
Can you please this link (http://stackoverflow.com/questions/40004339/net-standard-vs-net-core-app-when-creating-net-core-project-using-console-or) , when you create a class library it doesn't reference .NET Core – Hussein Salman Oct 12 '16 at 19:23
-