I get the following exception when trying to edit and Dyanamics AX Model Project. Weather I try to edit from AOT o open Visual Studio and try to edit from Solution Explorer, the result is the same:
NAME: clrException VALUE: Microsoft.Build.Exceptions.InvalidProjectFileException: No se pudo cargar el archivo del proyecto. Los datos del nivel de raíz no son válidos. línea 1, posición 1. C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.targets\ImportAfter\Microsoft.VisualStudio.Silverlight.SDKTools.targets.Where_my_files.txt ---> System.Xml.XmlException: Los datos del nivel de raíz no son válidos. línea 1, posición 1. en System.Xml.XmlTextReaderImpl.Throw(Exception e) en System.Xml.XmlTextReaderImpl.Throw(String res, String arg) en System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() en System.Xml.XmlTextReaderImpl.ParseDocumentContent() en System.Xml.XmlTextReaderImpl.Read() en System.Xml.XmlTextReader.Read() en Microsoft.Build.Construction.ProjectRootElement.LoadDocument(String fullPath) --- Fin del seguimiento de la pila de la excepción interna --- en Microsoft.Build.Shared.ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(Boolean condition, String errorSubCategoryResourceName, BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args) en Microsoft.Build.Construction.ProjectRootElement.LoadDocument(String fullPath) en Microsoft.Build.Construction.ProjectRootElement..ctor(String path, ProjectRootElementCache projectRootElementCache, BuildEventContext buildEventContext) en Microsoft.Build.Construction.ProjectRootElement.CreateProjectFromPath(String projectFile, IDictionary`2 globalProperties, String toolsVersion, ILoggingService loggingService, ProjectRootElementCache projectRootElementCache, BuildEventContext buildEventContext) en Microsoft.Build.Construction.ProjectRootElement.<>c__DisplayClass1.<OpenProjectOrSolution>b__0(String path, ProjectRootElementCache cache) en Microsoft.Build.Evaluation.ProjectRootElementCache.Get(String projectFile, OpenProjectRootElement openProjectRootElement, Boolean isExplicitlyLoaded) en Microsoft.Build.Construction.ProjectRootElement.OpenProjectOrSolution(String fullPath, IDictionary`2 globalProperties, String toolsVersion, ILoggingService loggingService, ProjectRootElementCache projectRootElementCache, BuildEventContext buildEventContext, Boolean isExplicitlyLoaded) en Microsoft.Build.Evaluation.Evaluator`4.<>c__DisplayClass6.<ExpandAndLoadImports>b__2(String p, ProjectRootElementCache c) en Microsoft.Build.Evaluation.ProjectRootElementCache.Get(String projectFile, OpenProjectRootElement openProjectRootElement, Boolean isExplicitlyLoaded) en Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImports(String directoryOfImportingFile, String importExpressionEscaped, ProjectImportElement importElement) en Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement) en Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport) en Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement) en Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport) en Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement) en Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport) en Microsoft.Build.Evaluation.Evaluator`4.Evaluate() en Microsoft.Build.Evaluation.Evaluator`4.Evaluate(IEvaluatorData`4 data, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary`1 environmentProperties, ILoggingService loggingService, IItemFactory`2 itemFactory, IToolsetProvider toolsetProvider, ProjectRootElementCache projectRootElementCache, BuildEventContext buildEventContext, ProjectInstance projectInstanceIfAnyForDebuggerOnly) en Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation) en Microsoft.Build.Evaluation.Project.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings) en Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) en Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, IDictionary`2 globalProperties, String toolsVersion) en Microsoft.Dynamics.Framework.Design.Modeling.Interop.ExportOperations.LoadNewOrGetExistingProject(String projectFullPath) en Microsoft.Dynamics.Framework.Design.VSInteractions.ExportOperations.GetProjectGuid(String projectPath) en Microsoft.Dynamics.Framework.Design.VSInteractions.ExportOperations.<CreateSolution>b__4(Pair`2 library) en System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x) en System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() en System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) en Microsoft.Dynamics.Framework.Design.VSInteractions.ExportOperations.CreateSolution(IEnumerable`1 libraries) en Microsoft.Dynamics.Framework.Design.VSInteractions.ExportOperations.Edit(IEnumerable`1 libraries, String axClientConfigFile) en Microsoft.Dynamics.Framework.Design.VSInteractions.VSProjectsExport.Edit() TYPE: Microsoft.Build.Exceptions.InvalidProjectFileException
Any ideas on how to fix this?
*This post is locked for comments