Skip to content

Support .nsproj file so this package works in NTVS as well #5

Open

Description

@bartvanderwal

I'm now working on a Node project using NTVS: Node Tools for Visual Studio. Projects here don't have a .csproj' file, but a.nsproj` file instead. But when I use config like this in such a project:

checkVSIncludes(['/client/less/*.less', '/**/*.ts']);

A error is return:

 Error: No .csproj was found in the current working directory, check-vs-includes cannot run!

Pretty logical actually. But it would be nice if .nsproj was also supported out-of-the box. For instance fall back to looking for a .nsproj file if no '.csproj` file is found.

Note: as a workaround for now you can use the feature that we can specify an explicit file name:

checkVSIncludes(['/client/less/*.less', '/**/*.ts'], , {}, 'BuyCo.njsproj');

That works!

Activity

  1. bartvanderwal commented on Jan 20, 2016

    @bartvanderwal
    OwnerAuthor

    Ah, but even with the above workaround the next error is that only files with Content type Build orContentare currently supported. So files with Build ActionTypeScriptCompile` are unwantedly mentioned as NOT Included:

    check-vs-includes-issue5

  2. bartvanderwal commented on Aug 22, 2016

    @bartvanderwal
    OwnerAuthor

    The above issue is solved per fix of #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions