Error adding existing Shared Project

I've got some code in a SharedProject, one of the new projects in the 5.0 beta (build 878). When I try to add it I get an error with the following stack trace

System.ArgumentException: value
at MonoDevelop.Projects.ProjectFile.set_Link (FilePath value) [0x00082] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFile.cs:278
at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.ReadProjectFile (MonoDevelop.Core.Serialization.DataSerializer ser, MonoDevelop.Projects.Project project, MonoDevelop.Projects.Formats.MSBuild.MSBuildItem buildItem, System.Type type) [0x001f3] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:1881
at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.ReadItem (MonoDevelop.Projects.Formats.MSBuild.MSBuildSerializer ser, MonoDevelop.Projects.Formats.MSBuild.MSBuildItem buildItem) [0x0035e] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:987
at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.LoadProjectItems (MonoDevelop.Projects.Formats.MSBuild.MSBuildProject msproject, MonoDevelop.Projects.Formats.MSBuild.MSBuildSerializer ser, ProjectItemFlags flags) [0x0001e] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:773
at MonoDevelop.Projects.SharedAssetsProjects.SharedAssetsProjectMSBuildHandler.LoadProject (IProgressMonitor monitor, MonoDevelop.Projects.Formats.MSBuild.MSBuildProject msproject) [0x0018f] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProjectMSBuildHandler.cs:76
at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.Load (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat format, System.String language, System.Type itemClass) [0x00217] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:394
at MonoDevelop.Projects.Extensions.SolutionItemNode.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, System.String itemGuid) [0x00016] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemNode.cs:54
at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService.LoadItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, System.String typeGuid, System.String itemGuid) [0x0002d] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs:109
at MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat.ReadFile (FilePath file, System.Type expectedType, IProgressMonitor monitor) [0x0003b] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildFileFormat.cs:157
at MonoDevelop.Projects.ProjectService.ReadFile (IProgressMonitor monitor, System.String file, System.Type expectedType, MonoDevelop.Projects.FileFormat& format) [0x0003e] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:304
at MonoDevelop.Projects.ProjectService+c__AnonStorey0.<>m__0 (IProgressMonitor , System.String ) [0x0001f] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:202
at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00004] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:678
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.CompiledAssemblyExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00048] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs:222
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00019] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:111
at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00011] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
at MonoDevelop.Projects.ProjectService.ReadSolutionItem (IProgressMonitor monitor, System.String file) [0x0007a] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:200
at MonoDevelop.Projects.SolutionFolder.AddItem (IProgressMonitor monitor, System.String filename, Boolean createSolutionConfigurations) [0x00015] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionFolder.cs:319
at MonoDevelop.Ide.ProjectOperations.AddSolutionItem (MonoDevelop.Projects.SolutionFolder folder, System.String entryFileName) [0x0004e] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:731
at MonoDevelop.Ide.ProjectOperations.AddSolutionItem (MonoDevelop.Projects.SolutionFolder parentFolder) [0x0006a] in /Users/builder/data/lanes/886/bcd66920/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:711

Posts

  • mhutchmhutch USXamarin Team Xamurai

    We're tracking this issue on BugZilla though unfortunately the reported requested it be kept private.

    In future please report bugs directly on BugZilla :)

  • StevenMitchamStevenMitcham USMember

    Thanks. Didn't know about the bugzilla availability.

Sign In or Register to comment.