Open ngm opened 7 years ago
Assembly.GetExecutingAssembly() is used in quite a few places. This API has been changed in .NET Core (although may be returning: https://blogs.msdn.microsoft.com/dotnet/2016/05/27/making-it-easier-to-port-to-net-core/)
The new API uses typeof and GetTypeInfo(), e.g.
typeof(PicklesModule).GetTypeInfo().Assembly.GetName().Version);
Need to investigate what is the recommended API going forward.
Assembly.GetExecutingAssembly() is used in quite a few places. This API has been changed in .NET Core (although may be returning: https://blogs.msdn.microsoft.com/dotnet/2016/05/27/making-it-easier-to-port-to-net-core/)
The new API uses typeof and GetTypeInfo(), e.g.
Need to investigate what is the recommended API going forward.