Skip to content

ProjectCracker fails to detect references #565

@rojepp

Description

@rojepp

Project Cracker Tool fails to detect references for the attached project.
ConsoleApplication3.zip

Repro steps

  1. Download the attached sample solution and open it in VS Code / Atom / other

Expected behavior

No errors

Actual behavior

Error squigglies on open System.Data in the editor. No type information for System.Data is available.

When running Project Cracker Tool, this error is shown:

{ProjectFile =
"C:\Users\robert\Documents\Visual Studio 2015\Projects\ConsoleApplication3\ConsoleApplication3\ConsoleApplication3.fsproj";
Options = [||];
ReferencedProjectOptions = [||];
LogOutput =
"Microsoft.Build.Exceptions.InvalidProjectFileException: The value "" of the "Project" attribute in element is invalid. Parameter "path" cannot have zero length.
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject(Boolean condition, String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object arg0, Object arg1, Object arg2, Object arg3)
...

Known workarounds

Related information

Originally reported here: ionide/FsAutoComplete#96
This machine has VS2015 installed, and has never had VS2013 installed.

  • Operating system : Win 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions