Working with Directory.Build.props.
I am unable to move the packages and the frameworks elements to the Directory.Build.props file in the root of the solution.
So when i move the ItemGroup with PackageReference to the root Directory.Build.props the dotnet restore command will not even work.
It's as if the entire ItemGroup in the root file is not loaded...
When i try to move the TargetFrameworks version to the root file, i get an error similar to:
TargetFramework Version not valid: ' '
I have tryed TargetFramework, TargetFrameworks
Please advise.
The rest of the properties split up in the Directory.Build.props are working as intended1 Reply
kek, thx ChatGPT