Bug 11044 - Solution sharpkit fail to load most of its project configurations.
Summary: Solution sharpkit fail to load most of its project configurations.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-03-11 10:52 UTC by Peter Hultqvist
Modified: 2015-08-25 06:47 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DOWNSTREAM

Description Peter Hultqvist 2013-03-11 10:52:22 UTC
The project sharpkit is available at:
https://code.google.com/p/sharpkit/source/checkout

Upon loading the solution it appears that something went wrong in loading the configurations.

Symptoms:
- most projects are marked (not built in active configuration)
- The main configuration choosers in the top bar are empty/disabled.
- Opening options for one of the "broken" projects and open the Build->General panel cause an exception:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at MonoDevelop.CSharp.Project.CompilerOptionsPanelWidget..ctor(DotNetProject project)
   at MonoDevelop.CSharp.Project.CompilerOptionsPanel.CreatePanelWidget()
   at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePageWidget(SectionPage page)
   at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage(OptionsDialogSection section)
   at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.OnSelectionChanged(Object s, EventArgs a)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

Tested with same result in.
Xamarin Studio 4.0.1 (build 9) on windows 8
Monodevelop(git master 2013-03-10) on Ubuntu using mono 3.0.6.

I tried to debug the Monodevelop version, I found that the defaultconfiguration(not exact name) field was null as well, there were 0 configurations in the configurations array.

It does work on Visual Studio 2010.
Comment 1 Yvan Rodrigues 2014-08-09 19:10:08 UTC
Hi I'm a SharpKit committer.

When SharpKit is installed, it registers with any installed Visual Studios as an extension, but it doesn't do so with Xamarin Studio. I don't think Xamarin Studio supports extensions in the same sense as VS; correct me if I'm wrong.

What happens when you open the solution in VS when SharpKit is not installed?
Comment 2 Lluis Sanchez 2015-08-25 06:47:43 UTC
There is no SharpKit extension for Xamarin Studio.