Docfx: Cannot generate documentation for project using Microsoft.NET.Sdk.WindowsDesktop

Created on 8 Jun 2019  路  7Comments  路  Source: dotnet/docfx

Operation System: (Windows or Linux or MacOS)
Windows 10 Pro x64 1903

DocFX Version Used:
2.42.2

Template used: (default or statictoc or contain custom template)
default

Steps to Reproduce:

  1. Create a .NET Core 3 console app using the Microsoft.NET.Sdk.WindowsDesktop SDK
  2. Run docfx.exe metadata ConsoleApp1.csproj on it in a VS2017 developer command prompt (I also installed the ASP.NET workload).

Expected Behavior:
Extracts metadata

Actual Behavior:
Cannot create metadata, failing with
Warning:[ExtractMetadata](...ConsoleApp1.csproj)Workspace failed with: [Failure] Msbuild failed when processing the file '...ConsoleApp1.csproj' with message: The SDK 'Microsoft.NET.Sdk.WindowsDesktop' specified could not be found. ...ConsoleApp1.csproj

Am I missing something here?

Area-Metadata bug

Most helpful comment

The issue is still going on

All 7 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs.

Closing this issue after a prolonged period of inactivity. If you still think this issue is relevant, please feel free to ping a maintainer or leave a comment.

The issue is still going on

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs.

Closing this issue after a prolonged period of inactivity. If you still think this issue is relevant, please feel free to ping a maintainer or leave a comment.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs.

Closing this issue after a prolonged period of inactivity. If you still think this issue is relevant, please feel free to ping a maintainer or leave a comment.

Was this page helpful?
0 / 5 - 0 ratings