打印运行时版本
parent
8eaa6606c4
commit
7707b339dc
|
|
@ -283,6 +283,7 @@ try
|
||||||
#region 运行环境 部署平台
|
#region 运行环境 部署平台
|
||||||
|
|
||||||
Log.Logger.Warning($"当前环境:{enviromentName}");
|
Log.Logger.Warning($"当前环境:{enviromentName}");
|
||||||
|
Log.Logger.Warning($".NET 运行时版本:{Environment.Version}");
|
||||||
|
|
||||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue