Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Adding existing VB.NET project to solution throws exception

$
0
0

SharpDevelop Version : 4.4.1.9729-7196a277

.NET Version         : 4.0.30319.18444

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : English (United States) (en-US)

Working Set Memory   : 341220kb

GC Heap Memory       : 182195kb

 

Exception thrown:

System.InvalidOperationException: An equivalent project (a project with the same global properties and tools version) is already present in the project collection, with the path "D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\ICSharpCode.Core.Converted.vbproj". To load an equivalent into this project collection, unload this project first.

   at Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[ args)

   at Microsoft.Build.Evaluation.ProjectCollection.LoadedProjectCollection.AddProject(Project project)

   at Microsoft.Build.Evaluation.ProjectCollection.OnAfterRenameLoadedProject(String oldFullPathIfAny, Project project)

   at Microsoft.Build.Evaluation.Project.<Initialize>b__3(String oldFullPath)

   at Microsoft.Build.Evaluation.Project.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings)

   at Microsoft.Build.Evaluation.Project..ctor(ProjectRootElement xml, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)

   at ICSharpCode.SharpDevelop.Project.MSBuildInternals.LoadProject(ProjectCollection projectCollection, ProjectRootElement rootElement, IDictionary`2 globalProps)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.OpenConfiguration(String configuration, String platform)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.GetEvaluatedProperty(String propertyName)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.LoadProjectInternal(ProjectLoadInformation loadInformation)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject..ctor(ProjectLoadInformation loadInformation)

   at ICSharpCode.SharpDevelop.Project.CompilableProject..ctor(ProjectLoadInformation information)

   at ICSharpCode.VBNetBinding.VBNetProjectBinding.LoadProject(ProjectLoadInformation info)

   at ICSharpCode.SharpDevelop.ProjectBindingService.LoadProject(ProjectLoadInformation loadInformation)

   at ICSharpCode.SharpDevelop.Project.Commands.AddExistingProjectToSolution.AddProject(ISolutionFolderNode solutionFolderNode, String fileName)

   at ICSharpCode.SharpDevelop.Project.Commands.AddExistingProjectToSolution.Run()

   at ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

---- Recent log messages:

15:03:28.891 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\CoreException.vb new!=null:True

15:03:28.892 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\ExtensionMethods.vb new!=null:True

15:03:28.897 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\Services\AnalyticsMonitor\AnalyticsMonitorService.vb new!=null:True

15:03:28.898 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\Services\AnalyticsMonitor\IAnalyticsMonitor.vb new!=null:True

15:03:28.906 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\Services\ApplicationStateInfoService.vb new!=null:True

15:03:28.906 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\Services\FileUtility\FileName.vb new!=null:True

15:03:28.906 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\Services\FileUtility\FileNameEventHandler.vb new!=null:True

15:03:28.907 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\Services\FileUtility\FileUtility.Minimal.vb new!=null:True

15:03:28.923 [21] DEBUG - Adding existing class FileUtility from FileUtility.vb

15:03:28.923 [21] DEBUG - Creating compound for ICSharpCode.Core.FileUtility

15:03:28.941 [1] DEBUG - ParseInformationUpdated D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\Src\Services\FileUtility\FileUtility.vb new!=null:True

15:03:29.198 [1] INFO - Loading addin Hornung.ResourceToolkit

15:03:39.558 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project\Src\Services\PropertyService\PropertyService.cs]

15:03:39.558 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: PropertyService.cs]

15:03:39.558 [1] DEBUG - NavigationService

ActiveViewContent: PropertyService.cs

         Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}

15:03:39.558 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project\Src\Services\PropertyService\PropertyService.cs]

15:03:44.966 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent 3252353\Conversion Results]

15:03:44.967 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Conversion Results]

15:03:44.967 [1] DEBUG - NavigationService

ActiveViewContent: Conversion Results

         Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}

15:03:44.967 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent 3252353\Conversion Results]

15:03:52.123 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

15:03:56.297 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.OpenProjectOutputFolder', activation=Menu

15:04:22.771 [1] INFO - CurrentProject changed to null

15:04:24.057 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.AddExistingProjectToSolution', activation=Menu

15:04:27.168 [1] ERROR - ThreadException caught

--> Exception:

System.InvalidOperationException: An equivalent project (a project with the same global properties and tools version) is already present in the project collection, with the path "D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\src\Main\Core\Project.ConvertedToVBNet\ICSharpCode.Core.Converted.vbproj". To load an equivalent into this project collection, unload this project first.

   at Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[ args)

   at Microsoft.Build.Evaluation.ProjectCollection.LoadedProjectCollection.AddProject(Project project)

   at Microsoft.Build.Evaluation.ProjectCollection.OnAfterRenameLoadedProject(String oldFullPathIfAny, Project project)

   at Microsoft.Build.Evaluation.Project.<Initialize>b__3(String oldFullPath)

   at Microsoft.Build.Evaluation.Project.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings)

   at Microsoft.Build.Evaluation.Project..ctor(ProjectRootElement xml, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)

   at ICSharpCode.SharpDevelop.Project.MSBuildInternals.LoadProject(ProjectCollection projectCollection, ProjectRootElement rootElement, IDictionary`2 globalProps)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.OpenConfiguration(String configuration, String platform)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.GetEvaluatedProperty(String propertyName)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.LoadProjectInternal(ProjectLoadInformation loadInformation)

   at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject..ctor(ProjectLoadInformation loadInformation)

   at ICSharpCode.SharpDevelop.Project.CompilableProject..ctor(ProjectLoadInformation information)

   at ICSharpCode.VBNetBinding.VBNetProjectBinding.LoadProject(ProjectLoadInformation info)

   at ICSharpCode.SharpDevelop.ProjectBindingService.LoadProject(ProjectLoadInformation loadInformation)

   at ICSharpCode.SharpDevelop.Project.Commands.AddExistingProjectToSolution.AddProject(ISolutionFolderNode solutionFolderNode, String fileName)

   at ICSharpCode.SharpDevelop.Project.Commands.AddExistingProjectToSolution.Run()

   at ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

---- Post-error application state information:

Installed 3rd party AddIns: 

Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

ProjectService.OpenSolution: [Solution: FileName=D:\Nayan\Code\SharpDevelop, AvalonEdit\SharpDevelop_4.4.1.9729_Source\SharpDevelop.sln, HasProjects=True, ReadOnly=False]

ProjectService.CurrentProject: <null>


Viewing all articles
Browse latest Browse all 1764

Trending Articles