Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 996 Bytes

File metadata and controls

34 lines (27 loc) · 996 Bytes

Using .NET Core

Building

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build

dotnet build 
   -c [release|debug] 
   -r [win10-x64|linux-x64] 
   {solution file}

e.g.
> dotnet build -c release -r win10-x64 AcmeSoda.sln

To run locally, look for the .exe in: E:\Source\Github\AcmeSoda\VendingMachine\UI\AcmeSodaConsoleApp\bin\Release\netcoreapp3.1\win10-x64

For runtimes: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog

Publishing

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-publish

dotnet publish 
   -c [release|debug] 
   -r [win10-x64|linux-x64]
   --self-contained [true|false]  
   {solution file}

e.g.
> dotnet publish -c release -r win10-x64 --self-contained true AcmeSoda.sln

To run locally, look for the .exe in the

{\rtf1}