Skip to content

No support for Shared Project #43

@ka4ep

Description

@ka4ep
  • Visual Studio: 2019 Preview 3.0
  • This extension: 1.2.38

I have a NET Core app 3 + ASP.NET Core 3 project (Web SDK, .exe) and a referenced Shared Project with all the web DTOs and stuff. The reason to use Shared is that for now ASP Core 3 does not support Net.Standard 2.0 Class library (have to wait until 2.1).

So, the menu item "Generate TypeScript Definition" does not appear in a Shared Project, but does in normal ones.

Interesting bit was when I moved ItemGroup block with a related nested .cs and .d.ts files from a normal .csproj into a Shared .projitems, Generator starts compiling but I read from Output windows something like:
TypeScript Definition Generator: Started
TypeScript Definition Generator: Completed
TypeScript Definition Generator: FAILED
for each to-be-compiled .cs file.
Probably it could be fixed in VSHelpers.cs files by adding a relevant Shared project type ID?...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions