File tree Expand file tree Collapse file tree 4 files changed +0
-101
lines changed Expand file tree Collapse file tree 4 files changed +0
-101
lines changed Original file line number Diff line number Diff line change @@ -42,21 +42,6 @@ if ($project.Type -ne "C#") {
42
42
$analyzersPath = Split-Path - Path $toolsPath - Parent
43
43
$analyzersPath = Join-Path $analyzersPath " analyzers"
44
44
45
- $analyzerFilePath = Join-Path $analyzersPath " Google.Protobuf.dll"
46
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
47
-
48
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CFG.dll"
49
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
50
-
51
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.Core.dll"
52
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
53
-
54
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CSharp.Core.dll"
55
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
56
-
57
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.ShimLayer.dll"
58
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
59
-
60
45
$analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CSharp.dll"
61
46
$project.Object.AnalyzerReferences.Add ($analyzerFilePath )
62
47
Original file line number Diff line number Diff line change @@ -15,41 +15,6 @@ if ($project.Object.AnalyzerReferences -eq $null) {
15
15
$analyzersPath = Split-Path - Path $toolsPath - Parent
16
16
$analyzersPath = Join-Path $analyzersPath " analyzers"
17
17
18
- $analyzerFilePath = Join-Path $analyzersPath " Google.Protobuf.dll"
19
- try {
20
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
21
- }
22
- catch {
23
- }
24
-
25
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CFG.dll"
26
- try {
27
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
28
- }
29
- catch {
30
- }
31
-
32
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.Core.dll"
33
- try {
34
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
35
- }
36
- catch {
37
- }
38
-
39
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CSharp.Core.dll"
40
- try {
41
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
42
- }
43
- catch {
44
- }
45
-
46
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.ShimLayer.dll"
47
- try {
48
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
49
- }
50
- catch {
51
- }
52
-
53
18
$analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CSharp.dll"
54
19
try {
55
20
$project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
Original file line number Diff line number Diff line change @@ -42,20 +42,5 @@ if ($project.Type -ne "VB.NET") {
42
42
$analyzersPath = Split-Path - Path $toolsPath - Parent
43
43
$analyzersPath = Join-Path $analyzersPath " analyzers"
44
44
45
- $analyzerFilePath = Join-Path $analyzersPath " Google.Protobuf.dll"
46
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
47
-
48
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CFG.dll"
49
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
50
-
51
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.Core.dll"
52
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
53
-
54
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.ShimLayer.dll"
55
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
56
-
57
45
$analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.VisualBasic.dll"
58
46
$project.Object.AnalyzerReferences.Add ($analyzerFilePath )
59
-
60
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.VisualBasic.Core.dll"
61
- $project.Object.AnalyzerReferences.Add ($analyzerFilePath )
Original file line number Diff line number Diff line change @@ -15,45 +15,9 @@ if ($project.Object.AnalyzerReferences -eq $null) {
15
15
$analyzersPath = Split-Path - Path $toolsPath - Parent
16
16
$analyzersPath = Join-Path $analyzersPath " analyzers"
17
17
18
- $analyzerFilePath = Join-Path $analyzersPath " Google.Protobuf.dll"
19
- try {
20
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
21
- }
22
- catch {
23
- }
24
-
25
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.CFG.dll"
26
- try {
27
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
28
- }
29
- catch {
30
- }
31
-
32
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.Core.dll"
33
- try {
34
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
35
- }
36
- catch {
37
- }
38
-
39
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.ShimLayer.dll"
40
- try {
41
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
42
- }
43
- catch {
44
- }
45
-
46
18
$analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.VisualBasic.dll"
47
19
try {
48
20
$project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
49
21
}
50
22
catch {
51
23
}
52
-
53
-
54
- $analyzerFilePath = Join-Path $analyzersPath " SonarAnalyzer.VisualBasic.Core.dll"
55
- try {
56
- $project.Object.AnalyzerReferences.Remove ($analyzerFilePath )
57
- }
58
- catch {
59
- }
You can’t perform that action at this time.
0 commit comments