cosj
❔ Program fails with reference when private=False but works when private=True
'''
<ItemGroup>
<Reference Include="Custom">
<HintPath>C:\SomeCustom.dll</HintPath>
<Private>False</Private> </Reference> </ItemGroup> ''' It builds fine with both Private True and False, but when setting it to False this error seems to suggest that it cannot find the dll. 'Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly It builds and runs fine with Private set to True. I've been looking for another way to set the path to the dll, but so far haven't been able to get it to work.
<Private>False</Private> </Reference> </ItemGroup> ''' It builds fine with both Private True and False, but when setting it to False this error seems to suggest that it cannot find the dll. 'Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly It builds and runs fine with Private set to True. I've been looking for another way to set the path to the dll, but so far haven't been able to get it to work.
24 replies