Skip to content

Adding .npmproj files to a solution #7676

Closed
@wicked-sick

Description

@wicked-sick

Can you share some light around custom project types like .npmproj, e.g.:

https://github.com/aspnet/AspNetCore/blob/master/src/Components/Browser.JS/src/Microsoft.AspNetCore.Components.Browser.JS.npmproj

and how they can be referenced as a dependency in Visual Studio solution? I am trying to attach all the source code dependencies of Blazor to the solution of a sample project in order to debug the actual source code, but the dependency on Microsoft.AspNetCore.Components.Browser.JS.npmproj cannot be added by "Add existing project" due to the unsupported project extension in the menu.

Similar scenarios for JS are created as .csproj files, which allows them to be added without any issues:
https://github.com/dotnet/jsinterop/tree/master/src/Microsoft.JSInterop.JS

@natemcmaster
Looking at the commit that introduced the *.npmproj, can you add some details on what is the workflow when working with this project in order to attach the source code to a project for debugging?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions