We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentc2335c0 commit942d292Copy full SHA for 942d292
vsintegration/src/Salsa/VsMocks.fs
@@ -1655,11 +1655,7 @@ module internal VsActual =
1655
1656
// copy this private assembly next to unit tests, otherwise assembly loader cannot find it
1657
letneededLocalAssem= vsInstallDir+@"\PrivateAssemblies\Microsoft.VisualStudio.Platform.VSEditor.Interop.dll"
1658
-#if FX_ATLEAST_45
1659
-letcurDir= System.IO.Path.GetDirectoryName((new System.Uri(System.Reflection.Assembly.Load("nunit.util").CodeBase)).LocalPath)
1660
-#else
1661
-letcurDir= System.IO.Path.GetDirectoryName((new System.Uri(System.Reflection.Assembly.GetExecutingAssembly().CodeBase)).LocalPath)
1662
-#endif
+letcurDir= System.IO.Path.GetDirectoryName((new System.Uri(System.Reflection.Assembly.Load("nunit.util").EscapedCodeBase)).LocalPath)
1663
letlocalCopy= System.IO.Path.Combine(curDir, System.IO.Path.GetFileName(neededLocalAssem))
1664
System.IO.File.Copy(neededLocalAssem, localCopy,true)
1665