Re: [IronPython] Security Problem in Visual Studio
Hi Niels, Ill investigate this and let you know what we find out. Thanks, Aaron Marten (Microsoft) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niels Reijers Sent: Thursday, October 12, 2006 5:47 AM To: Discussion of IronPython Subject: [IronPython] Security Problem in Visual Studio Hello, I apologise if this has been asked and answered before. I'm new to IronPython, .Net and VisualStudio (apart from some VB6 work in a distant past), but I have a couple of months of Python experience, and am really pleased with the language so far. I'm exploring IronPython for a project at work. Working within .Net and having VisualS tudio integration will be very important to us since it will make it far easier to have management consider Python as an option. I downloaded the SDK and got the VS integration working following Aaron Marten's blog post. No problems so far. Unfortunately, I can only run my code when running VS as Administrator. When I try to run it under my own account, I get an unhandled SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission , mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. So I'm assuming I need to get some extra permissions for my user account, but I'm not sure which. Any help would be much appreciated. Also many thanks to the IronPython team! This is really cool stuff you're building. :-) Sincerely, Niels Reijers ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] .NET attributes
Charlie is correct. Remember that the IronPython VSIntegration sample is really for two different set of folks: 1.) People using IronPython 2.) People trying to integrate their language into Visual Studio In the case of IronPython web services, the project templates were included only for completeness of the sample for set #2, even though (as has been noted) they are non-functional due to reliance on .NET attributes. The WebSite projects ('Venus' and Web Application Project - style) *are* usable, although there are still a number of language and integration issues to get them working better (e.g. event handler generation from the web designer doesn't work, debugging is broken in certain scenarios). More details will be forthcoming when the V3 Visual Studio 2005 SDK ships (should be any day now). Thanks, Aaron Marten From: [EMAIL PROTECTED] On Behalf Of Charlie Moad Sent: Wednesday, September 13, 2006 5:42 AM To: Discussion of IronPython Subject: Re: [IronPython] .NET attributes I have seen these examples, but my impression was that they are not useable. The generic web site one may be, but I am pretty sure the web service example does not expose any methods as services. On 9/13/06, S H Yoon [EMAIL PROTECTED] wrote: C:\Program Files\Visual Studio 2005SDK\2006.08\VisualStudioIntegration\Samples\IronPythonIntegration\WebSiteProj ect\WebSiteProject.proj Seems like here and below this tree. I see plenty of examples of IPY web including Webservice. Is there a good guide to these? I am compeletly ignorant about ASP.net / Web developement, but I would love learn how via IP. Yes, IP is one hellauba sharp job, Hoon, Charlie Moad [EMAIL PROTECTED] wrote: On 9/13/06, Sanghyeon Seo wrote: What is the expected timeline for support for .NET attributes in IronPython? I know this has probably been brought up before, but I wanted to speak up to maybe put a little more priority behind this. I personally feel limited many times because there isn't attribute support in IP. To my knowledge I can't do relatively simple things like asp.net web services. Also fine grained xml serialization doesn't seem doable as well. If I am wrong, please Please correct me! It could be the fact that most XML related functionality in .Net relies heavily on attributes, but they seem prevalent everywhere. Keep up the great work, Charlie __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import
Title: Re: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import Hi Aude, Yes, there are some breaking changes between some of the classes we used in the VS Integration code and IronPython between the time we shipped the April SDK and IP Beta 7. Our next CTP of the VSSDK (July 2006) will include changes at least up through Beta 7. This will be released in late June / early July. Till then, you can try to tweak the sample to get it all working, and get rid of all the build errors, but youre on your own for this as its unsupported J. Hope that helps! Aaron Marten From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aude Espesset Sent: Friday, June 02, 2006 2:53 PM To: Discussion of IronPython Subject: RE: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import 1)The update didn't go too well. I get the following error: Error1The type or namespace name 'SimpleAstWalker' could not be found (are you missing a using directive or an assembly reference?)C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Samples\IronPythonIntegration\LanguageService\Engine\Locator.cs1828LanguageService 2) For the infinite loop I don't think it is the same case as in the early message. I needto look at it more carefully.. well..on monday. Have a good week-end, Aude From: [EMAIL PROTECTED] on behalf of Dino Viehland Sent: Fri 6/2/2006 2:14 PM To: Discussion of IronPython Subject: Re: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import We're actually not aware of any issues w/ importing... do you have a simple repro, or does it repro w/ the same steps as the previous one for you? To update to beta 7 you should be able to replace the IronPython binaries that ship w/ VSIP. Those typically get deployed to: %ProgramFiles\Visual Studio 2005 SDK\(some date)\VisualStudioIntegration\Common\Assemblies Just replace those, then re-build the IronPython integration sample (%ProgramFiles%\Visual Studio 2005 SDK\(some date)\VisualStudioIntegration\Samples\IronPythonIntegration\) and then the project should be up-to-date and using beta 7. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Aude Espesset Sent: Friday, June 02, 2006 2:00 PM To: users@lists.ironpython.com Subject: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import Hi, I have the april 2006 version of Visual Studio which contains IronPython, but I don't know how to update it to work with beta 7. I'm guessing I should copy the new source code somewhere and rebuild but I don't know where to copy it. My second question is about infinite loops when importing packages. There is an old message regarding this issue: http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2006-March/001884.html Is it still an active bug? One package gives me an infinite loop on import. Should I try to trace back where it falls into an infinite loop or are you aware of this bug and still working on it? Thanks, Aude ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] How to update visual studio for Ironpython beta7 Infinite loop on package import
Title: Re: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import Unfortunately, no. We did not integrate any new changes from the IronPython code base before we released the June CTP. For IronPython.dll in the VSSDK, April == June. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harry Pierson Sent: Friday, June 02, 2006 4:02 PM To: Discussion of IronPython Subject: Re: [IronPython] How to update visual studio for Ironpython beta7 Infinite loop on package import The June CTP of the VSSDK just shipped. Does it have the changes you describe? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Marten Sent: Friday, June 02, 2006 3:18 PM To: Discussion of IronPython Subject: Re: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import Hi Aude, Yes, there are some breaking changes between some of the classes we used in the VS Integration code and IronPython between the time we shipped the April SDK and IP Beta 7. Our next CTP of the VSSDK (July 2006) will include changes at least up through Beta 7. This will be released in late June / early July. Till then, you can try to tweak the sample to get it all working, and get rid of all the build errors, but youre on your own for this as its unsupported J. Hope that helps! Aaron Marten From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aude Espesset Sent: Friday, June 02, 2006 2:53 PM To: Discussion of IronPython Subject: RE: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import 1)The update didn't go too well. I get the following error: Error1The type or namespace name 'SimpleAstWalker' could not be found (are you missing a using directive or an assembly reference?)C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Samples\IronPythonIntegration\LanguageService\Engine\Locator.cs1828LanguageService 2) For the infinite loop I don't think it is the same case as in the early message. I needto look at it more carefully.. well..on monday. Have a good week-end, Aude From: [EMAIL PROTECTED] on behalf of Dino Viehland Sent: Fri 6/2/2006 2:14 PM To: Discussion of IronPython Subject: Re: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import We're actually not aware of any issues w/ importing... do you have a simple repro, or does it repro w/ the same steps as the previous one for you? To update to beta 7 you should be able to replace the IronPython binaries that ship w/ VSIP. Those typically get deployed to: %ProgramFiles\Visual Studio 2005 SDK\(some date)\VisualStudioIntegration\Common\Assemblies Just replace those, then re-build the IronPython integration sample (%ProgramFiles%\Visual Studio 2005 SDK\(some date)\VisualStudioIntegration\Samples\IronPythonIntegration\) and then the project should be up-to-date and using beta 7. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Aude Espesset Sent: Friday, June 02, 2006 2:00 PM To: users@lists.ironpython.com Subject: [IronPython] How to update visual studio for Ironpython beta 7 Infinite loop on package import Hi, I have the april 2006 version of Visual Studio which contains IronPython, but I don't know how to update it to work with beta 7. I'm guessing I should copy the new source code somewhere and rebuild but I don't know where to copy it. My second question is about infinite loops when importing packages. There is an old message regarding this issue: http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2006-March/001884.html Is it still an active bug? One package gives me an infinite loop on import. Should I try to trace back where it falls into an infinite loop or are you aware of this bug and still working on it? Thanks, Aude ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] Visual Studio Integration
No, extensibility (addins VSPackages) is not supported on any of the Visual Studio Express products. Youll need at least VS Standard Edition. Thanks, Aaron Marten From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ernst, Nathan Sent: Friday, February 10, 2006 10:30 AM To: Discussion of IronPython Subject: Re: [IronPython] Visual Studio Integration I apologize if this is covered in the VS SDK docs, but does the ironpython integration work on the express editions of VS? Thanks, Nathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Friday, February 10, 2006 10:55 AM To: Discussion of IronPython Subject: Re: [IronPython] Visual Studio Integration Our VSIP teams SDK includes a sample that integrates IronPython into VS. Aaron Marten has blogged about this here: http://blogs.msdn.com/aaronmar/ - but I dont think its quite as easy as downloading a IronPython Express SKU just yet I also dont know if we have all the niceties you want yet, but it is a start From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Larson Sent: Friday, February 10, 2006 6:46 AM To: Discussion of IronPython Subject: [IronPython] Visual Studio Integration I was curious how/if I can use Visual Studio 2005 with IronPython. I realize that I probably *can* use it of course, but I was wondering about the obvious niceties such as intellisense and code highlighting. Great Stuff! Eric ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] IronPython IDE
Hi Giles, I'm on the Visual Studio SDK team here at Microsoft. In co-operation with the IronPython team, we're currently working on integrating IronPython into Visual Studio as a sample to ship in our SDK. We've just released a CTP with the first version of this here: http://affiliate.vsipmembers.com/downloads/41/UserFileDownload.ashx I also blogged a bit about the Dec CTP release of the Visual Studio SDK here: http://blogs.msdn.com/aaronmar/archive/2005/12/09/502202.aspx Note that right now, the integration code is in an incomplete state, but we do have the beginnings of a project system and language service working. Note that right now, the integration is only available as a preview sample in the Visual Studio SDK, so you'll have to agree to our license to get the code. Thanks! Aaron Marten (Microsoft) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Thomas Sent: Thursday, December 08, 2005 9:34 AM To: Discussion of IronPython Subject: [IronPython] IronPython IDE Hi all, Another question - what are people using to edit/debug IronPython code? My most recent projects have all been with Java using IntelliJ, and I've only just moved over to .NET. I'm told that Visual Studio 2005 is a good IDE - but it appears that it only supports C# and Visual Basic. Right now I'm using TextPad with a Python syntax highlighing configuration file, but if there's anything better out there - or if my understanding wrt VS2005 is wrong - then I'd love to hear about it! Cheers, Giles ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com