Skip to content

Commit 0125c71

Browse files
author
Omar Tawfik
committed
Remove VsMocks Microsoft.VisualStudio.Platform.VSEditor.Interop dependency
1 parent c086435 commit 0125c71

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

vsintegration/tests/Salsa/VsMocks.fs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,17 +1626,6 @@ module internal VsActual =
16261626
else
16271627
failwith("could not find " + fullPath)
16281628

1629-
// copy this private assembly next to unit tests, otherwise assembly loader cannot find it
1630-
let neededLocalAssem = Path.Combine(vsInstallDir, @"IDE\PrivateAssemblies\Microsoft.VisualStudio.Platform.VSEditor.Interop.dll")
1631-
1632-
#if NUNIT_2
1633-
let curDir = Path.GetDirectoryName((new System.Uri(System.Reflection.Assembly.Load("nunit.util").EscapedCodeBase)).LocalPath)
1634-
#else
1635-
let curDir = Path.GetDirectoryName((new System.Uri(System.Reflection.Assembly.Load("nunit.framework").EscapedCodeBase)).LocalPath)
1636-
#endif
1637-
let localCopy = Path.Combine(curDir, System.IO.Path.GetFileName(neededLocalAssem))
1638-
System.IO.File.Copy(neededLocalAssem, localCopy, true)
1639-
16401629
let list = new ResizeArray<ComposablePartCatalog>()
16411630
list.Add(CreateAssemblyCatalog(root, "Microsoft.VisualStudio.Platform.VSEditor.dll"))
16421631

0 commit comments

Comments
 (0)