i have a monolith solution that has 2 kinds of projects:
- running of 4.8 .net framework
- running on 3.1 .net core
for projects running on 4.8 has output path is “c:product”
for a project running on 3.1 .net core has output path is “c:productRemotepatching” and it has project dependency of one of the 4.8 .net framework project.
msbuild command:
“C:Program Files (x86)Microsoft Visual Studio2019ProfessionalMSBuildCurrentBinmsbuild.exe” “C:SourcesAPM.sln” /p:platform=”x64″ /p:configuration=”release”
when I’m running the above cmd to build the solution, all the folder from “c:product” is also getting copied to “c:productRemotepatching”.
but if I remove the project dependency from the 3.1 .net core project those folders doesn’t get copied.
is there any thing I’m missing in msbuild command?