简体   繁体   中英

Problems with installing python tools for visual studio 2010

I installed iron python 2.7.3 and python tools for visual studio 1.1

but when i try to create a new python project it only offers me to create a command-line application. I wanted to create a GUI with iron Python so i was looking forward to create a WPF project. The documentation states that it should be available if I installed iron python. Did I do anything wrong? I tried reinstalling both iron python and python tools.

After installing it. Did you setup the interactive and interpreter settings to use your ironpython 2.7.3?

Step "3. Getting PTVS": http://pytools.codeplex.com/wikipage?title=Installation%20-%20details&referringTitle=Home

You should see your IronPython 2.7.3 version on the dropdown list on both screens under Tools > Options > Python Tools

在此处输入图片说明

在此处输入图片说明

And, for me, it worked, all templates are available:

在此处输入图片说明

UPDATE: Look for the templates folder:

C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\Extensions\\Microsoft

C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\Extensions\\Microsoft\\IronPython Interpreter\\1.5\\Templates\\Projects

You should have: - ConsoleProject - SilverlightProject - WinformsProject - WpfProject

You may have a problem with the templates, so look at this website and find out exactly how project templates work and where are all located so you can try to fix them yourself (if the problem persists).

Visual Studio Templates

http://msdn.microsoft.com/en-us/library/vstudio/6db0hwky(v=vs.100).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM