none
set up Ironpython environment in Visual Studio 2017 RRS feed

  • Question

  • help! does anyone know how to set up Ironpython environment in Visual Studio 2017. from my VS2017 Python Environments window, I can only see Anaconda. 
    Monday, October 23, 2017 6:56 PM

All replies

  • Hi,

    Welcome to MSDN forum.

    You need to download it and install it separately from Github. After you have successfully installed it you need to check the created environment at Visual Studio 2017. If the IronPython 2.7 environment is not properly set then you have to do it manually.

    Refer: https://docs.microsoft.com/en-us/visualstudio/python/python-environments#creating-an-environment-for-an-existing-interpreter

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, October 24, 2017 7:12 AM
  • I got the same issue

    this might sound stupid, but how do i install it?, i downloaded and installed Ironpython 2.7, downloaded the files from github, copied them everywhere, created a custom environment in VS2017 and nothing...

    please help.

    Best Regards,

    Fernando


    Together we can

    Saturday, June 2, 2018 9:19 AM
  • open your VS 2017 Community installer and check Python, then click Modify and let it install
    Monday, June 25, 2018 7:31 PM
  • Hi,

    I have the same issue and I have downloaded the IronPython related files from Github. However, I have no idea how to install IronPython (which files to use or the proper directory for this IronPython folder).

    The folder name is named as "ironpython2-master" (Sorry that I could not embed the image in this question as my account has not been verified).

    I would appreciate if there is some guide in installing and creating the environment for Visual Studio 2017 for the checkbox to be available in the list of python environments.

    Thank you.

    Wednesday, August 8, 2018 3:47 AM
  • I am absolutely amazed, myself, that IronPython was practically made for Visual Studio, yet it is so goddamn hard to get it working and there is no coherent documentation on this topic.
    Sunday, November 25, 2018 11:14 PM
  • install through Nuget Package Manager inside visual studio 

    https://www.nuget.org/packages/IronPython/2.7.9

    Wednesday, January 9, 2019 2:05 AM
  • Download the msi - Here

    Right click Python Environments in Solution Explorer and select "View All Python Environments"

    Click custom

    Description - IronPython

    Prefix Prefix path - Browse to where have installed e.g C:\Program Files\IronPython 2.7

    ( Note that Auto Detect does not auto detect )

    Interpreter path - e.g C:\Program Files\IronPython 2.7\ipy.exe or ipy32.exe

    Windowed Interpreter - e.g C:\Program Files\IronPython 2.7\ipyw.exe or ipyw32.exe

    Language Version - 2.7 as that is what IronPython is compatible with

    Architecture - 64/32 depending upon the exes you chose earlier

    Path Environment Variable - I have kept the default PYTHONPATH ( The install did not set this environment variable )

    Apply

    Thursday, January 31, 2019 4:28 PM
  • Your instructions are hilarious to me.  I just installed Visual Studio 2017 and the solution explorer is a plain empty window with no menu items nor icons to press, outside of a property icon,  ie there is no "View All Python Environments".  It's kind of typical for Microsoft.  Their UIs are always changing,  getting more complicated and annoying to use.

    Yes I also installed Iron Python and I still have no idea how to add it to Visual Studio.


    Actually I take it all back.  After installing Iron Python it does look like there is a project type for Iron Python.  Didn't need any specific install procedure for it.
    Tuesday, March 26, 2019 5:58 AM