Replies: 1 comment
-
The last support for .NET Framework, which was version 4.7.2 is DocFX 2.59.4 per the Nuget information. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of DocFx would I need to make it work with .csproj targeting .NET Framework 4.6.2.
I was trying out docfx 2.39.2.0, but it is not able to resolve to existing vs studio path...
I've then added docfx.json "msbuild" property to point to correct msbuild to use. But then I get that tools version "15.0" is not recognized.
[25-06-26 11:54:14.009]Warning:MetadataCommand.ExtractMetadataWorkspace failed with: [Failure] Msbuild failed when processing the file 'C:_CODE\proj\CRM\Customer\01_Dataverse\Server\Plugins\SalesCalculations\Dispatchers\Calculator\Calculator.csproj' with message: The tools version "15.0" is unrecognized. Available tools versions are "Current", "2.0", "3.5", "4.0". C:_CODE\proj\CRM\Customer\01_Dataverse\Server\Plugins\SalesCalculations\Dispatchers\Calculator\Calculator.csproj
My docfx.json:
{
"metadata": [
{
"src": [
{
"src": "C:/_CODE/proj/CRM/Customer/01_Dataverse/Server/Plugins",
"files": [
"/Calculator.csproj"
]
}
],
"dest": "api",
"msbuild": "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/MSBuild.exe",
"disableGitFeatures": false,
"disableDefaultFilter": false
}
],
"build": {
"content": [
{
"files": [
"api/.yml",
"api/index.md"
]
},
{
"files": [
"articles/.md",
"articles//toc.yml",
"toc.yml",
"*.md"
]
}
],
"resource": [
{
"files": [
"images/"
]
}
],
"overwrite": [
{
"files": [
"apidoc/.md"
],
"exclude": [
"obj/",
"_site/"
]
}
],
"dest": "_site",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
"default"
],
"postProcessors": [],
"markdownEngineName": "markdig",
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false
}
}
Beta Was this translation helpful? Give feedback.
All reactions