linq2db / docs

Documentation sources and build scripts
2 stars 10 forks source link

docfx dotnet tool migration #42

Closed MaceWindu closed 1 year ago

MaceWindu commented 1 year ago

Changes:

There are 30 xml-doc non-critical warnings (most of them in DynamicColumnInfo.cs) during build, which we will fix later alongside with warn-as-error build mode

I've compared generated HTML and don't see any issues with it:

MaceWindu commented 1 year ago

Currently it doesn't build locally with

C:\Program Files\dotnet\sdk\7.0.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets(209,5): error MSB4018: The "GetAssemblyVersion" task failed unexpectedly.
C:\Program Files\dotnet\sdk\7.0.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets(209,5): error MSB4018: System.IO.FileLoadException: Could not load file or assembly 'NuGet.Versioning, Version=6.5.0.136, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (0x80131621)

so I've added build pipeline to PRs to test docs build before merge.

Could be same issue as https://github.com/dotnet/docfx/issues/8389#issuecomment-1443329593

nuget 6.5 release doesn't look healthy: