|
|
|
|
|
by neonsunset
733 days ago
|
|
I'm not sure where you are coming from in terms of difficulty of setting it up, it's just - sudo apt install dotnet-sdk-8.0 / brew install dotnet-sdk
- dotnet new console -o {folder} --aot
- dotnet run -c Release
- optionally dotnet publish -o .
If you want to use it as a scripting language, you do `dotnet tool install -g dotnet-script` and use it normally[0]. Keep in mind that C# is not designed for this, but it will work (at the cost of first uncached script launch costing extra - it is a compiled language after all, but that's a niche scenario anyway).[0]: https://github.com/dotnet-script/dotnet-script?tab=readme-ov... |
|
Do I need to accept the below licenses to develop a C# app? I'm not asking you specifically, just that I don't care to try and understand if I can even use the language without accepting any of the below, (anything not MIT or Apache)
License information for .NET on Windows
The Windows distribution of .NET contains files that are provided under multiple licenses. This information is provided to help you understand the license terms that apply to your use. By using any or all of these files you agree to their associated license terms.
The following binaries are licensed with the Windows SDK License:
api-ms-. (used by .NET runtime, .NET 6 and earlier) ucrtbase.dll (used by .NET runtime, .NET 6 and earlier) D3DCompiler_47_cor3.dll (used by WPF)
The following binaries are licensed with the .NET Library License
Microsoft.DiaSymReader.Native.{x86|amd64|arm|arm64}.dll (used by .NET runtime and SDK) PresentationNative_cor3.dll (used by WPF) wpfgfx_cor3.dll (used by WPF) The following binaries are licensed with the Microsoft Visual C++ Runtime Software License:
vcruntime140_cor3.dll (used by WPF)
All other binaries and files are licensed with the MIT license
This document is provided for informative purposes only, and is not itself a license.