problem understanding the new build model #8412
Replies: 2 comments 7 replies
-
When I ported our document projects to DocFX 2.60, I added to each repository a If I had needed custom extensions, then I'd have used |
Beta Was this translation helpful? Give feedback.
-
I am also totally at a loss for how to use DocFx as a NuGet package. The instructions here, https://dotnet.github.io/docfx/index.html#use-the-nuget-library, are just not something I understand.
Which file(s) should that package reference be added to? I have a class library with three separate projects, compiling to three dlls, under one solution. I'm very much an amateur with MSBuild files, and just telling me to add a package reference is just not enough. I need a little more hand holding. Where is that line of code supposed to live? When and how is it executed? |
Beta Was this translation helpful? Give feedback.
-
I'm very sorry for even asking this question but I just don't understand the new way to use
Microsoft.DocAsCode.App
instaed ofdocfx.console
.We have build machines that don't have docfx installed as tool, so till now I used docfx as nuget in the following way:
just changing this to
is obviously not sufficient as there is no docfx.exe in any nuget package.
I tried to understand the example mentioned but I don't get it.
I'm currently have the little Program.cs with just
inside. It builds, but what is the next step?
Shall I call the build exe now in a post-build step?
Any help is really appreciated.
Discussed in #8313
Originally posted by yufeih December 25, 2022
What's Changed
Addresses all known limitations in v2.60.0-preview.1:
docfx.console
and plugins are replaced with a new compile time extensibility model. To consume docfx as a library or use docfx extensions, add reference to theMicrosoft.DocAsCode.App
package. Seesamples/extensions
folder on a sample using thememberpage
plugin.This discussion was created from the release Version 2.60.0-preview.2.
Beta Was this translation helpful? Give feedback.
All reactions