views:

59

answers:

1

I am working on providers and cmdlets for Powershell 1 & 2.

Which version(s) of the framework should I target for my extensions?

I assume Microsoft.NET 2 will work fine. What about 3.0 and 3.5? Microsoft.NET 4.0?

+5  A: 

It demands 2.0, but .NET 3.0 and 3.5 still share the CLI version, so if 2.0 works, 3.0 and 3.5 should be fine if the machine has them installed; there are lots of examples of, for example, WCF (3.0) with powershell. Harder to tell on 4.0 since it isn't RTM.

Marc Gravell
That's kind of what I thought. Powershell seemed to behave this way. I just couldn't find any documentation on it. Thanks!
Peter Stephens