Skip to content

Non-enabled project outputting errors to log #43

Description

@stimpy77

Output:

FastKoala: Error: InvalidProjectFileException - Microsoft.Build.Exceptions.InvalidProjectFileException: The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 59, position 2.
   at Microsoft.Build.Shared.ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(Boolean condition, String errorSubCategoryResourceName, BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args)
   at Microsoft.Build.Construction.ProjectRootElement.LoadDocument(XmlReader reader)
   at Microsoft.Build.Construction.ProjectRootElement..ctor(XmlReader xmlReader, ProjectRootElementCache projectRootElementCache, Boolean isExplicitlyLoaded)
   at Microsoft.Build.Construction.ProjectRootElement.Create(XmlReader xmlReader, ProjectCollection projectCollection)
   at Microsoft.Build.Construction.ProjectRootElement.Create(XmlReader xmlReader)
   at Wijits.FastKoala.Utilities.ProjectUtilities.GetProjectRoot(Project project) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectUtilities.cs:line 95
   at Wijits.FastKoala.Utilities.ProjectProperties.get_ProjectRoot() in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 34
   at Wijits.FastKoala.Utilities.ProjectProperties.GetPropertyValue(String propertyName, String condition) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 57
   at Wijits.FastKoala.Utilities.ProjectProperties.get_InlineAppCfgTransforms() in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 80
   at Wijits.FastKoala.FastKoalaPackage.OnAppConfigFileChanged(Object sender, AppConfigFileChangedEventArgs appConfigFileChangedEventArgs) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\FastKoalaPackage.cs:line 205
FastKoala: Error: InvalidProjectFileException - Microsoft.Build.Exceptions.InvalidProjectFileException: The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 59, position 2.
   at Microsoft.Build.Shared.ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(Boolean condition, String errorSubCategoryResourceName, BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args)
   at Microsoft.Build.Construction.ProjectRootElement.LoadDocument(XmlReader reader)
   at Microsoft.Build.Construction.ProjectRootElement..ctor(XmlReader xmlReader, ProjectRootElementCache projectRootElementCache, Boolean isExplicitlyLoaded)
   at Microsoft.Build.Construction.ProjectRootElement.Create(XmlReader xmlReader, ProjectCollection projectCollection)
   at Microsoft.Build.Construction.ProjectRootElement.Create(XmlReader xmlReader)
   at Wijits.FastKoala.Utilities.ProjectUtilities.GetProjectRoot(Project project) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectUtilities.cs:line 95
   at Wijits.FastKoala.Utilities.ProjectProperties.get_ProjectRoot() in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 34
   at Wijits.FastKoala.Utilities.ProjectProperties.GetPropertyValue(String propertyName, String condition) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 57
   at Wijits.FastKoala.Utilities.ProjectProperties.get_InlineAppCfgTransforms() in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 80
   at Wijits.FastKoala.FastKoalaPackage.OnAppConfigFileChanged(Object sender, AppConfigFileChangedEventArgs appConfigFileChangedEventArgs) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\FastKoalaPackage.cs:line 205
FastKoala: Error: InvalidProjectFileException - Microsoft.Build.Exceptions.InvalidProjectFileException: The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 59, position 2.
   at Microsoft.Build.Shared.ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(Boolean condition, String errorSubCategoryResourceName, BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args)
   at Microsoft.Build.Construction.ProjectRootElement.LoadDocument(XmlReader reader)
   at Microsoft.Build.Construction.ProjectRootElement..ctor(XmlReader xmlReader, ProjectRootElementCache projectRootElementCache, Boolean isExplicitlyLoaded)
   at Microsoft.Build.Construction.ProjectRootElement.Create(XmlReader xmlReader, ProjectCollection projectCollection)
   at Microsoft.Build.Construction.ProjectRootElement.Create(XmlReader xmlReader)
   at Wijits.FastKoala.Utilities.ProjectUtilities.GetProjectRoot(Project project) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectUtilities.cs:line 95
   at Wijits.FastKoala.Utilities.ProjectProperties.get_ProjectRoot() in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 34
   at Wijits.FastKoala.Utilities.ProjectProperties.GetPropertyValue(String propertyName, String condition) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 57
   at Wijits.FastKoala.Utilities.ProjectProperties.get_InlineAppCfgTransforms() in m:\dev\prj\FastKoala\FastKoala\Fast Koala\Utilities\ProjectProperties.cs:line 80
   at Wijits.FastKoala.FastKoalaPackage.OnAppConfigFileChanged(Object sender, AppConfigFileChangedEventArgs appConfigFileChangedEventArgs) in m:\dev\prj\FastKoala\FastKoala\Fast Koala\FastKoalaPackage.cs:line 205

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions