Coder Social home page Coder Social logo

psvsenv's People

Contributors

ecsousa avatar shmuelie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

psvsenv's Issues

VS2017 MSBuild

I'm using the new vs2017 alias, but it doesn't seem to set up the correct path for MSBuild:

C:\> vs2015
C:\> gcm msbuild | select -expand source
C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe
C:\> vs2017
C:\> gcm msbuild | select -expand source
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

When I run the Developer Command Prompt for VS 2017, the correct version of MSBuild is found:

C:\>powershell -noprofile -c "gcm msbuild | select -expand source"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\\MSBuild\15.0\bin\MSBuild.exe

Am I doing something wrong?

UPDATE: I was loading the VS 2015 settings in my PowerShell profile, and it appears that the VS 2017 settings don't correctly override the VS 2015 settings (as documented in the steps above). If I load a clean PowerShell instance without first setting the VS 2015 variables, the VS 2017 variables are set correctly. In summary, switching between versions in a single PowerShell instance doesn't appear to be supported, but loading VS 2017 by itself works well.

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.