Skip to main content
Dominique Sacre
Rocketeer
Sep 25, 2019 9:15 PM UTC

Error after Visual Studio Community 2019 updated to version 16.3

Has anyone experienced this error and know how to correct the problem?  It was working fine yesterday before the update occured.  I uninstalled/reinstalled Visual COBOL Personal Edition to no avail.

The "MicroFocus.Cobol.BuildTasks.Cobol" task could not be loaded from the assembly C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Micro Focus\\Visual COBOL\\v1.0\\MicroFocus.COBOL.BuildTasks.dll. Method 'get_SourceFileExtension' in type 'MicroFocus.COBOL.BuildTasks.CreateCobolManifestResourceName' from assembly 'MicroFocus.COBOL.BuildTasks, Version=16.0.0.0, Culture=neutral, PublicKeyToken=0412c5e0b2aaa8f0' does not have an implementation. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

    14 replies

    Chris Glazier
    Moderator
    May 19, 2020 12:38 AM UTC

    The link:  Page not found.

    Can you open up any of the projects in the Samples Browser? Navigate to the Windows Start Menu-->Micro Focus Visual COBOL and select Samples. Select "Classic" in the left hand window and then "ADIS Demo" on the right side and open the sample in Visual Studio. 

    Does this work?

     

    Dominique Sacre
    Rocketeer
    May 19, 2020 2:35 AM UTC

    Can you open up any of the projects in the Samples Browser? Navigate to the Windows Start Menu-->Micro Focus Visual COBOL and select Samples. Select "Classic" in the left hand window and then "ADIS Demo" on the right side and open the sample in Visual Studio. 

    Does this work?

     

    No -- that didn't work.

    First I get a prompt for the license (but since I have a trial version, I just clicked "close" on that, without entering any license info).  Then I get the "cannot load" error beneath the project name in the project explorer.

    See attached.

    Thanks,
    JoJo

     

    Chris Glazier
    Moderator
    May 19, 2020 5:19 AM UTC

    No -- that didn't work.

    First I get a prompt for the license (but since I have a trial version, I just clicked "close" on that, without entering any license info).  Then I get the "cannot load" error beneath the project name in the project explorer.

    See attached.

    Thanks,
    JoJo

     

    The product still needs to be licensed. Check the box that says you want to license the Personal Edition free product and then fill in the fields where prompted with your email address to activate the license.

    It should then work.

    Dominique Sacre
    Rocketeer
    May 19, 2020 5:44 AM UTC

    The product still needs to be licensed. Check the box that says you want to license the Personal Edition free product and then fill in the fields where prompted with your email address to activate the license.

    It should then work.

    WAHOO!!!  That was it -- thank you so much!!!

     

    Cheers,

    JoJo