I've just updated DIS to 2.39.1.21 and when trying to open the C# code of an automationscript (by clicking the icon to the left of the <Exe type="csharp">-tag), visual studio throws
System.UnauthorizedAccessException:
Message="Access to the path 'Internal\Code Analysis' is denied."
Source="mscorlib"
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Skyline.VSX.ProtocolEditor.Solution.Projects.ProjectFactory.CopyCodeAnalysisFilesToSolution(CodeAnalysisInfo analysisInfo)
at Skyline.VSX.ProtocolEditor.Solution.Projects.ProjectFactory.GenerateProject(ProjectCreateInfo info)
at Skyline.VSX.ProtocolEditor.Automation.AutomationScriptProjectFactory.GenerateLibraryProject()
at Skyline.VSX.ProtocolEditor.Automation.AutomationScriptProjectFactory.GetOrCreateProject(AutomationDocument document, ScriptExe script, IList`1 allScripts)
at Skyline.VSX.ProtocolEditor.Automation.AutomationScriptEditorHelper.OpenAutomationAction(AutomationDocument document, ScriptExe script, Boolean buildProject, Boolean openInEditor)
at Skyline.VSX.ProtocolEditor.Tagging.Adornments.XmlAutomationTagAdornment.<>c__DisplayClass18_0.<OpenAutomationScriptAction>b__1()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Hi Robin
This issue has in the meantime already been fixed. Today we released DIS 2.39.1.26 that has that fix included.
Well that was convenient! Thank you Michiel, will update now.