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

DocFx is failing with VS2022 17.3.0 Preview 4.0 #8102

Closed
tig opened this issue Jul 22, 2022 · 2 comments
Closed

DocFx is failing with VS2022 17.3.0 Preview 4.0 #8102

tig opened this issue Jul 22, 2022 · 2 comments

Comments

@tig
Copy link

tig commented Jul 22, 2022

Operating System: Windows

DocFX Version Used: 2.59.3.0

Template used:

https://github.com/migueldeicaza/gui.cs/blob/ec0822401aec9971ebc72fb1bf982cdeceee17ce/docfx/docfx.json

Steps to Reproduce:

  1. Clone https://github.com/migueldeicaza/gui.cs
  2. cd docfx and run build.ps1

Expected Behavior:

Docs build as they did with older VS 2022 17 versions.

Actual Behavior:

[22-07-21 03:50:09.530]Info:Config file docfx.json found, start generating metadata...
[22-07-21 03:50:09.724]Info:[MetadataCommand.ExtractMetadata]Using msbuild C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Current\Bin as inner compiler.
[22-07-21 03:50:10.281]Info:[MetadataCommand.ExtractMetadata]Loading projects...
[22-07-21 03:50:14.000]Warning:[MetadataCommand.ExtractMetadata](C:/Users/charlie/s/gui.cs/Terminal.Gui/Terminal.Gui.csproj)Workspace failed with: [Failure] Msbuild failed when processing the file 'C:\Users\charlie\s\gui.cs\Terminal.Gui\Terminal.Gui.csproj' with message: Method not found: 'System.ReadOnlySpan`1<Char> Microsoft.IO.Path.GetFileName(System.ReadOnlySpan`1<Char>)'.
[22-07-21 03:50:15.025]Warning:[MetadataCommand.ExtractMetadata]Project 'C:\Users\charlie\s\gui.cs\Terminal.Gui\Terminal.Gui.csproj' does not contain any documents.

Tracking Terminal.Gui issue: gui-cs/Terminal.Gui#1874

@paulushub
Copy link

paulushub commented Jul 22, 2022

Reported earlier - #8097
The work around is to use the compiled dll as the source of the metadata.

@tig
Copy link
Author

tig commented Jul 22, 2022

Gracias.

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

2 participants