Coder Social home page Coder Social logo

Comments (7)

heaths avatar heaths commented on May 13, 2024

There are restrictions, such as you can't install .NET Framework as part of the VS install into Windows containers, which don't install .NET Framework (at least certain versions) by default. Attempts will fail in unpredictable ways, which is why examples start with a dotnet-framework tagged image.

To troubleshoot further, logs are needed. Given the sporadic nature, this could be a connection issue through your configured network (nat, transparent, or otherwise).

from vs-dockerfiles.

ablaylock avatar ablaylock commented on May 13, 2024

I meant to include the logs. I have edited the original post and added the log. I did see the logs with 255 in the name was failing to add .NET. I will look at what .NET images are available and try that.

from vs-dockerfiles.

ablaylock avatar ablaylock commented on May 13, 2024

Could you recommend a FROM line for installing VS 2019? I have tried FROM mcr.microsoft.com/dotnet/framework/sdk:4.7.2 and FROM microsoft/dotnet-framework:4.7.2-sdk-windowsservercore-1709 both of which failed. See the attached logs.
vslogs_2147483651_4.7.2_sdk.zip
vslogs_2147483651_4.7.2-sdk-windowsservercore-1709.zip

from vs-dockerfiles.

heaths avatar heaths commented on May 13, 2024

Neither log is showing an install error. They are showing that the install succeeded, actually. Sure it's not one of the subsequent commands? The errors correspond to ERROR_CLIENT_SERVER_PARAMETERS_INVALID (could be an issue with your Docker install) and HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), which could be anywhere.

from vs-dockerfiles.

ablaylock avatar ablaylock commented on May 13, 2024

Given the logs zip were generated and only command that is capable of generated them is the VS install that would pretty conclusively point to the vs install failing. Am I thinking about that wrong? I am going to look through the logs and maybe capture the output from the docker run as well.

from vs-dockerfiles.

ablaylock avatar ablaylock commented on May 13, 2024

I have attached the shell output from running the log vslogs_2147483651_4.7.2-sdk-windowsservercore-1709.zip here. You can see at the end where I copy out the zip.
error_run.txt

from vs-dockerfiles.

ablaylock avatar ablaylock commented on May 13, 2024

I reinstalled windows and now the images are building reliably, I think something may have gotten broken with docker or another program I installed was interfering.

from vs-dockerfiles.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.