I know that Visual Studio 11 is still in beta, but I want to ask a question before I report this potential bug.
When I load a huge solution (nearly 21 projects and more) into Visual Studio 11 I get this error for every single project:
The object of type Microsoft.VisualStudio.Project.ConfiguredProjectCache`1[Microsoft.VisualStudio.Project.Immutables.ImmutableHashMap`2[System.String,System.Threading.Tasks.Task`1[Microsoft.VisualStudio.Project.PropertyPages.PropertyPagesCatalog]]]"
could not be converted into "Microsoft.VisualStudio.Project.ConfiguredProjectCache`1[Microsoft.VisualStudio.Project.Immutables.ImmutableHashMap`2[System.String,Microsoft.VisualStudio.Project.PropertyPages.PropertyPagesCatalog]]".
An important piece of information is that this solution was generated with CMake for Visual Studio 2010, maybe this is the problem causer?
Does anyone know the problem or the solution for this problem?
If you’re using VS11, you should run cmake from a VS11 command prompt and use
-G"Visual Studio 11"or-G"Visual Studio 11 Win64"for 32-bit or 64-bit versions respectively.If your version of CMake doesn’t support these generator options, you’ll need to update CMake.
To see the full list of generators supported by your version of CMake, just run
cmakewith no arguments.