提交 91f0bfbe 编写于 作者: T Tanner Gooding

Updating Settings.targets to ignore BC42366 and CS7035.

上级 087e1d6f
...@@ -243,6 +243,15 @@ ...@@ -243,6 +243,15 @@
<OptionStrict>On</OptionStrict> <OptionStrict>On</OptionStrict>
<RootNamespace></RootNamespace> <RootNamespace></RootNamespace>
<VBRuntime>Embed</VBRuntime> <VBRuntime>Embed</VBRuntime>
<!-- Suppress the following warnings by default for C# projects
42366: GeneratedAssemblyInfo_<version>.vb will report this warning if any of the four parts
of the version string (major.minor.build.revision) are above 65535. This breaks for
various build formats involving the current year/month/day. For example it works for
60614 (June 14th, 2016), but breaks for 70614 (June 14th, 2017) and it also breaks
for something like 20160614 (also June 14th, 2016).
-->
<NoWarn>$(NoWarn);42366</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Import Include="Microsoft.VisualBasic" /> <Import Include="Microsoft.VisualBasic" />
...@@ -276,9 +285,13 @@ ...@@ -276,9 +285,13 @@
the methods are public. We don't want to duplicate documentation for them the methods are public. We don't want to duplicate documentation for them
and hence suppress this warning until we get closer to release and a more and hence suppress this warning until we get closer to release and a more
thorough documentation story thorough documentation story
7035: GeneratedAssemblyInfo_<version>.cs will report this warning if any of the four parts
of the version string (major.minor.build.revision) are above 65535. This breaks for
various build formats involving the current year/month/day. For example it works for
60614 (June 14th, 2016), but breaks for 70614 (June 14th, 2017) and it also breaks
for something like 20160614 (also June 14th, 2016).
--> -->
<NoWarn>1591</NoWarn> <NoWarn>$(NoWarn);1591;7035</NoWarn>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'"> <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册