Ejemplo n.º 1
0
        public ReSharperLoaderPlugin(IFileSystem fileSystem)
        {
            _fileSystem = fileSystem;
            _rootAssemblyCacheDir = _fileSystem.GetDirectory(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData))
                .GetDirectory("openwrap")
                .GetDirectory("VisualStudio")
                .GetDirectory("AssemblyCache")
                .MustExist();

            var vsAppDomain = AppDomain.CurrentDomain.GetData("openwrap.vs.appdomain") as AppDomain;
            _output = new OpenWrapOutput();
            if (vsAppDomain == null) return;

            DetectResharperLoading(vsAppDomain);
        }
Ejemplo n.º 2
0
        public ReSharperLoaderPlugin(IFileSystem fileSystem)
        {
            _fileSystem           = fileSystem;
            _rootAssemblyCacheDir = _fileSystem.GetDirectory(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData))
                                    .GetDirectory("openwrap")
                                    .GetDirectory("VisualStudio")
                                    .GetDirectory("AssemblyCache")
                                    .MustExist();

            var vsAppDomain = AppDomain.CurrentDomain.GetData("openwrap.vs.appdomain") as AppDomain;

            _output = new OpenWrapOutput();
            if (vsAppDomain == null)
            {
                return;
            }

            DetectResharperLoading(vsAppDomain);
        }