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