I followed the instructions to install Visual Studio Build Tools from Microsoft website. Instead of installing it into a Server Core, I installed it into a Windows Nano Server. The build appears to be successful. When I create a container from this image, I can see that vs_buildtools.exe is in the TEMP directory. However, it does not appear any directory called BuildToolsor related - it seems like it wasn't even installed. If I try to run vs_buildtools.exe again, it does not output anything and nothing changes. What am I doing wrong?
vs_buildtools.exe not running in the container
1.1k views Asked by kcpf At
2
There are 2 answers
0
Mark Ingram
On
At the time of writing, vs_buildtools.exe is a 32-bit executable, and Nano Server only supports 64-bit executables.
https://learn.microsoft.com/en-us/windows-server/get-started/getting-started-with-nano-server
It is similar to Windows Server in Server Core mode, but significantly smaller, has no local logon capability, and only supports 64-bit applications, tools, and agents.
Related Questions in VISUAL-STUDIO
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Dotnet Run is not working but the application is running in Visual Studio
- Is there a way to support Tailwind @apply in Visual Studio?
- How can I eliminate compile warnings using ZLib in Visual Studio
- C++(or Visual Studio) saving the file will not preserve the original file contents
- VS Community 2022 cannot install dotnet-ef when i try to publish
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022
- Migrate Old VS 2015 .suo file to the New VS 2022 DocumentLayout.json
- How to make one executable visual studio, that users can run?
- Use tabs instead of spaces in .csproj file in Visual Studio 2022
- Unity - scrollview/dragging breaks after specific scene inactivity
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
Related Questions in DOCKER
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- Only the first SQL script gets executed inside Docker Postgres container
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Polars with Rust: Out of Memory Error when Processing Large Dataset in Docker Using Streaming
- Compiling eBPF program in Docker fails due to missing '__u64' type
- AttributeError: module 'numba' has no attribute 'generated_jit'
- Phoenix in a docker dev environment - generated code can't be saved from VSCode
- Docker on Multipass VMs: Connecting worker nodes to swarm results in rcp error
- Facing error in creating image of my react+vite project . Dockerfile error
- NextJS Docker build fails: fetch failed ECONNREFUSED
- Docker container unable to make HTTPS requests to external API
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
Related Questions in BUILD-TOOLS
- Script "vsdevcmd\ext\Active" could not be found
- How can I use dynamic Parcel 2 aliases?
- Getting error while installing scikit-surprise
- Ansible VS BuiltTools 2022 With workloads
- Error Message while installing Spacy 2.3.5 - "Microsoft Visual C++ 14.0 or greater is required" even though build tools is already installed
- i am trying to make changes to the build.gradle file but every time i run the package
- Migrating the existing react app from "create-react-app" to "parcel"
- Failed to find Build Tools revision 34.0.0
- Is it possible to force pip to use MingwW64-x86_64-gcc/g++ instead of the Visual Studio BuildTools Package?
- SCons mwe for a generic Fortran project
- How to use Visual Studio 2022 build tools for NODE JS chocolatey
- ffi-napi docker build fail
- Where is the location of cl.exe of VS2015 msvc build tool (v140) in VS2022
- Is there a way to pass arguments by CLI when building an Angular application?
- ERROR: Failed building wheel for aiohttp and ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
Related Questions in NANO-SERVER
- How to use windows nano server image for hosting my .net application
- "nmake : The term 'nmake' is not recognized:" in WindowsContainer running in GitLab
- error when trying to create a php8 iis nano-server docker image
- 'Unable to Find User ContainerUser' when building Windows Dockerfile via Actions Runner
- openssl does not work in windows 2k19 nanoserver docker container
- Can I install Anaconda (not miniconda) on window nano-server docker?
- How can I package a windows dependent program into a lightweight docker container?
- Building nanoserver image: task scheduler command fails but succeeds when run from the container command line
- Update IISAdministration with powershell
- How to run Windows Nano Server container from Windows 10 Pro?
- Not able to pull any docker image in windows 2019 server hangs at extracting
- vs_buildtools.exe not running in the container
- Cannot load PHP on Windows nanoserver IIS PHP dockerfile
- How to install Powershell Core in aspnet Nanoserver docker container?
- Access Denied while deleting files using docker Windows Nanoserver
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Apparently Build Tools can only be installed if the machine has a .NET framework. Since Nanoserver does not support .NET frameworks, then the executable will not run. I installed it in Servercore, even though it is not optimal since it is heavier.
Source: https://learn.microsoft.com/en-us/dotnet/architecture/microservices/net-core-net-framework-containers/net-container-os-targets