Git Product home page Git Product logo

monodevelop-dnx-addin's Introduction

.NET Core Support for MonoDevelop and Xamarin Studio

Provides .NET Core and ASP.NET Core support for .NET Core .xproj and project.json files in MonoDevelop and Xamarin Studio 6.0 or higher.

Please note that this does not support .NET Core 1.0 and higher which use SDK style .csproj files without an associated project.json file. Visual Studio for Mac and MonoDevelop 7.0 have built-in support .NET Core 1.0 and the new SDK style .csproj files.

This addin uses source code from OmniSharp in order to communicate with the .NET Core design time host. It also uses source code from Roslyn, Microsoft.AspNet.Hosting, Microsoft.Framework.Logging and Microsoft.Framework.OptionsModel, since the Roslyn version of OmniSharp uses types from their corresponding NuGet packages.

Licenses

Building from source

From the src directory run NuGet restore.

git clone [email protected]:mono/monodevelop.git
cd monodevelop
git checkout master
git submodule update --init --recursive
make
rm -rf main/build/tests/
cd ..

git clone https://github.com/mhutch/MonoDevelop.AddinMaker
cd MonoDevelop.AddinMaker
nuget restore MonoDevelop.AddinMaker.sln
make install /p:MDBinDir=../monodevelop/main/build/bin /p:MDProfileVersion=6.0

git clone [email protected]:mrward/monodevelop-dnx-addin.git
cd monodevelop-dnx-addins
git checkout roslyn
cd src
nuget restore MonoDevelop.Dnx.sln
xbuild MonoDevelop.Dnx.sln /p:MDProfileVersion=6.0 /p:MDBinDir=../../../monodevelop/main/build/bin

The last xbuild step can be replaced by opening the MonoDevelop.Dnx.sln into Xamarin Studio 6.0 and building the solution.

To create the addin .mpack file run:

mdtool.exe setup pack bin/merged/MonoDevelop.Dnx.dll

Debugging

You can debug the DNX addin if you have the Xamarin Studio 6.0 and the Addin Maker addin installed by selecting Start Debugging from the Run menu.

monodevelop-dnx-addin's People

Contributors

fogzot avatar mrward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monodevelop-dnx-addin's Issues

Intellisense in Xamarin Studio 6 doesn't work...

As topic says...

I used Xamarin Studio 5.10 it worked; and then I liked the Xamarin Studio 6 visual style so upgraded and compiled DNX addin from this repo - installed without much issue, but the Intellisense stopped working on all files (including c# files, javascript files all files).

Did I miss anything during the compilation or is this a bug?

Thanks.

Poor error messages when dotnet fails to initialize

I'm filing this as a single issue, even though it could be broken down into a number of smaller bugs, as they're interrelated.

I installed the addin and created a project.

Issue 1: I didn't have .NET Core installed, and there were no error messages telling me how to fix this.

I then installed .NET Core, following all the instructions (including OpenSSL), and created a project.

The status area showed 3 errors. When I clicked on it, it showed the error pad, with the following errors:

/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.lock.json(0,0): Error NU1009: The expected lock file doesn't exist. Please run "dotnet restore" to generate a new lock file. (NU1009)
/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.json(29,29): Error NU1001: The dependency Microsoft.NETCore.App >= 1.0.0-rc2-3002702 could not be resolved. (NU1001)
/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.json(29,29): Error NU1001: The dependency Newtonsoft.Json >= 8.0.3 could not be resolved. (NU1001)

Issue 2: It was very difficult to select the errors to copy them, as they would deselect every few seconds.

Issue 3: When I closed the project, the errors did not go away. Each time I closed and reopened it, an additional set of the same errors was added.

Issue 4: When I built the project, I would sometimes get a "build succeeded" message, despite the long pad showing errors.

Issue 5: The build log didn't show any useful error information. It didn't even show the errors.

Building Solution: HelloDotNetCore (Debug)
Project HelloDotNetCore does not have a lock file.
Project HelloDotNetCore does not have a lock file.
The application was terminated by a signal: SIGHUP

---------------------- Done ----------------------

Xamarin Inspector Integration
    Enabled for project: no
        Reason: Inspector does not support this project type
    Version: 0.9.0.0
    Hash: d7fade8

Build: 1 error, 0 warnings

Issue 6: The "Restoring" message in the solution pad was blinking on and off.

Issue 7: The "restoring" message and its error never showed up in the status area.

Issue 8: XS was using 100% CPU indefinitely.

When I checked the log, I saw the following message repeated a huge amount of times. Presumably the cause of issues 2, 6 and 8 is that XS is continuously retrying to restore the packages.

OnSend ((e61c2215-4307-4e78-80eb-c7f1c4db8dc0, DependencyDiagnostics, 1) -> {
  "Framework": {
    "FrameworkName": ".NETCoreApp,Version=v1.0",
    "FriendlyName": ".NETCoreApp,Version=v1.0",
    "ShortName": "netcoreapp1.0",
    "RedistListPath": null
  },
  "Errors": [
    {
      "ErrorCode": "NU1009",
      "SourceFilePath": "/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.lock.json",
      "Message": "The expected lock file doesn't exist. Please run \"dotnet restore\" to generate a new lock file.",
      "Severity": 2,
      "StartLine": 1,
      "StartColumn": 0,
      "EndLine": 1,
      "EndColumn": 0,
      "FormattedMessage": "/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.lock.json(1,0): error NU1009: The expected lock file doesn't exist. Please run \"dotnet restore\" to generate a new lock file.",
      "Source": null
    },
    {
      "ErrorCode": "NU1001",
      "SourceFilePath": "/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.json",
      "Message": "The dependency Microsoft.NETCore.App >= 1.0.0-rc2-3002702 could not be resolved.",
      "Severity": 2,
      "StartLine": 7,
      "StartColumn": 29,
      "EndLine": 7,
      "EndColumn": 29,
      "FormattedMessage": "/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.json(7,29): error NU1001: The dependency Microsoft.NETCore.App >= 1.0.0-rc2-3002702 could not be resolved.",
      "Source": {
        "Name": "Microsoft.NETCore.App",
        "Version": "1.0.0-rc2-3002702"
      }
    },
    {
      "ErrorCode": "NU1001",
      "SourceFilePath": "/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.json",
      "Message": "The dependency Newtonsoft.Json >= 8.0.3 could not be resolved.",
      "Severity": 2,
      "StartLine": 11,
      "StartColumn": 29,
      "EndLine": 11,
      "EndColumn": 29,
      "FormattedMessage": "/Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.json(11,29): error NU1001: The dependency Newtonsoft.Json >= 8.0.3 could not be resolved.",
      "Source": {
        "Name": "Newtonsoft.Json",
        "Version": "8.0.3"
      }
    }
  ],
  "Warnings": []
})

When I ran dotnet restore in the terminal, I finally found the real issue:

saturn:HelloDotNetCore mikayla$ dotnet restore
log  : Restoring packages for /Users/mikayla/Projects/HelloDotNetCore/src/HelloDotNetCore/project.json...
error: Unable to load the service index for source https://api.nuget.org/v3/index.json.
error:   The type initializer for 'Crypto' threw an exception.
error:   The type initializer for 'CryptoInitializer' threw an exception.
error:   Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.
error:    (Exception from HRESULT: 0x8007007E)

Issue 9: the above information was not shown anywhere in XS.

Can we have an updated version for Core 1.1?

I'm using MonoDevelop 6.2.0.1812, with Mono 4.8.0.495
I've been able to build the Addin (v 0.6) with difficulty (for example ILRepack is not in package.config)
And it installs OK.
But running it is terribly slow, and a simple console app hangs on load at "Loading workspace documents".

Is this an ongoing project?
Thx

Xamarin Studio not finishing project creation

See screencast here.

Using the latest Xamarin Studio Alpha (as of June 6, 2016 - version 6.1 build 817) on Mac. Also the latest DNX extension from the Alpha repository.

Clicking File-New solution, for Console Application or Asp.Net Core Web Application starts creating the project on disk, but the Wizard never finishes. The .sln file that gets created has a global.json file referenced, but that file does not exist on disk. There is no Program.cs or any code created by the wizard.

I have tried this on two Macs, with the same result.

Also, when I ran the Wizard on Xamarin Studio Beta, it DID create the project, but it wouldn't build, and I had intellisense errors on every line.

The following steps from https://github.com/mrward/monodevelop-dnx-addin/tree/roslyn have errors in them

The following steps from https://github.com/mrward/monodevelop-dnx-addin/tree/roslyn have errors in them

Building from source From the src directory run NuGet restore. git clone https://github.com/mhutch/MonoDevelop.AddinMaker
cd MonoDevelop.AddinMaker
nuget restore MonoDevelop.AddinMaker.sln
make install /p:MDBinDir=../monodevelop/main/build/bin /p:MDProfileVersion=6.0

The above line results in No rule to make target install'.Stop. * git clone [email protected]:mrward/monodevelop-dnx-addin.git cd monodevelop-dnx-addins git checkout roslyn cd src nuget restore MonoDevelop.Dnx.sln xbuild MonoDevelop.Dnx.sln /p:MDProfileVersion=6.0 /p:MDBinDir=../../../monodevelop/main/build/bin The above line results in the C# compiler error : /opt/mono-2015.12.10+23.35.44/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) -> MonoDevelop.Dnx/DnxProjectService.cs(139,20): error CS0117:MonoDevelop.Ide.DispatchService' does not contain a definition for `GuiDispatch' Any help is appreciated.

Code completion broken using latest monodevelop master

With the change to Project.GetSourceFilesAsync code completion is now broken with latest code from monodevelop master.

The change to GetSourceFilesAsync means that MSBuild is always used to find files for a project, even if the project has UseMSBuildEngine = false. GetSourceFilesAsync now has MSBuild evaluate the files instead of taking them from the Project.Files collection. For DNX projects (.xproj) files there are no files defined in the MSBuild file so the type system parses no files and code completion does not work.

Investigating this there does not seem to be a way to override this behaviour without a change to monodevelop.

Debug doesn't seem to work on Linux + MonoDevelop 6.2

Somehow only the projects created using project templates provided by the addin work correctly.
After altering project.json (for example adding new dependencies, switching to netcoreapp 1.0.1 etc) or adding ASP.NET Core MVC elements even those sample projects will build and run correctly, but will fail to debug (somehow breakpoints seem to be ignored)

P.S. I can send you some samples if you won't be able to reproduce this issue on your PC/Mac

Question: Does the mono soft debugger support .net core?

Hi,
I see you have used the Mono.SoftDebugger to debug dnx assemblies. I am interested in integrating debug support in another open source IDE (GitHub.com/vitalelement/avalonstudio)

I tried to use the soft debugger command line to debug a hello world application compiled with dot net core...

image

Should this work? Did you have to do anything special to make it work in Monodevelop?

general issues regarding missing .xproj

(1) Create a ASP.NET Console project, then close and reopen it. It fails to open because the project .xproj does not exist.

(2) The issue above is likely because monodevelop now doesn't "save" project automatically when it was created. So, I tried to rename Program.cs to trigger save operation in monodevelop. But that results in an error dialog saying:

Save failed.

Method 'MSBuildProject.AddNewPropertyGroup' not found."

It is from monodevelop a9780db (master) and monodevelop-dnx-addin c941d59 (roslyn) on Ubuntu 14.04.

In case dnx matters...

atsushi:/svn/monodevelop$ dnx --version
Microsoft .NET Execution environment
Version: 1.0.0-rc1-16231
Type: Mono
Architecture: x64
OS Name: Linux
OS Version: ubuntu 14.04
Runtime Id: ubuntu.14.04-x64

Smart file watching

As discussed in #19 and other issues watching the full solution tree sometimes results in too many open files errors, especially when one uses client-side package managers like npm or bower. A solution could be to watch single directories, excluding problematic ones. My idea is to:

  1. Extract project structure information from both the solution file and the top-level global.json "projects" key and use a bit of euristic (see later) to determine which subdirectories should be watched for changes.
  2. Look for exclude patterns in each subdirectory: this could be made configurable but ignoring node_modules, bower_packages and other well-known names is probably a good start.
  3. For each subdirectory that doesn't contain anything to ignore just create a single watcher.
  4. For each subdirectory that contains something to ignore creare a top-level watcher with IncludeSubdirectories set to false and then one watcher for every directory.

We will end up with more watchers than strictly necessary but, given that one usually doesn't have tens of directories inside each project, not that much more.

Does this seems sensible or am I missing something?

Unable to add project to solution - Project is not part of the workspace error

Adding a new DNX web project to an existing solution and the New Project dialog did not close. Only seen this error once with Xamarin Studio 6.0. The IDE logs had the following exception. I suspect it might be related to the project's parent solution being removed for some reason, which was worked around in commit 80b0beb.

 An unhandled exception has occured. Terminating MonoDevelop? False
System.ArgumentException: '<Projectf79c4a12-1301-4f0b-bbb2-f5eed06a69c0>' is not part of the workspace.
   at Microsoft.CodeAnalysis.Workspace.CheckProjectIsInCurrentSolution(ProjectId projectId) in C:\Git\roslyn\src\Workspaces\Core\Portable\Workspace\Workspace.cs:line 1413
   at Microsoft.CodeAnalysis.Workspace.OnDocumentAdded(DocumentInfo documentInfo) in C:\Git\roslyn\src\Workspaces\Core\Portable\Workspace\Workspace.cs:line 612
   at MonoDevelop.Ide.TypeSystem.MonoDevelopWorkspace.OnFileAdded(Object sender, ProjectFileEventArgs args) in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.TypeSystem\MonoDevelopWorkspace.cs:line 972
   at MonoDevelop.Projects.ProjectFileEventHandler.Invoke(Object sender, ProjectFileEventArgs e)
   at MonoDevelop.Projects.Project.DoOnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Project.cs:line 2788
   at MonoDevelop.Projects.Project.DefaultMSBuildProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Project.cs:line 2941
   at MonoDevelop.Projects.ProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectExtension.cs:line 197
   at MonoDevelop.Projects.ProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectExtension.cs:line 197
   at MonoDevelop.Projects.ProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectExtension.cs:line 197
   at MonoDevelop.Projects.ProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectExtension.cs:line 197
   at MonoDevelop.Projects.ProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectExtension.cs:line 197
   at MonoDevelop.Projects.ProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectExtension.cs:line 197
   at MonoDevelop.Dnx.DnxProject.OnFileAddedToProject(ProjectFileEventArgs e) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\DnxProject.cs:line 173
   at MonoDevelop.Projects.ProjectExtension.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectExtension.cs:line 197
   at MonoDevelop.Projects.Project.OnFileAddedToProject(ProjectFileEventArgs e) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Project.cs:line 2782
   at MonoDevelop.Projects.Project.NotifyFileAddedToProject(IEnumerable`1 objs) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Project.cs:line 1913
   at MonoDevelop.Projects.Project.OnItemsAdded(IEnumerable`1 objs) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Project.cs:line 1851
   at MonoDevelop.Projects.DotNetProject.OnItemsAdded(IEnumerable`1 objs) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\DotNetProject.cs:line 1428
   at MonoDevelop.Projects.ProjectItemCollection`1.NotifyAdded(IEnumerable`1 items, Boolean comesFromParent) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectItemCollection.cs:line 150
   at MonoDevelop.Projects.ProjectItemCollection`1.MonoDevelop.Projects.IItemListHandler.InternalAdd(IEnumerable`1 items, Boolean comesFromParent) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectItemCollection.cs:line 120
   at MonoDevelop.Projects.ProjectItemCollection`1.NotifyAdded(IEnumerable`1 items, Boolean comesFromParent) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectItemCollection.cs:line 148
   at MonoDevelop.Projects.ProjectItemCollection`1.OnItemsAdded(IEnumerable`1 items) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectItemCollection.cs:line 98
   at MonoDevelop.Projects.ProjectFileCollection.OnItemsAdded(IEnumerable`1 items) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ProjectFileCollection.cs:line 194
   at MonoDevelop.Projects.ItemCollection`1.Add(T item) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ItemCollection.cs:line 64
   at MonoDevelop.Projects.Project.AddFile(String filename, String buildAction) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Project.cs:line 1276
   at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddFileToProject(SolutionFolderItem policyParent, Project project, String language, String directory, String name) in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Templates\SingleFileDescriptionTemplate.cs:line 121
   at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddToProject(SolutionFolderItem policyParent, Project project, String language, String directory, String name) in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Templates\SingleFileDescriptionTemplate.cs:line 113
   at MonoDevelop.Dnx.FileTemplateProcessor.CreateFileFromTemplate(Project project, SolutionFolderItem policyItem, FilePath templateSourceDirectory, String fileTemplateName) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\FileTemplateProcessor.cs:line 88
   at MonoDevelop.Dnx.FileTemplateProcessor.CreateFileFromTemplate(Project project, FilePath templateSourceDirectory, String fileTemplateName) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\FileTemplateProcessor.cs:line 76
   at MonoDevelop.Dnx.FileTemplateProcessor.CreateFileFromTemplate(Project project, String projectTemplateName, String fileTemplateName) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\FileTemplateProcessor.cs:line 71
   at MonoDevelop.Dnx.FileTemplateProcessor.CreateFilesFromTemplate(DnxProject project, String projectTemplateName, String[] files) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\FileTemplateProcessor.cs:line 52
   at MonoDevelop.Dnx.DnxProjectTemplateWizard.CreateFilesFromTemplate(DnxProject project) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\DnxProjectTemplateWizard.cs:line 111
   at MonoDevelop.Dnx.DnxProjectTemplateWizard.CreateProject(Solution solution, SolutionFolder srcFolder, Boolean newSolution) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\DnxProjectTemplateWizard.cs:line 151
   at MonoDevelop.Dnx.DnxProjectTemplateWizard.ItemsCreated(IEnumerable`1 items) in F:\projects\monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\DnxProjectTemplateWizard.cs:line 78
   at MonoDevelop.Ide.Projects.NewProjectDialogController.<Create>d__126.MoveNext() in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Projects\NewProjectController.cs:line 603
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at MonoDevelop.Ide.Projects.GtkNewProjectDialogBackend.<MoveToNextPage>d__39.MoveNext() in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Projects\GtkNewProjectDialogBackend.cs:line 412
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)
   at MonoDevelop.Ide.DispatchService.GtkSynchronizationContext.<>c__DisplayClass0_0.<Post>b__0(Object <sender>, EventArgs <e>) in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\DispatchService.cs:line 52
   at Gtk.Application.InvokeCB.Invoke()
   at GLib.Timeout.TimeoutProxy.Handler()

I suspect this

Loading solution make UI hang

INFO [2016-01-06 15:41:42Z]: Starting Xamarin Studio 5.10.2 (build 49)
INFO [2016-01-06 15:41:42Z]: Running on Mono 4.3.2 (master/9115bf0)
INFO [2016-01-06 15:41:42Z]: Operating System: Mac OS X 10.11.1
Darwin MacBook-Pro.local 15.0.0 Darwin Kernel Version 15.0.0
Sat Sep 19 15:53:46 PDT 2015
root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
INFO [2016-01-06 15:41:42Z]: Using GTK+ 2.24.23
INFO [2016-01-06 15:41:43Z]: Add-in loaded: MonoDevelop.Core
INFO [2016-01-06 15:41:43Z]: Add-in loaded: MonoDevelop.Ide
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.MacPlatform
INFO [2016-01-06 15:41:44Z]: Initializing Runtime Mono 4.3.2
Starting Xamarin Studio
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.Debugger
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.SourceEditor2
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.TextTemplating
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.DesignerSupport
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.Xml
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.AspNet
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.Refactoring
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.CSharpBinding
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.PackageManagement
INFO [2016-01-06 15:41:44Z]: Add-in loaded: Xamarin.Ide.Insights
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.Xamarin.Ide
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.Xamarin.Ide.Mac
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.VersionControl
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.MacDev
INFO [2016-01-06 15:41:44Z]: Add-in loaded: Xamarin.TestCloud
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.Debugger.Soft
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.IPhone
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.NUnit
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.FSharpBinding
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.MonoAndroid
INFO [2016-01-06 15:41:44Z]: Add-in loaded: Xamarin.Sketches
INFO [2016-01-06 15:41:44Z]: Add-in loaded: MonoDevelop.VBBinding
INFO [2016-01-06 15:41:44Z]: Add-in loaded: Xamarin.Forms.Addin
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.Deployment
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.GtkCore
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.Deployment.Linux
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.CBinding
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.MonoMac
INFO [2016-01-06 15:41:50Z]: Add-in loaded: Xamarin.TestCloud.NUnit
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.WebReferences
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.Dnx
Loading Workbench
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.DocFood
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.RegexToolkit
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.AssemblyBrowser
INFO [2016-01-06 15:41:50Z]: Add-in loaded: MonoDevelop.VersionControl.Git
INFO [2016-01-06 15:41:50Z]: ANDROID: Did not find Xamarin.Android
INFO [2016-01-06 15:41:50Z]: ANDROID: Found Android SDK. API levels: (none)
INFO [2016-01-06 15:41:50Z]: Xamarin.Android SDK not found, disabling Xamarin.Android addin
ERROR [2016-01-06 15:41:50Z]: A valid Xcode installation was not found at the configured location: '/Applications/Xcode.app'
INFO [2016-01-06 15:41:50Z]: Xamarin.iOS not installed. Can't find mtouch.
INFO [2016-01-06 15:41:50Z]: Found MonoMac.
INFO [2016-01-06 15:41:50Z]: Found Xamarin.Mac, version 2.4.0.109.
INFO [2016-01-06 15:41:50Z]: No license found, using Mac Starter
INFO [2016-01-06 15:41:50Z]: Running license sync for Mac
INFO [2016-01-06 15:41:50Z]: Not logged in, using Mac Starter
Initializing Main Window
INFO [2016-01-06 15:41:50Z]: Creating DefaultWorkbench
INFO [2016-01-06 15:41:52Z]: Updating Welcome Page from 'https://software.xamarin.com/Service/News'.
INFO [2016-01-06 15:41:52Z]: Updating Prebuilt Apps from 'https://xamarin.com/PrebuiltApps.xml'.
INFO [2016-01-06 15:41:53Z]: Add-in loaded: MonoDevelop.ILAsmBinding
INFO [2016-01-06 15:41:53Z]: Add-in loaded: MonoDevelop.XUnit.XUnit
INFO [2016-01-06 15:41:53Z]: Add-in loaded: MonoDevelop.VersionControl.Subversion
INFO [2016-01-06 15:41:53Z]: Add-in loaded: MonoDevelop.VersionControl.Subversion.Unix
INFO [2016-01-06 15:41:54Z]: Welcome Page updated.
INFO [2016-01-06 15:41:54Z]: Prebuilt Apps image already up-to-date.
INFO [2016-01-06 15:41:54Z]: Prebuilt Apps image already up-to-date.
INFO [2016-01-06 15:41:54Z]: Prebuilt Apps image already up-to-date.
INFO [2016-01-06 15:41:54Z]: Prebuilt Apps image already up-to-date.
INFO [2016-01-06 15:41:54Z]: Prebuilt Apps already up-to-date.
INFO [2016-01-06 15:41:54Z]: Prebuilt Apps updated.
Process ID 2036
Listening on port 54387
Full thread dump:

"Threadpool worker"
"Syntax highlighting" at <0xffffffff>
at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00034, 0xffffffff>
at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Threading/WaitHandle.cs:353
at Mono.TextEditor.Highlighting.SyntaxModeService.ProcessQueue () [0x00072] in /Users/builder/data/lanes/2693/deed4cd2/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs:358
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00017] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:68
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:957
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:904
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:893
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:105
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x00056, 0xffffffff>

""
"Threadpool worker"
"" at <0xffffffff>
at (wrapper managed-to-native) System.Diagnostics.Process.WaitForExit_internal (System.Diagnostics.Process,intptr,int) <IL 0x00033, 0xffffffff>
at System.Diagnostics.Process.WaitForExit (int) [0x0002f] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Diagnostics/Process.cs:1280
at System.Diagnostics.Process.WaitForExit () [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Diagnostics/Process.cs:1269
at System.Diagnostics.Process.m__0 (object) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Diagnostics/Process.cs:1678
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x0002c] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:72
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:957
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:904
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:893
at System.Threading.ThreadHelper.ThreadStart (object) [0x00012] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:87
at (wrapper runtime-invoke) .runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x0005a, 0xffffffff>

"Timer-Scheduler" at <0xffffffff>
at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00034, 0xffffffff>
at System.Threading.WaitHandle.WaitOne (int,bool) [0x00032] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Threading/WaitHandle.cs:375
at System.Threading.WaitHandle.WaitOne (int) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Threading/WaitHandle.cs:388
at System.Threading.Timer/Scheduler.SchedulerThread () [0x00257] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Threading/Timer.cs:395
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00017] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:68
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:957
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:904
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:893
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:105
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x00056, 0xffffffff>

"GUI Thread" at <0xffffffff>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x00026, 0xffffffff>
at Gtk.Application.Run () <IL 0x00000, 0x0000b>
at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /Users/builder/data/lanes/2693/deed4cd2/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:376
at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x00833] in /Users/builder/data/lanes/2693/deed4cd2/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:291
at MonoDevelop.Ide.IdeStartup.Main (string[],MonoDevelop.Ide.Extensions.IdeCustomizer) [0x00093] in /Users/builder/data/lanes/2693/deed4cd2/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:652
at Xamarin.Startup.MainClass.Main (string[]) [0x00003] in /Users/builder/data/lanes/2693/deed4cd2/source/md-addins/Xamarin.Startup/Main.cs:11
at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x00064, 0xffffffff>

"" at <0xffffffff>
at (wrapper managed-to-native) System.IO.KqueueMonitor.kevent_notimeout (int&,intptr,int,intptr,int) <IL 0x0002a, 0xffffffff>
at System.IO.KqueueMonitor.Monitor () [0x0009d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.IO/KeventWatcher.cs:375
at System.IO.KqueueMonitor.DoMonitor () [0x00047] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.IO/KeventWatcher.cs:277
at System.IO.KqueueMonitor.m__0 () [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.IO/KeventWatcher.cs:202
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00017] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:68
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:957
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:904
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:893
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:105
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x00056, 0xffffffff>

"" at <0xffffffff>
at (wrapper managed-to-native) System.IO.KqueueMonitor.kevent_notimeout (int&,intptr,int,intptr,int) <IL 0x0002a, 0xffffffff>
at System.IO.KqueueMonitor.Monitor () [0x0009d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.IO/KeventWatcher.cs:375
at System.IO.KqueueMonitor.DoMonitor () [0x00047] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.IO/KeventWatcher.cs:277
at System.IO.KqueueMonitor.m__0 () [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.IO/KeventWatcher.cs:202
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00017] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:68
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:957
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:904
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:893
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:105
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x00056, 0xffffffff>

"Background dispatcher" at <0xffffffff>
at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00034, 0xffffffff>
at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Threading/WaitHandle.cs:353
at MonoDevelop.Ide.DispatchService.backgroundDispatcher () [0x00062] in /Users/builder/data/lanes/2693/deed4cd2/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:309
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00017] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:68
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:957
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:904
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:893
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:105
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x00056, 0xffffffff>

"Threadpool worker"
""
"Finalizer"
"Threadpool worker"
"Background parser" at <0xffffffff>
at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00034, 0xffffffff>
at System.Threading.WaitHandle.WaitOne (int,bool) [0x00032] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Threading/WaitHandle.cs:375
at MonoDevelop.Ide.TypeSystem.TypeSystemService.WaitForParseJob (int) [0x00008] in /Users/builder/data/lanes/2693/deed4cd2/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:2768
at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParserUpdateThread () [0x0000d] in /Users/builder/data/lanes/2693/deed4cd2/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:2817
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00017] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:68
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:957
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:904
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/executioncontext.cs:893
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in /private/tmp/source-mono-master/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/threading/thread.cs:105
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x00056, 0xffffffff>

When adding a project name with namespaces (2 or more dots) only first 2 sections are created

How to reproduce:

Step 1) Create a solution, right click on "src" to create a new project "ABC.BCD.CDE";

  • Issue 1: the project is created successfully in file system as "ABC.BCD.CDE", however the project name and default namespace are created as "ABC.BCD" which is wrong
    Step 2) Create one more project named "ABC.BCD.DEF";
  • Issue 1: same as above, project in file system was created correctly, but project name and default namespace are all "ABC.BCD"

So now I have 2 projects with the same names exists in my solution

Now Issue 2:

If I right click on the solution node for creating a new project, the project gets created at parent folder of "src" folder, which I thin is wrong?

Cheers. (I like this addin, thx!)

Null reference when active configuration is changed

Null reference exception is logged when the active configuration is changed.

 An unhandled exception has occured. Terminating Xamarin Studio? False
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 OmniSharp.Dnx.DnxProjectSystem.ChangeConfiguration (System.String config) <0x12dc98610 + 0x00340> in <filename unknown>:0 
  at MonoDevelop.Dnx.DnxProjectService.ActiveConfigurationChanged (System.Object sender, System.EventArgs e) <0x1269e3800 + 0x00072> in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void_object_EventArgs (object,System.EventArgs)
  at MonoDevelop.Ide.RootWorkspace.OnActiveConfigurationChanged () [0x0000b] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:108 
  at MonoDevelop.Ide.RootWorkspace.set_ActiveConfigurationId (System.String value) [0x00018] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:100 
  at MonoDevelop.Components.MainToolbar.MainToolbarController.SelectActiveConfiguration () [0x000a1] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/MainToolbarController.cs:323 
  at MonoDevelop.Components.MainToolbar.MainToolbarController.UpdateCombos () [0x000b6] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/MainToolbarController.cs:162 
  at MonoDevelop.Components.MainToolbar.MainToolbarController.HandleCurrentSelectedSolutionChanged (System.Object sender, MonoDevelop.Projects.SolutionEventArgs e) [0x00084] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/MainToolbarController.cs:450 
  at MonoDevelop.Ide.ProjectOperations.OnCurrentSelectedSolutionChanged (MonoDevelop.Projects.SolutionEventArgs e) [0x0000b] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:2160 
  at MonoDevelop.Ide.ProjectOperations.set_CurrentSelectedWorkspaceItem (MonoDevelop.Projects.WorkspaceItem value) [0x00030] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:127 
  at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectSolutionPad.OnSelectionChanged (System.Object sender, System.EventArgs args) [0x00031] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectSolutionPad.cs:68 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0004d] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:303 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/reflection/methodbase.cs:229 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00107] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System/Delegate.cs:461 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x0000b] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System/MulticastDelegate.cs:67 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System/Delegate.cs:406 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x0001e] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System/MulticastDelegate.cs:72 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System/Delegate.cs:406 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) <0x11edf1cd0 + 0x00172> in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) <0x11edf1c90 + 0x0002f> in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) <0x11edf0f70 + 0x002fb> in <filename unknown>:0 
ERROR [2016-07-07 18:48:33Z]: Exception while loading user solution preferences.
System.NullReferenceException: Object reference not set to an instance of an object
  at OmniSharp.Dnx.DnxProjectSystem.ChangeConfiguration (System.String config) <0x12dc98610 + 0x00340> in <filename unknown>:0 
  at MonoDevelop.Dnx.DnxProjectService.ActiveConfigurationChanged (System.Object sender, System.EventArgs e) <0x1269e3800 + 0x00072> in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void_object_EventArgs (object,System.EventArgs)
  at MonoDevelop.Ide.RootWorkspace.OnActiveConfigurationChanged () [0x0000b] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:108 
  at MonoDevelop.Ide.RootWorkspace+<RestoreWorkspacePreferences>c__async7.MoveNext () [0x000e7] in /Users/builder/data/lanes/3422/e879ce52/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:600 

Constant restores?

Heyo!

Firstly, thank you for writing this. I'm enjoying the whole ASP.NET 5/MVC 6/DNX ecosystem, and being able to use it with Xamarin Studio, on OS X, no less!

So, using the DNX 0.1 addin + Xamarin Studio 5.10.2 functions correctly, BUT, it murders my computer in terms of CPU usage, and, ocassionally, kills Xamarin Studio itself.

What I've noticed is, out of the blue, there seems to be a lot of "restore" operations being triggered i.e.:

mono .../.dnx/runtimes/dnx-mono.1.0.0-rc1-final/bin/Microsoft.Dnx.Host.Mono.dll .../.dnx/runtimes/dnx-mono.1.0.0-rc1-final/bin/lib/Microsoft.Dnx.Tooling/Microsoft.Dnx.Tooling.dll restore

These processes max out a full CPU, and it spawns a bunch of them. I've watched it go through a whole pocket of this spiked CPU usage and it goes through at least 10 - 12 execs (i.e. new PID) of the aforementioned command.

This happens literally out of the blue. Solution open, no dependency changes, start typing.... and bam.

Any thoughts? This essentially makes any DNX development impossible if it's just through Xamarin Studio.

System.NullReferenceException during building Autofac project

Hello.

First of all, I really appreciate that you've been working on that!
I've been trying to build Autofac solution with your addin:
https://github.com/autofac/Autofac.git

When I trigger build from MonoDevelop, I do not see much informative message:
Build failed. Value cannot be null.
Parameter name: key
Build: 1 error, 0 warnings

However when I run:
$ mdtool build src/Autofac/Autofac.xproj

FATAL ERROR [2015-12-10 09:04:55Z]: System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.Dnx.DnxProjectService.GetDiagnostics (MonoDevelop.Dnx.DnxProjectBuilder builder) <0x407ccde0 + 0x000c7> in :0
at MonoDevelop.Dnx.DnxProjectBuilder.Build () <0x407cccc0 + 0x00027> in :0
at MonoDevelop.Dnx.DnxProject.OnRunTarget (IProgressMonitor monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc800 + 0x00087> in :0
at MonoDevelop.Projects.DefaultProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc630 + 0x00126> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.CustomCommandExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc260 + 0x0012b> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.SolutionItem.RunTarget (IProgressMonitor monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbf50 + 0x0004d> in :0
at MonoDevelop.Projects.BuildTool.Run (System.String[] arguments) <0x40771fa0 + 0x008ed> in :0
at MonoDevelopProcessHost.Main (System.String[] args) <0x406c9d50 + 0x00745> in :0

The problem is that 'projectSystem' == null in MonoDevelop.Dnx.DnxProjectService.GetDiagnostics.

Thanks,
Martin

Application Output pad not showing Console.WriteLine statements

I have noticed none of my Console.WriteLine statements end up in the Application Output pad of Xamarin Studio when running a .NET Core app. I don't know if it is the responsibility of the dnx addin, or if this is just a known issue/limitation at this point. I've been watching the .NET Core Output pad as well, but this only shows errors from the project.json file as far as I can tell.

I'm running XS Version 6.0 (build 5174) on Mac 10.11.5 with the DNX and VSCodeDebugger add-ins installed.

Provide instructions to build the addin package

I tried to build the addin package but the resulting .mpack file cannot be installed by MonoDevelop. These are the steps I took (not sure that they are correct):

cd src
nuget restore MonoDevelop.Dnx.sln
cd ..
mdtool build src\MonoDevelop.Dnx.sln
mdtool setup pack addin-project.xml

Attempts to install the .mpack file in MonoDevelop have no effect, not even error messages, it simply doesn't install the addin. I noticed that the size of the .mpack file doesn't look right (400 bytes) which makes me think it wasn't built correctly using the procedure above.

By the way thanks for writing this addin, it's going to be very useful.

project.json.lock is getting updated without my consent

First of all, very excited about this add-in. I was able to get debugging working with Xamarin Studio 5.10.1 by installing Mono 4.3.2.221 manually from here.

The problem is that, even if I turn off Preferences -> NuGet -> Package Restore -> Automatically restore packages when opening a solution and Preferences -> NuGet -> Package Update -> Check for package updates when opening a solution somehow my project.json.lock file is still getting updated as I work with the ASP.NET 5 project in Xamarin Studio. I'm not sure when exactly it is happening. I think it is happening on file save, depending on what file I have open.

This is a problem because at the moment I need to work with a specific version of RC2. Yet it keeps getting upgraded to later bleeding edge versions of RC2 that I haven't been able to get working on my system yet. I could go through and set the exact version of every dependency in project.json, but it seems like that shouldn't be necessary. The update of dependencies should happen only when I ask it to, no? For now I am stuck to using another editor until this is fixed, or a solid workaround can be found.

v0.1.1 - Too many open files errors/dialogs

Thanks for putting together v0.1.1 which has the "Automatically restore dependencies" checkbox on the preferences page. Since unchecking that checkbox I haven't seen the project.json.lock file updated, so that seems to be working so far. Unfortunately I haven't been able to get very far though because I ran into a couple of other problems. The main problem seems to be that I frequently get messages related to "too many open files".

In the solution pad:
screen shot 2016-01-15 at 12 17 08 pm

Activation dialog:
screen shot 2016-01-15 at 11 43 45 am

It happens (albeit intermittently) upon opening the project. I haven't changed my version of Visual Studio or Mono (4.3.2 (master/ac69bf1 Thu Jan 7 09:41:02 EST 2016)) since trying v0.1.

The other problem is more minor; I will post that in a separate issue.

MonoDevelop from master freeze with branch roslyn on Linux

I usually run development MonoDevelop with the DNX addin using a command line like:

MONODEVELOP_DEV_ADDINS=/home/fog/Workspaces/monodevelop/monodevelop-dnx-addin/bin/merged make run

MonoDevelop starts fine but when opening a DNX solution it freezes with the UI saying "Loading...". The UI Is completely frozen, no animation, can't open menu or click anywhere. The last few log lines are:

WARNING [2016-03-31 10:53:18Z]: Cannot deserialise unregistered policy name 'ChangeLogPolicy'
WARNING [2016-03-31 10:53:18Z]: Cannot deserialise unregistered policy name 'FSharpFormattingPolicy'
Process ID 14679
Listening on port 39281
Client accepted 127.0.0.1:39281
Client accepted 127.0.0.1:39281

Any idea about how to debug this?

Ignoring some more files?

This is related to #15 - real projects, especially web ones, have tons of files that will never be opened in the IDE, like everything found in node_modules or bower_components: what about ignoring them too? Should this be a configuration option? And if we have VCS what about ignoring all ignored files, e.g., ones that match .gitignore?

Also, some directories should really be presented as dependencies but this is probably the work of a different MD/XS addin. Is the "Dependencies" folder available to other addins using an extension poiunt or should every one implement its own?

PostBuild.proj exit code 2 or 3

Building the solution exits with exit-code 2 on Linux, exit-code 3 on Windows. The issue can be solved by downloading the ILRepack Nuget package, and next edit its executable path in PostBuild.proj to match the Nuget downloaded package, for example:

$(SolutionDir)packages\ILRepack.2.0.8\tools\ILRepack.exe

v0.1.1 - Location of Pads in Xamarin Studio (5.10.1) get reset

Using v0.1.1 (with the "automatically restore dependencies" checkbox) the location of the Xamarin Studio pads (such as the solution pad, errors pad, unit tests pad, etc) are reset to their default configurations upon opening the DNX project (or upon opening Xamarin Studio? I'm not sure at what point it happens because the pads aren't visible until I open a project). I didn't experience this behavior with v0.1.

Null reference exception when using mdtool to build an .xproj

mdtool build src/Autofac/Autofac.xproj

FATAL ERROR [2015-12-10 09:04:55Z]: System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.Dnx.DnxProjectService.GetDiagnostics (MonoDevelop.Dnx.DnxProjectBuilder builder) <0x407ccde0 + 0x000c7> in :0 
at MonoDevelop.Dnx.DnxProjectBuilder.Build () <0x407cccc0 + 0x00027> in :0 
at MonoDevelop.Dnx.DnxProject.OnRunTarget (IProgressMonitor monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc800 + 0x00087> in :0 
at MonoDevelop.Projects.DefaultProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc630 + 0x00126> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0 
at MonoDevelop.Projects.CustomCommandExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc260 + 0x0012b> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0 
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0 
at MonoDevelop.Projects.SolutionItem.RunTarget (IProgressMonitor monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbf50 + 0x0004d> in :0 
at MonoDevelop.Projects.BuildTool.Run (System.String[] arguments) <0x40771fa0 + 0x008ed> in :0 
at MonoDevelopProcessHost.Main (System.String[] args) <0x406c9d50 + 0x00745> in :0
``
The problem is that 'projectSystem' == null in MonoDevelop.Dnx.DnxProjectService.GetDiagnostics.

The underlying problem is that the addin does not support building from the command line using mdtool or xbuild. Microsoft provide their own MSBuild targets and tasks that allow MSBuild to build from the command line. The addin does not have these and cannot ship them. The only way to currently build the project is from within MonoDevelop.

Hide backup files?

A DNX project by default shows all the files in the project tree. With automatic backup files on things become a mess quite rapidly. I was thinking about hiding at least the backup files generated by MonoDevelop, i.e., *~ ones.

Null reference exception when creating a new solution

With latest monodevelop from master the roslyn branch of the DNX addin triggers a null reference exception in the main toolbar when a new solution is created.

ERROR [2016-02-02 21:51:36Z]: An unhandled exception has occured. Terminating MonoDevelop? False
System.NullReferenceException: Object reference not set to an instance of an object.
   at MonoDevelop.Components.MainToolbar.MainToolbarController.SelectActiveRuntime() in main\src\core\MonoDevelop.Ide\MonoDevelop.Components.MainToolbar\MainToolbarController.cs:line 407
   at MonoDevelop.Components.MainToolbar.MainToolbarController.SelectActiveConfiguration() in main\src\core\MonoDevelop.Ide\MonoDevelop.Components.MainToolbar\MainToolbarController.cs:line 339
   at MonoDevelop.Components.MainToolbar.MainToolbarController.UpdateCombos() in main\src\core\MonoDevelop.Ide\MonoDevelop.Components.MainToolbar\MainToolbarController.cs:line 162
   at MonoDevelop.Components.MainToolbar.MainToolbarController.<.ctor>b__19_6(Object sender, EventArgs e) in main\src\core\MonoDevelop.Ide\MonoDevelop.Components.MainToolbar\MainToolbarController.cs:line 102
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at MonoDevelop.Ide.RootWorkspace.OnActiveConfigurationChanged() in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\RootWorkspace.cs:line 108
   at MonoDevelop.Ide.RootWorkspace.set_ActiveConfigurationId(String value) in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\RootWorkspace.cs:line 100
   at MonoDevelop.Components.MainToolbar.MainToolbarController.SelectActiveConfiguration() in main\src\core\MonoDevelop.Ide\MonoDevelop.Components.MainToolbar\MainToolbarController.cs:line 332
   at MonoDevelop.Components.MainToolbar.MainToolbarController.UpdateCombos() in main\src\core\MonoDevelop.Ide\MonoDevelop.Components.MainToolbar\MainToolbarController.cs:line 162
   at MonoDevelop.Components.MainToolbar.MainToolbarController.<.ctor>b__19_7(Object sender, EventArgs e) in main\src\core\MonoDevelop.Ide\MonoDevelop.Components.MainToolbar\MainToolbarController.cs:line 103
   at MonoDevelop.Ide.RootWorkspace.NotifyConfigurationsChanged(Object s, EventArgs a) in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\RootWorkspace.cs:line 994
   at MonoDevelop.Projects.WorkspaceItem.OnConfigurationsChanged() in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\WorkspaceItem.cs:line 224
   at MonoDevelop.Projects.Solution.NotifyConfigurationsChanged() in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Solution.cs:line 1015
   at MonoDevelop.Projects.SolutionConfigurationCollection.OnItemsAdded(IEnumerable`1 confs) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\SolutionConfigurationCollection.cs:line 55
   at MonoDevelop.Projects.ItemCollection`1.Add(T item) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\ItemCollection.cs:line 64
   at MonoDevelop.Projects.Solution.AddConfiguration(String id, Boolean createConfigForItems) in main\src\core\MonoDevelop.Core\MonoDevelop.Projects\Solution.cs:line 389
   at MonoDevelop.Dnx.SolutionExtensions.GenerateDefaultDnxProjectConfigurations(Solution solution, DnxProject project) in monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\SolutionExtensions.cs:line 76
   at MonoDevelop.Dnx.DnxProjectTemplateWizard.CreateProject(Solution solution, SolutionFolder srcFolder, Boolean newSolution) in monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\DnxProjectTemplateWizard.cs:line 137
   at MonoDevelop.Dnx.DnxProjectTemplateWizard.ItemsCreated(IEnumerable`1 items) in monodevelop-dnx-addin\src\MonoDevelop.Dnx\MonoDevelop.Dnx\DnxProjectTemplateWizard.cs:line 69
   at MonoDevelop.Ide.Projects.NewProjectDialogController.<Create>d__126.MoveNext() in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Projects\NewProjectController.cs:line 592
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at MonoDevelop.Ide.Projects.GtkNewProjectDialogBackend.<MoveToNextPage>d__39.MoveNext() in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Projects\GtkNewProjectDialogBackend.cs:line 412
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)
   at MonoDevelop.Ide.DispatchService.GtkSynchronizationContext.<>c__DisplayClass0_0.<Post>b__0() in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\DispatchService.cs:line 61
   at MonoDevelop.Ide.DispatchService.GuiDispatch(Action cb) in main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\DispatchService.cs:line 107

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.