暂时屏蔽CS8601-8604的可空报警
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<PropertyGroup>
|
||||
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<NoWarn>$(NoWarn);CS1591;</NoWarn>
|
||||
<NoWarn>$(NoWarn);CS1570;CS1587;CS1591;CS8601;CS8602;CS8603;CS8618;</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
|
||||
@@ -28,7 +28,7 @@ public class TemplateContext
|
||||
#if DEBUG
|
||||
BasePath = CodeHelper.GetSolutionDirectoryPath(false)!;
|
||||
#else
|
||||
BasePath = FileVariable.GenerateCodePath;
|
||||
BasePath = JNPF.Common.Configuration.FileVariable.GenerateCodePath;
|
||||
#endif
|
||||
ModuleCode = moduleCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user