Open Lunat1k opened 13 years ago
Good point!
All I use form .NET 4.0 is the DataAnnotations for object validation. If I re-write that it should run fine on .NET 3.5. I'll have a look at it during the summer.
I can understand the use of DataAnnotations as I use them all the time in my work projects. Which is why I figured I would share this info in case anyone else decides to load the assembly directly into powershell to cut down on load times. With the workaround it actually works just great.
I was also reading that powershell 3 will support 4.0 by default. However from my understanding it's not going to be released until Windows 8 gets released.
This is a known issue with building .NET 4.0 libraries and using powershell. This issue is more of an FYI than a problem. I have done the following workaround but it is something you should consider as the other prowl.net library is currently supported for Powershell without recompiling the assembly or editing the config files.
Details http://connect.microsoft.com/PowerShell/feedback/details/525435/net-4-0-assemblies-and-powershell-v2#