Skip to content
This repository was archived by the owner on Apr 10, 2018. It is now read-only.

Commit d186478

Browse files
committed
Fix for C++/CLI to ensure that the assembly gets removed
1 parent 9155936 commit d186478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NuGet/Scripts/RestSharp.Portable/uninstall.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ param($installPath, $toolsPath, $package, $project)
33
$obj = $project.Object
44
$getRefsMethod = [Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.VCProjectShim].GetMethod("get_References")
55
$refs = $getRefsMethod.Invoke($obj, $null)
6-
$assemblyRef = $refs.Find("RestSharp.Portable.Encodings")
6+
$assemblyRef = $refs.Find("RestSharp.Portable")
77
if ($assemblyRef -ne $NULL) {
88
$assemblyRef.Remove();
99
}

0 commit comments

Comments
 (0)