[MonoDevelop] Exceptions for some unsupported project types

Miljenko Cvjetko mcvjetko at holisticware.net
Thu Nov 24 02:32:51 EST 2011


Hi

I know this is not show-stopper problem, but it would be nice to fix it
In our Core_2011 (VS projects with utilities that we use across our 
projects) there's
bunch of project that are not supported by MonoDevelop and those give 
warnings,
error message at the beginning and this is fine with us...

But there is also one test exe Reporting App project type:

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = 
"TestsXReportsApplication1", 
"TestsXReportsApplication1\TestsXReportsApplication1.csproj", 
"{767202B9-1860-4DFB-A34B-B68CBF7E1262}"
EndProject

which causes exception (at the end).

thanks and regards

mel

Error - 18:28:36 - Error while trying to load the project 
/Users/moljac/Desktop/src/Core_2011/TestsXReportsApplication1/TestsXReportsApplication1.csproj
System.FormatException: Input string was not in the correct format
at System.Int32.Parse (System.String s) [0x00014] in 
/private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/corlib/System/Int32.cs:625 

at System.Version..ctor (System.String version) [0x0008d] in 
/private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/corlib/System/Version.cs:107 

at MonoDevelop.Core.Assemblies.AssemblyContext.ParseAssemblyName 
(System.String fullname) [0x00091] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Assemblies/AssemblyContext.cs:554 

at 
MonoDevelop.Core.Assemblies.AssemblyContext+<FindNewerAssembliesSameName>c__Iterator6.MoveNext 
() [0x00023] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Assemblies/AssemblyContext.cs:320 

at MonoDevelop.Core.Assemblies.AssemblyContext.FindInstalledAssembly 
(System.String fullname, System.String package, 
MonoDevelop.Core.Assemblies.TargetFramework fx) [0x00162] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Assemblies/AssemblyContext.cs:304 

at 
MonoDevelop.Core.Assemblies.ComposedAssemblyContext.FindInstalledAssembly (System.String 
fullname, System.String package, 
MonoDevelop.Core.Assemblies.TargetFramework fx) [0x00019] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Assemblies/ComposedAssemblyContext.cs:169 

at MonoDevelop.Projects.ProjectReference.UpdatePackageReference () 
[0x0001e] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectReference.cs:346 

at MonoDevelop.Projects.ProjectReference.SetOwnerProject 
(MonoDevelop.Projects.DotNetProject project) [0x00007] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectReference.cs:100 

at MonoDevelop.Projects.DotNetProject.OnItemsAdded (IEnumerable`1 objs) 
[0x0001f] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:1040 

at 
MonoDevelop.Projects.ProjectItemCollection`1[MonoDevelop.Projects.ProjectItem].NotifyAdded 
(IEnumerable`1 items, Boolean comesFromParent) [0x0009a] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectItemCollection.cs:153 

at 
MonoDevelop.Projects.ProjectItemCollection`1[MonoDevelop.Projects.ProjectItem].OnItemAdded 
(MonoDevelop.Projects.ProjectItem item) [0x00017] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectItemCollection.cs:113 

at 
MonoDevelop.Projects.ItemCollection`1[MonoDevelop.Projects.ProjectItem].InsertItem 
(Int32 index, MonoDevelop.Projects.ProjectItem item) [0x00008] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ItemCollection.cs:39 

at 
System.Collections.ObjectModel.Collection`1[MonoDevelop.Projects.ProjectItem].Add 
(MonoDevelop.Projects.ProjectItem item) [0x0000c] in 
/private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/corlib/System.Collections.ObjectModel/Collection.cs:74 

at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.Load 
(IProgressMonitor monitor, 
MonoDevelop.Projects.Formats.MSBuild.MSBuildProject msproject) [0x00098] 
in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:420 

at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.Load 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, 
System.String language, System.Type itemClass) [0x001d9] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:291 

at MonoDevelop.Projects.Extensions.DotNetProjectNode.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, 
System.String itemGuid) [0x00016] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/DotNetProjectNode.cs:66 

at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService.LoadItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, 
System.String typeGuid, System.String itemGuid) [0x00024] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs:91 

at 
MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat+<LoadSolution>c__AnonStoreyB0.<>m__73 
(IProgressMonitor , System.String ) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:745 

at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:672 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at 
MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:69 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.CompiledAssemblyExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x0003e] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs:223 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName) [0x00000] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102 

at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93 

at MonoDevelop.Projects.Extensions.ProjectExtensionUtil.LoadSolutionItem 
(IProgressMonitor monitor, System.String fileName, 
MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00016] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/ProjectExtensionUtil.cs:59 

at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.LoadSolution 
(MonoDevelop.Projects.Solution sol, System.String fileName, 
MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat format, 
IProgressMonitor monitor) [0x004c6] in 
/private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:744 


-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rješenja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net



More information about the Monodevelop-list mailing list