加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
EnlistmentInfo.props 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<!-- Release builds should break when StyleCop warnings exist. -->
<StyleCopTreatErrorsAsWarnings Condition=" '$(StyleCopTreatErrorsAsWarnings)' == '' and '$(Configuration)' == 'Release' ">false</StyleCopTreatErrorsAsWarnings>
<StyleCopTreatErrorsAsWarnings Condition=" '$(StyleCopTreatErrorsAsWarnings)' == '' ">true</StyleCopTreatErrorsAsWarnings>
<ProjectRoot>$(MSBuildThisFileDirectory)</ProjectRoot>
<SolutionDir>$(ProjectRoot)src\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RequireRestoreConsent>false</RequireRestoreConsent>
<DownloadNuGetExe>true</DownloadNuGetExe>
</PropertyGroup>
<Target Name="ExcludeGeneratedFilesFromStyleCop" BeforeTargets="StyleCop">
<ItemGroup>
<Compile Condition=" $([System.String]::new('%(FileName)').StartsWith('TemporaryGeneratedFile')) ">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
</Compile>
</ItemGroup>
</Target>
</Project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化