12

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?

2
  • 10
    If 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, 2016 at 9:32
  • 1
    Nice! Yes I’ve installed that.. and creating a project worked. Thank you!
    – musium
    Mar 14, 2016 at 9:44

1 Answer 1

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

enter image description here

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.