Soma Yarlagadda
Soma Yarlagadda

Reputation: 2943

typings folder in visual studio 2015

When using typings in an asp.net application using visual studio 2015, do we have to include the typings folder as part of the project?

I want to treat typings folder just like the bower_components folder. Don't want to check that folder and don't want to include this as part of my solution. Unfortunately, VS is not finding the typings if the folder is not included in my project. Is it possible to treat typings folder like bower_components folder? I am using VS 2015, VSTS (team services) as source safe.

Project Structure

Thank you, Soma.

Upvotes: 0

Views: 602

Answers (1)

Madhu Ranjan
Madhu Ranjan

Reputation: 17914

Can you add a main.d.ts file (file name does not matter) inside your client folder hoping it has your ts source files, with below content and try,

 /// <reference path="../typings/index.d.ts" />

Upvotes: 1

Related Questions