Closed ArsenShnurkov closed 9 years ago
Choose menu Help -> Open Log Directory open Ide.log link
Logfile says:
INFO [2015-03-07 12:09:30Z]: Creating DefaultWorkbench
INFO [2015-03-07 12:09:30Z]: Updating Welcome Page from 'http://software.xamarin.com/Service/News'.
ERROR [2015-03-07 12:09:31Z]: System.IO.FileNotFoundException: Could not load file or assembly '/usr/lib64/monodevelop/AddIns/MonoDevelop.PackageManagement/NuGet.Core.dll' or one of its dependencies. The system cannot find the file specified.
File name: '/usr/lib64/monodevelop/AddIns/MonoDevelop.PackageManagement/NuGet.Core.dll'
at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] in <filename unknown>:0
at Mono.Addins.RuntimeAddin.LoadModule (Mono.Addins.Description.ModuleDescription module, System.Collections.ArrayList asmList) [0x00000] in <filename unknown>:0
at Mono.Addins.RuntimeAddin.EnsureAssembliesLoaded () [0x00000] in <filename unknown>:0
at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean throwIfNotFound) [0x00000] in <filename unknown>:0
at Mono.Addins.TypeExtensionNode.get_Type () [0x00000] in <filename unknown>:0
at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] in <filename unknown>:0
at Mono.Addins.InstanceExtensionNode.GetInstance () [0x00000] in <filename unknown>:0
at Mono.Addins.ExtensionNodeEventArgs.get_ExtensionObject () [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.IdeApp.OnExtensionChanged (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] in <filename unknown>:0
INFO [2015-03-07 12:09:31Z]: Add-in loaded: MonoDevelop.Deployment.Linux
Installed files are
# equery files nuget-for-monodevelop
* Searching for nuget-for-monodevelop ...
* Contents of dev-dotnet/nuget-for-monodevelop-2.8.1:
/usr
/usr/bin
/usr/bin/nuget
/usr/lib
/usr/lib/mono
/usr/lib/mono/NuGet
/usr/lib/mono/NuGet/4.5
/usr/lib/mono/NuGet/4.5/NuGet.exe
/usr/lib64
/usr/lib64/mono
/usr/lib64/mono/gac
/usr/lib64/mono/gac/NuGet.Core
/usr/lib64/mono/gac/NuGet.Core/2.8.1.0__0738eb9f132ed756
/usr/lib64/mono/gac/NuGet.Core/2.8.1.0__0738eb9f132ed756/NuGet.Core.dll
/usr/lib64/mono/gac/NuGet.Core/2.8.1.0__0738eb9f132ed756/NuGet.Core.dll.mdb
/usr/lib64/mono/nuget-for-monodevelop
/usr/lib64/mono/nuget-for-monodevelop/NuGet.Core.dll -> ../gac/NuGet.Core/2.8.1.0__0738eb9f132ed756/NuGet.Core.dll
assemblies are loaded in the line https://github.com/mono/mono-addins/blob/master/Mono.Addins/Mono.Addins/RuntimeAddin.cs#L644
asm = Assembly.LoadFrom (asmPath);
string asmPath = Path.Combine (baseDirectory, s);
s in module.Assemblies
LoadFrom should look to GAC first, see
Here is the assembly strong name:
# gacutil -l NuGet.Core
The following assemblies are installed into the GAC:
NuGet.Core, Version=2.8.1.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Number of items = 1
it is referenced in ./src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.addin.xml
<Import assembly="NuGet.Core.dll" />
works for me
Solution window doesn't show the ASP .NET project created from default template (The rectangle of window is present inside the monodevelop frame, but the content of solution window is absent for unknown reason)