Friday, May 25, 2018

Powershell WPF Application

I have a xaml UI which in background does some powershell operations. I am just starting to do this, but i am not able to run the application with the default template itself. It runs in IE(Windows Presentation Host) by default, and throws this error. Please Help.

Startup URI: C:\Users\BizTalk360\source\repos\PowershellApplication\PowerShellProject1\WpfWindow1.xaml Application Identity: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. 

https://i.redd.it/emc8zqu2myz01.jpg

https://i.redd.it/skaf7vi3myz01.jpg

Powershell WPF Application Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team