We have been implementing an upgrade from Visual COBOL 2.3.2 to COBOL 8.6 and have been utilizing it within our development environment from Visual Studio. We have now moved to our TFS server which is 14.114.26403.0 (Tfs2015.Update4) running on Windows Server 2016 Datacenter.
Initially our TFS build was failing due to the missing COBOL version in our project files however after this was updated, we received errors relating to the MicroFocus.COBOL.CurrentVersion.targets. The first issue was with the same version error, however after fixing the version configuration in the targets file we are running into more issues with the builds. Before I go modifying anything else to have this working, I'd like to ensure I am going along the right path.
What I have done so far:
- Created an offline Visual Studio 2019 Enterprise layout with all of the required packages. Installed Visual Studio 2019 Enterprise
- Performed all of the steps in https://www.microfocus.com/documentation/visual-cobol/vc80/VS2019/GUID-F27673CD-0800-4A75-9074-D832CA3E1FA3.html including registering the certificates.
- Applied all PU's up to 6 (As this is what had been tested previously with Visual Studio)
- Added the COBOL version to the runtime in all COBOL project files.
- Performed successful compiles within Visual Studio 2019 on the server.
- The following reference in MicroFocus.COBOL.CurrentVersion.targets was updated to:
<ItemGroup Condition="'$(DisableImplicitCOBOLRuntime)' != 'true' and '$(DisableImplicitFrameworkReferences)' != 'true' and ('$(TargetFrameworkIdentifier)' == '.NETStandard' or '$(TargetFrameworkIdentifier)' == '.NETCoreApp')"> <PackageReference Include="MicroFocus.COBOL.Runtime, Version=8000.6.0.85, IsImplicitlyDefined=true" /> </ItemGroup>
From what I can tell the version of MicroFocus.COBOL.CurrentVersion.targets is outdated and requires updates.
Any assistance would be greatly appreciated.