Coder Social home page Coder Social logo

vcvarsall.bat is missing about packer HOT 3 CLOSED

dmikushin avatar dmikushin commented on June 20, 2024
vcvarsall.bat is missing

from packer.

Comments (3)

dmikushin avatar dmikushin commented on June 20, 2024 1

Hi @gusztavvargadr , sorry for the noise I've figured out this error happens when Visual Studio does not include the C++ development module. So on top of your gusztavvargadr/windows-server, in my provisioning I need to add something like this:

vs_community.exe --installPath $vsHome
        --add Microsoft.VisualStudio.Workload.NativeDesktop
        --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
        --add Microsoft.VisualStudio.Component.Windows10SDK.19041

Thanks a lot for your excellent work! 👍

from packer.

gusztavvargadr avatar gusztavvargadr commented on June 20, 2024 1

@dmikushin sorry for the delayed response.

Glad that you could figure this out. If you have any recommendations on new tooling in the boxes, feel free to open a dedicated issue. For VS, I have some provisioning samples https://github.com/gusztavvargadr/chef using Chef. I currently have boxes for VS on the client versions of Windows (10 and 11), but can add back VS on top of Windows Server if needed.

Thanks!

from packer.

gusztavvargadr avatar gusztavvargadr commented on June 20, 2024

@dmikushin just to confirm, which box and which provider / version are you using? Can you maybe share your Vagrantfile too to reproduce it easier? Btw I'm using the default installer with standard parameters, you can take a look at them here.

from packer.

Related Issues (20)

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.