Xamarin does not resolve links correctly

Has anyone seen the following when learning about a workaround?

Question

If I have several solutions with several projects in each of them. What I see is a refusal to allow assembly references. This happens when I previously had an open solution that was built, but had a missing link (I forgot to build it). Then I will open a solution that will build the missing link and build. Sometimes this solution cannot be built, even if it is considered successful in the past.

Error message

I see the following:

Target ResolveAssemblyReferences:
/Library/Frameworks/Mono.framework/Versions/3.2.6/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference โ€˜xxxx, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL' not resolved
    For searchpath {CandidateAssemblyFiles}
    Warning: {CandidateAssemblyFiles} not supported currently
    For searchpath {HintPathFromItem}
    For searchpath {TargetFrameworkDirectory}
    Considered target framework dir /Library/Frameworks/Mono.framework/Versions/3.2.6/lib/mono/4.5, assembly named โ€˜xxxx' not found.
    Considered target framework dir /Library/Frameworks/Mono.framework/Versions/3.2.6/lib/mono/4.5/Facades/, assembly named โ€˜xxxx' not found.
    For searchpath {PkgConfig}
    Considered xxxx, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in any pkg-config files.
    For searchpath {GAC}
    Considered xxxx, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in the GAC.
    For searchpath {RawFileName}
    For searchpath ../../../bin/    <โ€” This is where the xxxx.dll is but it doesnโ€™t find it

, "Quit Xamarin" xamarin , , , , . , , :

zzzz.dll depends on yyyy.dll depends on xxxx.dll

, yyyy.dll , , xxxx.dll.

Xamarin , xxxx.dll, yyyy.dll, , zzzz.dll , yyyy.dll.

quiting Xamarin , , .

, Xamarin , , . , , ( ), , ( , ).

+4

Source: https://habr.com/ru/post/1532842/


All Articles