I have a console application which has project reference of a web application.
This is how the project reference is added in the csproj file of the console application
<ItemGroup>
<ProjectReference Include="..\..\EMP.Web\EMP.Web.csproj" />
</ItemGroup>
I am trying to publish the console application with these settings
But it is giving me this error
Metadata file 'C:\Projects\EMP\EMP.Web\obj\Release\net7.0\win-x64\ref\EMP.Web.dll' could not be found
What I have found out is that it does generate EMP.Web.dll inside obj path, it is just that it is not getting generated under win-x64 folder, so basically this is the path where the web dll is generating
C:\Projects\EMP\EMP.Web\obj\Release\net7.0\ref\EMP.Web.dll
But it is trying to find it under win-x64 folder.
Is there any setting that I can do to have it find the web dll under the folder where it is actually generating?
