This PR corresponds to step2 of issue #3830 and includes.
Common properties for Directory.Build.props files in src, tools, and test are defined for each path.
Directory.Build.props in the solutions path defines common properties for the entire project.
In a typical environment, the TargetFramework property is net6.0.
The TargetFrameworks used when running the dotnet pack command is also net6.0, but the TargetFrameworks of the project in src has the following values: netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0.
Because the default TargetFramework value is net6.0, some of the code has been branched using #if #endif.
Fixed an issue with paths when running CI scripts.
This PR corresponds to
step2
of issue #3830 and includes.Directory.Build.props
in the solutions path defines common properties for the entire project.TargetFramework
property isnet6.0
.TargetFrameworks
used when running thedotnet pack
command is alsonet6.0
, but theTargetFrameworks
of the project in src has the following values:netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0
.TargetFramework
value isnet6.0
, some of the code has been branched using #if #endif.