Hello ALl I want to structure my project such that
| Build
Packages.props
| Output
| Source
Project1-Folder
Project1.csproj
Project2-Folder
Project2.csproj
Sln
Directory.Build.props
with Packages.props in this structure, it can't be recognized project 1, or 2 , but if I moved it to the root it works fine. any idea how to make it works under this structure
I tried using Directory props , but it gives circular error my Directory.Build.props looks like
<Project>
<PropertyGroup>
<EnableCentralPackageVersions>true</EnableCentralPackageVersions>
<CentralPackagesFile>$(MSBuildProjectDirectory)\Build\Packages.props</CentralPackagesFile>
</PropertyGroup>
</Project>
and packages.prop
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Update="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
</Project>