locked
VS Docker support can't find library reference with docker-compose up RRS feed

  • Question

  • I have a .net core project that I'm using in a linux container.

    1. It compiles and debugs fine in visual studio, runs perfectly in the container, however,
    2. If I just go to where the docker-compose.yml and run docker-compose up, it fails to find a reference assembly

    warning MSB3245: Could not resolve this reference. Could not locate the assembly "IvcCoreDataLayer"

    This assembly is not in the current directory, in fact it's on another disk entirely, but it's found by visual studio, but can't be located when I manually want to run things.

    Is there something visual studio does to find this dependency that can't be done manually? 

    I already know that "docker-compose.override.yml" presents additional issues, but I can deal with those.

    Thursday, November 5, 2020 11:55 PM

All replies

  • Hi samcov,

    Thank you for posting here.

    This question seems to have nothing to do with C#.

    If the problem is caused by Visual Studio, you can raise your problem in Microsoft Q&A, if it is caused by docker, you can raise it in their forum.

    The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,

    Timon


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, November 6, 2020 2:14 AM