Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for Shared Project #43

Open
ka4ep opened this issue Feb 22, 2019 · 0 comments
Open

No support for Shared Project #43

ka4ep opened this issue Feb 22, 2019 · 0 comments

Comments

@ka4ep
Copy link

ka4ep commented Feb 22, 2019

  • 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?...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant