Build .exe file in .NET Core RC2

There are actually 2 app models in .NET Core: Portable apps: heavily inspired by “DNX console apps”, these apps don’t produce .exe files and are instead executed by the .NET Core shared runtime (whose version is defined by the Microsoft.NETCore.App package, thanks to its special type: platform attribute). The corresponding .NET Core runtime must be … Read more

How to load assemblies located in a folder in .NET Core console app

Currently running against netcoreapp1.0 you don’t actually need to go to the extent of implementing your own AssemblyLoader. There is a Default that exists which works just fine. (Hence @VSG24 mentioning that the Load doesn’t do anything). using System; using System.Runtime.Loader; namespace AssemblyLoadingDynamic { public class Program { public static void Main(string[] args) { var … Read more

tech