系统配置获取程序集优化:先判断入口程序集是否为空,iis获取到的为空,core程序不为空
笑笑 authored at 2021-05-12 10:19:28
411.00 B
X
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NewLife.Common;
using Xunit;

namespace XUnitTest.Common
{

    public class SysConfigTest
    {
        [Fact(DisplayName = "系统名称")]
        public void DisplayNameTest()
        {
            var asm = SysConfig.SysAssembly;
            Assert.NotNull(asm);
        }
    }
}