<ItemGroup>
<Reference Include="Microsoft.WindowsAzure.Configuration">
<HintPath>..\Microsoft.WindowsAzure.Configuration.dll</HintPath>
<Private>true</Private>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Storage">
<HintPath>..\Microsoft.WindowsAzure.Storage.dll</HintPath>
<Private>true</Private>
</Reference>
</ItemGroup>
The reason is that is because I don't want all assemblies from all .NET Core to get copied to my output folder.
Now setting Copy Local
to Yes
in Visual Studio equals to <Private>true</Private>
in csproj
file.
The problem is, these DLL files are not getting copied to the output directory. What's more irritating is that I've added the same exact line of codes to a similar project, and only one of the files is getting copied to the output.
What can be the problem here? How do I debug this? I've made sure that these file exist and their relative path are correct.