I'm trying to write a console application which uses the System.Type declaration of multiple files using .net core 1.1 framework.
My use case is that I start the application and set the cs file paths as parameter.
sampleApp.exe d:\downloads\SomeClassA.cs e:\sample\IExSample.cs
Then I want to use the types of the cs files in my application. Somehow like:
public static void Main(string[] args) {
var types = new List<System.Type>();
foreach (var arg in args) {
// Here I need some help ;-)
System.Type typeOfArg = ?;
types.Add(typeOfArg);
}
// do more magic with filled type list
}