Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-334 Make sure REEF.NET builds and runs on Linux
  3. REEF-1893

Avro Custom Task needs to be moved to a class for BridgeCLR project

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • REEF.NET
    • None

    Description

      We are using a custom code that is embedded in the csproj file to generate the C# classes from avro schema files. With dotnet build - msbuild outputs an error saying that CustomCodeTask is not supported, with the error below. Per the message, if this code is moved to a class and compiled to a binary, it sounds like it would work. This item is to investigate and do this work to see if its supported.

      Here is the error:

      C:\source\dev\reef\lang\cs\AvroCodeGeneration.targets(156,5): error MSB4036: The "AvscToCSharp" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files\dotnet\sdk\2.0.0" directory. [C:\source\dev\reef\lang\cs\Org.Apache.REEF.Bridge.CLR\Org.Apache.REEF.Bridge.CLR.DotNet.csproj]
      

      Attachments

        Issue Links

          Activity

            People

              singlis Scott Inglis
              singlis Scott Inglis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified