Visual Studio Developer Center > Visual Studio Forums > Visual Studio Extensibility > How to execute IronPython on web projects
Ask a questionAsk a question
 

AnswerHow to execute IronPython on web projects

  • Tuesday, July 25, 2006 2:58 PMpowerevan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi, I was downloaded Visual Studio 8 SDK, April V3

    this version is supported ironpython on web projects, i see the document

    so, i tried make a web project, it's very well

    but, i can't executing and see the error messages are

    "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSite7\Default.aspx(1): Build (web): 'IronPython' is not a supported language."
    "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSite7\Default.aspx(1): Build (web): '.py' is not a valid language extension."

    i think a visual studio is not supported ironpython?

    how think do that, i hope to executing...

Answers

  • Thursday, August 10, 2006 12:56 AMCarlBrochuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    You are doing the right procedure to use the WebProjects.  However, since we have just released the August CTP of the V3 SDK i would suggest you get it.  You can download it from http://msdn.microsoft.com/vstudio/extend/ as it has many fixes and improvements from the previous version.

    There is a workaround that you need to do to build the web site projects in the august ctp is to insert the ironpython assemblies into the GAC.  You can do so by using the Visual Studio Command Prompt and running:

        gacutil /i "\Program Files\Visual Studio 2005 SDK\2006.08\VisualStudioIntegration\Common\Assemblies\IronMath.dll"

        gacutil /i "\Program Files\Visual Studio 2005 SDK\2006.08\VisualStudioIntegration\Common\Assemblies\IronPython.dll"

    This will fix the error message about the codedom not being found.

All Replies

  • Wednesday, July 26, 2006 6:42 AMBob Arnson MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'd suggest downloading the July CTP of the SDK. The SDK team has done much of its work on Web projects over the last several months.
  • Wednesday, July 26, 2006 9:36 AMpowerevan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    ok, problem is mine because i think a my setup processes

    my setup processes are next sequence

    1. download july CTP

    2. execute  VsSDKJuly2006.exe

    3. open the IronPythonIntegration project on the visual studio sdk folder

    4. build and execute project

    5. Start Visual Studio 2005 under Experimental hive

    6. make a web projects and language type is the iron python

    7. build - > i have met error messages and compiler is not understood language type on the ironptyhon

    are you think about a wrong the setup process, it say to me plz

  • Thursday, August 10, 2006 12:56 AMCarlBrochuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    You are doing the right procedure to use the WebProjects.  However, since we have just released the August CTP of the V3 SDK i would suggest you get it.  You can download it from http://msdn.microsoft.com/vstudio/extend/ as it has many fixes and improvements from the previous version.

    There is a workaround that you need to do to build the web site projects in the august ctp is to insert the ironpython assemblies into the GAC.  You can do so by using the Visual Studio Command Prompt and running:

        gacutil /i "\Program Files\Visual Studio 2005 SDK\2006.08\VisualStudioIntegration\Common\Assemblies\IronMath.dll"

        gacutil /i "\Program Files\Visual Studio 2005 SDK\2006.08\VisualStudioIntegration\Common\Assemblies\IronPython.dll"

    This will fix the error message about the codedom not being found.