question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for .NET Core Tooling Preview3+ projects

See original GitHub issue

Support for .NET Core Tooling Preview3+ projects

When building API documentation for a project that uses .NET Core Preview 3 or higher (csproj), the build fails, because (roslyn?) is unable to parse PackageReference tags

Functional impact

API documentation can not be built for projects that use .NET Core

Minimal repro steps

  1. Create a docFx project
  2. Add a metadata reference to a csproj file

Expected result

The build would succeed and API documentation would be built.

Actual result

During the ‘generating metadata’ phase of the build, a warning is thrown opening the project. Warning: Error opening project <project>.csproj: The attribute "Version" in element <PackageReference> is unrecognized.. Ignored.

No API documentation is built.

Further technical details

N/A

Sample csproj/docfx.json for reference

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:44 (18 by maintainers)

github_iconTop GitHub Comments

4reactions
ThadHousecommented, Mar 14, 2017

The *.cs workaround does not seem to be working properly for me. It builds most of the docs, but misses some of the cross references that worked with the old setup. This is the last showstopper to being able to update all my repos to the new project format. Any ETA on when this will happen, especially now that 2017 is RTM and released?

4reactions
foxbotcommented, Mar 5, 2017

Looks like Roslyn 2.0-rc4 has made it’s way on to the official NuGet feed, any progress on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing .NET Core 3 Preview 3
NET Core 3.0 will be supported in Visual Studio 2019, Visual Studio for Mac and Visual Studio Code. You need to enable Use...
Read more >
New in .NET Core 3.0: local tools
In this post I show how to install and run local tools in .NET Core 3.0 using a dotnet-tools manifest and discuss how...
Read more >
How to Upgrade Net Core 3.0 project to Net Core 3.1 in ...
Close VS 2019 and download and install the latest SDK 3.1.100-preview3 to test; Go to Tools > Options > Environment > Preview Features...
Read more >
dotnet/upgrade-assistant
This project and tool enables automation of common tasks related to upgrading .NET Framework projects to the latest versions of .NET (STS, LTS,...
Read more >
ASP.NET Core 3.0 not showing on Visual Studio 2019
1- make sure Tools -> Options that enables preview versions of the .NET Core SDK enabled. · 2- uninstall all x86 version of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found