Skip to content

///<reference doesn't work with absolute paths #800

@JsonFreeman

Description

@JsonFreeman

A file 0.ts references a file 1.ts in a windows directory called C:\Work. When referenced like this it works:

///<reference path="1.ts"/>

But the following reference does not work:

///<reference path="C:\Work\1.ts"/>

The error the compiler gives is
error TS6053: File 'C:/Work/C:/Work/1.ts' not found.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions