Skip to content

Commit 01c741b

Browse files
author
Paul van Brenk
committed
Add nuget package so we can use the new filewatcher API in VS
1 parent 3aa5920 commit 01c741b

File tree

3 files changed

+47
-15
lines changed

3 files changed

+47
-15
lines changed

Build/xTVS.ruleset

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
22
<RuleSet Name="xTVS Coding Rules" Description="xTVS ruleset with low-value tests disabled." ToolsVersion="10.0">
33
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
44
<Rule Id="CA2204" Action="None" />
5-
<Rule Id="CA2210" Action="None" /> <!-- mt.exe problem with signing -->
6-
5+
<Rule Id="CA2210" Action="None" />
6+
<!-- mt.exe problem with signing -->
77
<Rule Id="CA1001" Action="Warning" />
88
<Rule Id="CA1009" Action="Warning" />
99
<Rule Id="CA1016" Action="Warning" />
1010
<Rule Id="CA1049" Action="Warning" />
11-
<Rule Id="CA1033" Action="None" /> <!-- Explicit interface implementation on base classes -->
11+
<Rule Id="CA1033" Action="None" />
12+
<!-- Explicit interface implementation on base classes -->
1213
<Rule Id="CA1060" Action="Warning" />
1314
<Rule Id="CA1061" Action="Warning" />
1415
<Rule Id="CA1063" Action="Warning" />
15-
<Rule Id="CA1065" Action="None" /> <!-- Throw from property accessors -->
16+
<Rule Id="CA1065" Action="None" />
17+
<!-- Throw from property accessors -->
1618
<Rule Id="CA1301" Action="Warning" />
1719
<Rule Id="CA1400" Action="Warning" />
1820
<Rule Id="CA1401" Action="Warning" />
@@ -49,7 +51,8 @@
4951
<Rule Id="CA2147" Action="Warning" />
5052
<Rule Id="CA2149" Action="Warning" />
5153
<Rule Id="CA2200" Action="Warning" />
52-
<Rule Id="CA2202" Action="None" /> <!-- Do not dispose objects multiple times -->
54+
<Rule Id="CA2202" Action="None" />
55+
<!-- Do not dispose objects multiple times -->
5356
<Rule Id="CA2207" Action="Warning" />
5457
<Rule Id="CA2212" Action="Warning" />
5558
<Rule Id="CA2213" Action="Warning" />
@@ -66,21 +69,27 @@
6669
<Rule Id="CA2240" Action="Warning" />
6770
<Rule Id="CA2241" Action="Warning" />
6871
<Rule Id="CA2242" Action="Warning" />
69-
70-
<Rule Id="CA1008" Action="None" /> <!-- Enum should have zero value -->
72+
<Rule Id="CA1008" Action="None" />
73+
<!-- Enum should have zero value -->
7174
<Rule Id="CA1013" Action="Warning" />
72-
<Rule Id="CA1303" Action="None" /> <!-- Do not pass literals as localized parameters -->
73-
<Rule Id="CA1308" Action="None" /> <!-- Normalize strings to uppercase -->
74-
<Rule Id="CA1806" Action="None" /> <!-- Do not ignore method results -->
75+
<Rule Id="CA1303" Action="None" />
76+
<!-- Do not pass literals as localized parameters -->
77+
<Rule Id="CA1308" Action="None" />
78+
<!-- Normalize strings to uppercase -->
79+
<Rule Id="CA1806" Action="None" />
80+
<!-- Do not ignore method results -->
7581
<Rule Id="CA1816" Action="Warning" />
7682
<Rule Id="CA1819" Action="Warning" />
7783
<Rule Id="CA1820" Action="Warning" />
7884
<Rule Id="CA1903" Action="Warning" />
79-
<Rule Id="CA2004" Action="None" /> <!-- Remove calls to GC.KeepAlive -->
85+
<Rule Id="CA2004" Action="None" />
86+
<!-- Remove calls to GC.KeepAlive -->
8087
<Rule Id="CA2006" Action="Warning" />
8188
<Rule Id="CA2102" Action="Warning" />
82-
<Rule Id="CA2104" Action="None" /> <!-- Do not declare readonly mutable types -->
83-
<Rule Id="CA2105" Action="None" /> <!-- Array fields should not be read only -->
89+
<Rule Id="CA2104" Action="None" />
90+
<!-- Do not declare readonly mutable types -->
91+
<Rule Id="CA2105" Action="None" />
92+
<!-- Array fields should not be read only -->
8493
<Rule Id="CA2106" Action="Warning" />
8594
<Rule Id="CA2115" Action="Warning" />
8695
<Rule Id="CA2119" Action="Warning" />
@@ -90,11 +99,30 @@
9099
<Rule Id="CA2205" Action="Warning" />
91100
<Rule Id="CA2215" Action="Warning" />
92101
<Rule Id="CA2221" Action="Warning" />
93-
<Rule Id="CA2222" Action="None" /> <!-- Do not decrease inherited member visibility -->
102+
<Rule Id="CA2222" Action="None" />
103+
<!-- Do not decrease inherited member visibility -->
94104
<Rule Id="CA2223" Action="Warning" />
95105
<Rule Id="CA2224" Action="Warning" />
96106
<Rule Id="CA2226" Action="Warning" />
97107
<Rule Id="CA2227" Action="Warning" />
98108
<Rule Id="CA2239" Action="Warning" />
99109
</Rules>
100-
</RuleSet>
110+
<Rules AnalyzerId="Microsoft.VisualStudio.Threading.Analyzers" RuleNamespace="Microsoft.VisualStudio.Threading.Analyzers">
111+
<Rule Id="VSTHRD001" Action="Info" />
112+
<Rule Id="VSTHRD002" Action="Info" />
113+
<Rule Id="VSTHRD003" Action="Info" />
114+
<Rule Id="VSTHRD010" Action="Info" />
115+
<Rule Id="VSTHRD011" Action="Info" />
116+
<Rule Id="VSTHRD012" Action="Info" />
117+
<Rule Id="VSTHRD100" Action="Info" />
118+
<Rule Id="VSTHRD101" Action="Info" />
119+
<Rule Id="VSTHRD102" Action="Info" />
120+
<Rule Id="VSTHRD103" Action="Info" />
121+
<Rule Id="VSTHRD104" Action="Info" />
122+
<Rule Id="VSTHRD105" Action="Info" />
123+
<Rule Id="VSTHRD106" Action="Info" />
124+
<Rule Id="VSTHRD107" Action="Info" />
125+
<Rule Id="VSTHRD108" Action="Info" />
126+
<Rule Id="VSTHRD200" Action="Info" />
127+
</Rules>
128+
</RuleSet>

Nodejs/Product/Nodejs/Nodejs.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,9 @@
12111211
<PackageReference Include="Microsoft.VisualStudio.AppDesigner">
12121212
<Version>15.3.0-rc-6162104</Version>
12131213
</PackageReference>
1214+
<PackageReference Include="Microsoft.VisualStudio.Shell.Interop.15.7.DesignTime">
1215+
<Version>15.7.1</Version>
1216+
</PackageReference>
12141217
<PackageReference Include="Microsoft.VisualStudio.Telemetry">
12151218
<Version>15.7.942-master669188BE</Version>
12161219
</PackageReference>

nuget.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
<add key="dotnet myget" value="https://dotnet.myget.org/f/dotnet-core/api/v3/index.json" />
66
<add key="roslyn myget" value="https://dotnet.myget.org/f/roslyn/api/v3/index.json" />
77
<add key="Interactive Window" value="https://dotnet.myget.org/f/interactive-window/api/v3/index.json" />
8+
<add key="VSSDK Preview" value="https://vside.myget.org/F/vssdk/api/v3/index.json" />
89
</packageSources>
910
</configuration>

0 commit comments

Comments
 (0)