Hi Chris, I just install the Visual Studio 12 that comes with the Visual Cobol installation. Yes I have both product in my machine: VC for Visual Studio 12 and VC for Eclipse. I installed the Eclipse version when the problem appeared with Visual Studio. I tried to open WINBook sample. The solution explorer shows all the content but when I click to open BookException.cbl an exception error (attached) is shown. ActivityLog.xml show this error: entry record 302 /record time 2014/02/28 21:54:43.727 /time type Error /type source Editor or Editor Extension /source description System.TypeInitializationException: The type initializer for 'MicroFocus.COBOL.Services.CobolServicesFactory' threw an exception. --- System.TypeLoadException: Method 'Message' in type 'MicroFocus.COBOL.Services.Implementations.ParseHarvester' from assembly 'MicroFocus.COBOL.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0412c5e0b2aaa8f0' does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at MicroFocus.COBOL.Runtime.Common.ReflectionUtils.GetExportedTypes(Assembly assembly)
at MicroFocus.COBOL.Runtime.Common.LoadedAssembly..ctor(Assembly assembly)
at MicroFocus.COBOL.Runtime.Common.Global.RegisterAssembly(Assembly assembly)
at MicroFocus.COBOL.Program.Control.Init(RuntimeTypeHandle rth)
at MicroFocus.COBOL.Services.CobolServicesFactory..cctor()
--- End of inner exception stack trace ---
at MicroFocus.COBOL.Services.CobolServicesFactory.CreateServices(IProject project)
at MicroFocus.COBOL.Editor.ProjectManagement.CblPrjProject..ctor(IVsHierarchy hier)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.ConstructProjectRealization(IVsHierarchy item, UInt32 itemid)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.ConstructProjectMap(IVsHierarchy hier, UInt32 itemid)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.GetProjectForHierarchy(IVsHierarchy hier, UInt32 itemid)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.GetProjectForBuffer(IVsTextLines buffer)
at MicroFocus.COBOL.Editor.Extensions.WpfEditorExtensions.GetProject(ITextView textView)
at MicroFocus.COBOL.Editor.Mef.SmartTags.ImplementsSmartTaggerProvider.CreateTagger[T](ITextView textView, ITextBuffer buffer)
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer) /description /entry entry record 303 /record time 2014/02/28 21:54:44.038 /time type Error /type source Editor or Editor Extension /source description System.TypeInitializationException: The type initializer for 'MicroFocus.COBOL.Services.CobolServicesFactory' threw an exception. --- System.TypeLoadException: Method 'Message' in type 'MicroFocus.COBOL.Services.Implementations.ParseHarvester' from assembly 'MicroFocus.COBOL.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0412c5e0b2aaa8f0' does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at MicroFocus.COBOL.Runtime.Common.ReflectionUtils.GetExportedTypes(Assembly assembly)
at MicroFocus.COBOL.Runtime.Common.LoadedAssembly..ctor(Assembly assembly)
at MicroFocus.COBOL.Runtime.Common.Global.RegisterAssembly(Assembly assembly)
at MicroFocus.COBOL.Program.Control.Init(RuntimeTypeHandle rth)
at MicroFocus.COBOL.Services.CobolServicesFactory..cctor()
--- End of inner exception stack trace ---
at MicroFocus.COBOL.Services.CobolServicesFactory.CreateServices(IProject project)
at MicroFocus.COBOL.Editor.ProjectManagement.CblPrjProject..ctor(IVsHierarchy hier)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.ConstructProjectRealization(IVsHierarchy item, UInt32 itemid)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.ConstructProjectMap(IVsHierarchy hier, UInt32 itemid)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.GetProjectForHierarchy(IVsHierarchy hier, UInt32 itemid)
at MicroFocus.COBOL.Editor.ProjectManagement.ProjectManager.GetProjectForBuffer(IVsTextLines buffer)
at MicroFocus.COBOL.Editor.Extensions.WpfEditorExtensions.GetProject(ITextView textView)
at MicroFocus.COBOL.Editor.Mef.SmartTags.NamespaceSmartTag.NamespaceSmartTaggerProvider.CreateTagger[T](ITextView textView, ITextBuffer buffer)
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer) /description /entry Regards, Juan Urraburu
↧