JetBrains / resharper-nuget

Plugin for ReSharper to support NuGet references correctly
Apache License 2.0
94 stars 8 forks source link

Problem loading #20

Closed davhdavh closed 10 years ago

davhdavh commented 10 years ago

Information about extension ReSharper.NuGet

Version: 1.4.1158.1070 Description: Adds support for NuGet references in ReSharper Authors: JetBrains Tags: NuGet Dependencies: ReSharper (= 8.0 && < 8.3) License: http://www.apache.org/licenses/LICENSE-2.0 Project: https://github.com/JetBrains/resharper-nuget/wiki

This extension contains: a Plugin

ExtensionManager (Info): Adding extension 'ReSharper.NuGet' 1.4.1158.1070 from 'Default' source ExtensionPluginSource (Info): Discovering plugins from extension 'ReSharper.NuGet' NuGetExtension (Info): Looking for 'plugins' files in the ReSharper.NuGet package folder at C:\Users\Dennis\AppData\Local\JetBrains\ReSharper\vAny\packages\ReSharper.NuGet.1.4.1158.1070 NuGetExtension (Info): The package contains no files in ReSharper\v8.2\vs12.0\plugins NuGetExtension (Info): The package contains no files in VisualStudio\v12.0\vs12.0\plugins NuGetExtension (Info): Found 1 files under ReSharper\v8.2\plugins NuGetExtension (Info): The package contains no files in VisualStudio\v12.0\plugins NuGetExtension (Info): The package contains no files in ReSharper\vAny\plugins NuGetExtension (Info): The package contains no files in VisualStudio\vAny\plugins NuGetExtension (Info): The package contains no files in DotNet\v1.0\plugins NuGetExtension (Info): The package contains no files in DotNet\vAny\plugins ExtensionPluginSource (Info): Discovered plugins 'NuGet support for ReSharper' from extension 'ReSharper.NuGet' ExtensionPluginSource (Info): Adding 1 plugin(s) from extension 'ReSharper.NuGet' ExtensionPluginSource (Info): Enabling plugin 'NuGet support for ReSharper' from extension 'ReSharper.NuGet' ExtensionManager (Info): Enabling extension 'ReSharper.NuGet' PluginLoader (Info): Plugin has 1 files under the C:\Users\Dennis\AppData\Local\JetBrains\ReSharper\vAny\packages\ReSharper.NuGet.1.4.1158.1070\ReSharper\v8.2\plugins\JetBrains.ReSharper.Plugins.NuGet.8.2.dll folder: “”. PluginLoader (Error): The plugin “NuGet support for ReSharper” assembly file C:\Users\Dennis\AppData\Local\JetBrains\ReSharper\vAny\packages\ReSharper.NuGet.1.4.1158.1070\ReSharper\v8.2\plugins\JetBrains.ReSharper.Plugins.NuGet.8.2.dll with assembly name “JetBrains.ReSharper.Plugins.NuGet.8.2, Version=1.3.0.35071, Culture=neutral, PublicKeyToken=null” was denied loading because its short assembly name is the same as one of the already loaded assemblies of plugin “NuGet support for ReSharper” with assembly name “JetBrains.ReSharper.Plugins.NuGet.8.2, Version=1.3.0.35071, Culture=neutral, PublicKeyToken=null” and codebase C:\Users\Dennis\AppData\Local\JetBrains\ReSharper\vAny\packages\ReSharper.NuGet.1.4.1158.1070\ReSharper\v8.2\plugins\JetBrains.ReSharper.Plugins.NuGet.8.2.dll. ExtensionsExternalAnnotationsFileProvider (Info): Discovering external annotations files for extension 'ReSharper.NuGet' NuGetExtension (Info): Looking for 'annotations' files in the ReSharper.NuGet package folder at C:\Users\Dennis\AppData\Local\JetBrains\ReSharper\vAny\packages\ReSharper.NuGet.1.4.1158.1070 NuGetExtension (Info): The package contains no files in ReSharper\v8.2\vs12.0\annotations NuGetExtension (Info): The package contains no files in VisualStudio\v12.0\vs12.0\annotations NuGetExtension (Info): The package contains no files in ReSharper\v8.2\annotations NuGetExtension (Info): The package contains no files in VisualStudio\v12.0\annotations NuGetExtension (Info): The package contains no files in ReSharper\vAny\annotations NuGetExtension (Info): The package contains no files in VisualStudio\vAny\annotations NuGetExtension (Info): The package contains no files in DotNet\v1.0\annotations NuGetExtension (Info): The package contains no files in DotNet\vAny\annotations ExtensionsExternalAnnotationsFileProvider (Info): No external annotations files found for extension 'ReSharper.NuGet' ExtensionSettingsLoader (Info): Discovering settings files for extension 'ReSharper.NuGet' NuGetExtension (Info): Looking for 'settings' files in the ReSharper.NuGet package folder at C:\Users\Dennis\AppData\Local\JetBrains\ReSharper\vAny\packages\ReSharper.NuGet.1.4.1158.1070 NuGetExtension (Info): The package contains no files in ReSharper\v8.2\vs12.0\settings NuGetExtension (Info): The package contains no files in VisualStudio\v12.0\vs12.0\settings NuGetExtension (Info): The package contains no files in ReSharper\v8.2\settings NuGetExtension (Info): The package contains no files in VisualStudio\v12.0\settings NuGetExtension (Info): The package contains no files in ReSharper\vAny\settings NuGetExtension (Info): The package contains no files in VisualStudio\vAny\settings NuGetExtension (Info): The package contains no files in DotNet\v1.0\settings NuGetExtension (Info): The package contains no files in DotNet\vAny\settings ExtensionSettingsLoader (Info): No settings files files found for extension 'ReSharper.NuGet'

Looks like it is trying to load itself 2 times

citizenmatt commented 10 years ago

Do you have the JetBox extension installed? Can you provide a directory listing of %LOCALAPPDATA%\JetBrains\ReSharper\vAny\packages, and the content of %APPDATA%\JetBrains\ReSharper\vAny\packages.config please?

davhdavh commented 10 years ago

PowerToys.CyclomaticComplexity.8.1.23.546 ReSharper.DictionaryHelper.0.6.2 ReSharper.ExternalAnnotations.8.2.0.2160 ReSharper.NuGet.1.4.1158.1070 ReSharper.ReJS.0.5.3 UtilityPack.1.1.0

and config file: <?xml version="1.0" encoding="utf-8"?> <packages> <package id="PowerToys.CyclomaticComplexity" version="8.1.23.546" /> <package id="ReSharper.DictionaryHelper" version="0.6.2" /> <package id="ReSharper.ExternalAnnotations" version="8.2.0.2160" /> <package id="ReSharper.NuGet" version="1.4.1158.1070" /> <package id="ReSharper.ReJS" version="0.5.3" /> <package id="UtilityPack" version="1.1.0" /> </packages>

citizenmatt commented 10 years ago

Hmmm. This doesn't make sense - @derigel23, any ideas?

Are you still seeing the issue after closing and reopening Visual Studio?

derigel23 commented 10 years ago

It can be on first run when R# installs bundled packages...

davhdavh commented 10 years ago

You are right, after a few restarts of VS, the problem disappeared