{"action":"opened","issue":{"url":"https://api.github.com/repos/OctopusDeploy/Library/issues/232","labels_url":"https://api.github.com/repos/OctopusDeploy/Library/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/OctopusDeploy/Library/issues/232/comments","events_url":"https://api.github.com/repos/OctopusDeploy/Library/issues/232/events","html_url":"https://github.com/OctopusDeploy/Library/issues/232","id":112472761,"number":232,"title":"Variables - Substitute in Files","user":{"login":"shadab12","id":15221774,"avatar_url":"https://avatars.githubusercontent.com/u/15221774?v=3","gravatar_id":"","url":"https://api.github.com/users/shadab12","html_url":"https://github.com/shadab12","followers_url":"https://api.github.com/users/shadab12/followers","following_url":"https://api.github.com/users/shadab12/following{/other_user}","gists_url":"https://api.github.com/users/shadab12/gists{/gist_id}","starred_url":"https://api.github.com/users/shadab12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadab12/subscriptions","organizations_url":"https://api.github.com/users/shadab12/orgs","repos_url":"https://api.github.com/users/shadab12/repos","events_url":"https://api.github.com/users/shadab12/events{/privacy}","received_events_url":"https://api.github.com/users/shadab12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T22:24:35Z","updated_at":"2015-10-20T22:24:35Z","closed_at":null,"body":"Hi,\r\nWe using Octopus version 2.6.5.1010, and in the C:\\Octopus\\Applications\\.SQ-TWSYDSV633-1FF6A2BC\\Octopus.Tentacle\\2.6.5.1010\\Octopus.Platform.dll' I can see the Octopus.Platform.dll but I'm getting the below error. Can anyone help?\r\n\r\nAdd-Type : Could not load file or assembly 'file:///C:\\Octopus\\Applications\\.SQ-TWSYDSV633-1FF6A2BC\\Octopus.Tentacle\\2.6.5.1010\\Octopus.Platform.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.\r\n\r\nAt C:\\Users\\sabiztalkdev\\AppData\\Local\\Tentacle\\Temp\\a8924e8f-3e75-474e-aea8-42\r\n\r\n+ Add-Type <<<<  -Path ($OctopusParameters['Octopus.Tentacle.Agent.ProgramDirecoryPath'] + \"\\Octopus.Platform.dll\")\r\n    + CategoryInfo          : NotSpecified: (:) [Add-Type], BadImageFormatException\r\n\r\n\r\n    + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.AddTypeCommand\r\n\r\nInfo    09:09:04\r\n==============================================\r\nPowerShell exit code: 1\r\n==============================================\r\n\r\nFatal    09:09:04\r\nPowerShell script returned a non-zero exit code: 1\r\nTentacle version 2.6.5.1010\r\n"}}