-
-
Notifications
You must be signed in to change notification settings - Fork 46
Description
- 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?...