Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 3433c7a

Browse files
committed
Update RefactoringEssentials.nuspec to support project.json-based projects in addition to packages.config-based projects
1 parent a92ad23 commit 3433c7a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

RefactoringEssentials/RefactoringEssentials.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</frameworkAssemblies>
2121
</metadata>
2222
<files>
23-
<file src="RefactoringEssentials.dll" target="tools\analyzers\" />
23+
<file src="RefactoringEssentials.dll" target="analyzers\dotnet\" />
2424
<file src="tools\install.ps1" target="tools\" />
2525
<file src="tools\uninstall.ps1" target="tools\" />
2626
</files>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
param($installPath, $toolsPath, $package, $project)
22

3-
$analyzerPath = join-path $toolsPath "analyzers"
3+
$analyzerPath = join-path (split-Path -path $toolsPath -parent) "analyzers\dotnet"
44
$analyzerFilePath = join-path $analyzerPath "RefactoringEssentials.dll"
55

66
$project.Object.AnalyzerReferences.Add("$analyzerFilePath")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
param($installPath, $toolsPath, $package, $project)
22

3-
$analyzerPath = join-path $toolsPath "analyzers"
3+
$analyzerPath = join-path (split-Path -path $toolsPath -parent) "analyzers\dotnet"
44
$analyzerFilePath = join-path $analyzerPath "RefactoringEssentials.dll"
55

66
$project.Object.AnalyzerReferences.Remove("$analyzerFilePath")

0 commit comments

Comments
 (0)