File tree Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 8
8
<Copyright >Copyright © 2014-2018</Copyright >
9
9
<ProjectGuid >{A1587EAC-7B54-407E-853F-4C7493D0323E}</ProjectGuid >
10
10
<DocumentationFile >bin\Debug\Rubberduck.Core.xml</DocumentationFile >
11
- <NoWarn >1591</NoWarn >
11
+ <!-- Disable "Missing XML documentation" warning (CS1591) -->
12
+ <DisabledWarnings >$(DisabledWarnings);1591</DisabledWarnings >
12
13
<ApplicationIcon >Ducky.ico</ApplicationIcon >
13
14
<!-- Give a fixed version to not blow XAML generated code to smithereens -->
14
15
<AssemblyVersion >2.2</AssemblyVersion >
Original file line number Diff line number Diff line change 6
6
<Copyright >Copyright © 2014-2018</Copyright >
7
7
<Description >Rubberduck AddIn</Description >
8
8
<ProjectGuid >{E8AB5D93-2D0F-423D-BC15-5EE118673E48}</ProjectGuid >
9
- <NoWarn >1591</NoWarn >
9
+ <!-- Disable "Missing XML documentation" warning (CS1591) -->
10
+ <DisabledWarnings >$(DisabledWarnings);1591</DisabledWarnings >
10
11
</PropertyGroup >
11
12
<Import Project =" ..\RubberduckBaseProject.csproj" />
12
13
Original file line number Diff line number Diff line change 14
14
<RestorePackages >true</RestorePackages >
15
15
<!-- do not unify output paths by default -->
16
16
<UnifyOutputPath Condition =" '$(UnifyOutputPath)' == ''" >false</UnifyOutputPath >
17
+ <!-- Ignore MSB4011 warning, rationale above -->
18
+ <!-- Ignore VisualStudio whining about the CodeAnalysis assembly changing (IDE1001) -->
19
+ <DisabledWarnings >$(DisabledWarnings);4011;1001</DisabledWarnings >
20
+ <Version Condition =" '$(Version)' == ''" >2.2.0</Version >
17
21
</PropertyGroup >
18
22
19
- <PropertyGroup Condition =" '$(Version)' == ''" >
20
- <Version >2.2.0</Version >
23
+ <PropertyGroup Condition =" '$(AssemblyVersion)' == '' " >
21
24
<!--
22
25
This assembly version specification is considered nonstandard.
23
- As such builds that do not override the assembly version generate a warning.
24
- -->
25
- <AssemblyVersion Condition =" '$(AssemblyVersion)' == '' " >2.2.*</AssemblyVersion >
26
+ As such builds that do not override the assembly version generate a warning, which we ignore.
27
+ -->
28
+ <AssemblyVersion >2.2.*</AssemblyVersion >
29
+ <!-- Ignore CSharp compiler warning for nonstandard assembly version (CS7035) -->
30
+ <!-- Ignore Linker warning for nonstandard assembly version (AL1053) -->
31
+ <DisabledWarnings >$(DisabledWarnings);7035;1053</DisabledWarnings >
26
32
<!-- Wildcards are not deterministic, ensure build passes when setting wildcard versions -->
27
33
<Deterministic >False</Deterministic >
28
34
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments