I am having trouble understanding how I can access the TypeScript definition files which I installed with the NuGet package manager. I installed the TypeScript definition files for Angular with the following command:
Install-Package angularjs.TypeScript.DefinitelyTyped
And it shows up in the project.json file:
"dependencies": {
"Microsoft.AspNet.Server.IIS": "1.0.0-beta3",
"Microsoft.AspNet.Mvc": "6.0.0-beta3",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta3",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta3",
"angularjs.TypeScript.DefinitelyTyped": "3.2.5"
},
And a reference has been placed under 'References', linking to:
C:\Users\.k\packages\angularjs.TypeScript.DefinitelyTyped\3.2.5
I am able to reference to this by using the absolute path, but this won't work:
/// <reference path="C:\Users\<user>\.k\packages\angularjs.TypeScript.DefinitelyTyped\3.2.5\Content\Scripts\typings\angularjs\angular.d.ts" />
Angular depends on jQuery, which it will look for in:
'C:/Users//.k/packages/angularjs.TypeScript.DefinitelyTyped/3.2.5/Content/Scripts/typings/jquery/jquery.d.ts'
So my question is: how can I reference to TypeScript definition files installed as a NuGet package?