I downloaded the latest dotnet cli and renamed the directory that I extracted it to.
https://github.com/dotnet/cli https://dotnetcli.blob.core.windows.net/dotnet/Sdk/rel-1.0.0/dotnet-dev-win-x64.latest.zip
PS C:\Users\c\tmp\aaa> cmd /c where dotnet
C:\dotnet\dotnet-dev-win-x64.1.0.0-preview4-004071\dotnet.exe
I created a directory and did a dotnet new
in that directory.
PS C:\Users\c\tmp\aaa> dotnet new
Created new C# project in C:\Users\c\tmp\aaa.
I like that the project is named after the folder that you are in.
PS C:\Users\c\tmp\aaa> ls
Directory: C:\Users\c\tmp\aaa
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 11/8/2016 6:06 PM 833 aaa.csproj
-a---- 11/4/2016 8:20 PM 133 Program.cs
In troubleshooting a Docker for Windows issue, I wanted to run some C# WMI code I found. I got it compiling with the attached wmi.csproj.
I noticed that a Microsoft.NetCore.App
references the NETStandard.Library
. I don't understand what Microsoft.NET.Sdk
is for yet. What is Microsoft.NET.Sdk
for?
Is <reference>
the right way to add the additional net46 libraries that are not a part of the NETStandard?
https://www.nuget.org/packages/Microsoft.NETCore.App/ https://www.nuget.org/packages/NETStandard.Library/