When adding a dll link to a project, the path to it is indicated as complete: <Диск>:\<Папка1>\<Папка2>\<Папка решения>\<Название файла>.dll
Please tell <Диск>:\<Папка1>\<Папка2>\<Папка решения>\<Название файла>.dll
how to specify a relative path of type \<Папка решения>\<Название файла>.dll
so that on another computer this link works correctly.
|
1 answer
When adding a link to a file located in the project folder, the path to the link is indicated relative. This path can be seen in the csproj
in the section:
<ItemGroup> <Reference Include="<НАЗВАНИЕ ССЫЛКИ>"> <HintPath>.\<НАЗВАНИЕ ССЫЛКИ>.dll</HintPath> </Reference> .....
- And then mark it as true :). - andreycha
- @andreycha, your own only after 2 days can be noted like - Rltx11
|
csproj
and fix it. - Qwertiy ♦<ItemGroup> <Reference Include="<НАЗВАНИЕ ССЫЛКИ>"> <HintPath>.\<НАЗВАНИЕ ССЫЛКИ>.dll</HintPath> <EmbedInteropTypes>False</EmbedInteropTypes> </Reference> .....
- Rltx11