Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Does not work with Visual Studio 2019 HOT 2
- Cannot start the image. HOT 6
- Cannot Build my Image HOT 1
- Request for a vc Dockerfile that works with CMake and MSbuild
- Request updating for Visual c++ 2019 HOT 3
- No possibility to install previous vc versions on windowsservercore-ltsc2022 containers
- Why Node-js? HOT 1
- This repo is missing important files HOT 3
- Make easier for project to consume
- Using Static Links for All Resources HOT 6
- Out of the box docker creation is not working HOT 5
- Missing something silly.. v15.0 vs v15.9.11 HOT 1
- Why can't I debug this interactively? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vs-dockerfiles.