Skip to content

Build.cmd file is in the wrong folder, and the debug switch is not supported #845

@ScottHutchinson

Description

@ScottHutchinson

On Windows, in a Dev Cmd prompt (as Admin), when I cd to the fcs folder where the build.cmd file is located and run build.cmd debug, there are two errors:

Error 1: The system cannot find the path specified. This is apparently caused by the line "cd fcs" in build.cmd. Copying the build.cmd file from the fcs folder to the root (one level higher) fixes this error. See https://gist.github.com/ScottHutchinson/19a7fcdc945e538e22069d3c88658d29#file-fsharp-compiler-service-build-cmd-error-txt-L95

Also, I noticed that in the https://github.com/Microsoft/visualfsharp repo, there is a build.cmd in both the root and fcs folders.

And the DEVGUIDE.md file does not say where to find the build.cmd file, so I had to search for it. Same for the .sln file, which the DEVGUIDE.md file says is named ".\FSharp.sln", but is actually "fcs\FSharp.Compiler.Service.sln".

Error 2: Target "debug" is not defined. Not sure just what to do about this error. See https://gist.github.com/ScottHutchinson/19a7fcdc945e538e22069d3c88658d29#file-fsharp-compiler-service-build-cmd-error-txt-L224

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