{"action":"opened","issue":{"url":"https://api.github.com/repos/adamabdelhamed/PowerArgs/issues/95","repository_url":"https://api.github.com/repos/adamabdelhamed/PowerArgs","labels_url":"https://api.github.com/repos/adamabdelhamed/PowerArgs/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/adamabdelhamed/PowerArgs/issues/95/comments","events_url":"https://api.github.com/repos/adamabdelhamed/PowerArgs/issues/95/events","html_url":"https://github.com/adamabdelhamed/PowerArgs/issues/95","id":162445038,"number":95,"title":"Cannot compile for .NET Framework 4.0","user":{"login":"isolaol","id":3594554,"avatar_url":"https://avatars.githubusercontent.com/u/3594554?v=3","gravatar_id":"","url":"https://api.github.com/users/isolaol","html_url":"https://github.com/isolaol","followers_url":"https://api.github.com/users/isolaol/followers","following_url":"https://api.github.com/users/isolaol/following{/other_user}","gists_url":"https://api.github.com/users/isolaol/gists{/gist_id}","starred_url":"https://api.github.com/users/isolaol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isolaol/subscriptions","organizations_url":"https://api.github.com/users/isolaol/orgs","repos_url":"https://api.github.com/users/isolaol/repos","events_url":"https://api.github.com/users/isolaol/events{/privacy}","received_events_url":"https://api.github.com/users/isolaol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-27T12:54:25Z","updated_at":"2016-06-27T12:54:25Z","closed_at":null,"body":"Hi,\r\n\r\nUnfortunately I am still on Microsoft .NET Framework 4.0. Anyhow I'd like to benefit from the latest and greatest PowerArgs version. I downloaded the sources and modified the project to get NET40 build. Unluckily, the project uses some 4.5 features which prevents compilation to 4.0.\r\n\r\nWould you be willing to port the project back to 4.0? The list of compilation errors are:\r\n\r\n```\r\nFile                                                      Line\tCode    Description\r\nPowerArgs\\CLI\\Observability\\ObservableObject.cs             60  CS0246  The type or namespace name 'CallerMemberName' could not be found (are you missing a using directive or an assembly reference?)\r\nPowerArgs\\CLI\\Controls\\ConsolePanel.cs                      10  CS0246  The type or namespace name 'IReadOnlyCollection<ConsoleControl>' could not be found (are you missing a using directive or an assembly reference?)\r\nPowerArgs\\CLI\\Data\\CollectionDataView.cs                    11  CS0246  The type or namespace name 'IReadOnlyList<object>' could not be found (are you missing a using directive or an assembly reference?)\r\nPowerArgs\\CLI\\Observability\\ObservableObject.cs             41  CS0246  The type or namespace name 'CallerMemberName' could not be found (are you missing a using directive or an assembly reference?)\r\nPowerArgs\\CLI\\Pages\\Page.cs                                 10  CS0246  The type or namespace name 'ReadOnlyDictionary<string,string>' could not be found (are you missing a using directive or an assembly reference?)\r\nPowerArgs\\ArgDefinition\\CommandLineArgument.cs             559  CS0103  The name 'ExceptionDispatchInfo' does not exist in the current context\r\nPowerArgs\\ArgDefinition\\CommandLineArgumentsDefinition.cs  668  CS0103  The name 'ExceptionDispatchInfo' does not exist in the current context\r\nPowerArgs\\CLI\\Controls\\Grid-View.cs                         73  CS1579  foreach statement cannot operate on variables of type 'IReadOnlyList<object>' because 'IReadOnlyList<object>' does not contain a public definition for 'GetEnumerator'\r\nPowerArgs\\CLI\\Controls\\Grid-ViewModel.cs                    28  CS1501  No overload for method 'GetValue' takes 1 arguments\r\nPowerArgs\\CLI\\Data\\MemoryDataSource.cs                      57  CS1501  No overload for method 'GetValue' takes 1 arguments\r\nPowerArgs\\CLI\\Data\\MemoryDataSource.cs                      61  CS1501  No overload for method 'GetValue' takes 1 arguments\r\nPowerArgs\\CLI\\Data\\MemoryDataSource.cs                      68  CS1501  No overload for method 'GetValue' takes 1 arguments\r\nPowerArgs\\CLI\\Data\\MemoryDataSource.cs                      72  CS1501  No overload for method 'GetValue' takes 1 arguments\r\nPowerArgs\\CLI\\Data\\MemoryDataSource.cs                      94  CS1501  No overload for method 'GetValue' takes 1 arguments\r\nPowerArgs\\CLI\\Pages\\PageStack.cs                           219  CS0246  The type or namespace name 'ReadOnlyDictionary<string, string>' could not be found (are you missing a using directive or an assembly reference?)\r\nPowerArgs\\CLI\\Pages\\PageStack.cs                           290  CS0246  The type or namespace name 'ReadOnlyDictionary<string, string>' could not be found (are you missing a using directive or an assembly reference?)\r\nPowerArgs\\CLI\\Profiling\\CliProfiler.cs                      64  CS1501  No overload for method 'GetValue' takes 1 arguments\r\nPowerArgs\\Extensions\\Object.cs                              31  CS0103  The name 'ExceptionDispatchInfo' does not exist in the current context\r\nPowerArgs\\HelperTypesPublic\\ArgAction.cs                   130  CS0103  The name 'ExceptionDispatchInfo' does not exist in the current context\r\nPowerArgs\\HelperTypesPublic\\ArgAction.cs                   135  CS0103  The name 'ExceptionDispatchInfo' does not exist in the current context\r\nPowerArgs\\Hooks\\ArgHook.cs                                 148  CS0103  The name 'ExceptionDispatchInfo' does not exist in the current context\r\nPowerArgs\\Hooks\\ArgPipeline\\ExternalPipelineProvider.cs     94  CS0103  The name 'ExceptionDispatchInfo' does not exist in the current context\r\n```\r\nI agree if this sounds a little bit sour...\r\n\r\n\r\nRegards,\r\nOlli-Pekka Isola\r\n"}}
{"actor":{"display_login":"isolaol"}}