reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Inglis (JIRA)" <>
Subject [jira] [Created] (REEF-1893) Avro Custom Task needs to be moved to a class for BridgeCLR project
Date Mon, 25 Sep 2017 18:21:00 GMT
Scott Inglis created REEF-1893:

             Summary: Avro Custom Task needs to be moved to a class for BridgeCLR project
                 Key: REEF-1893
             Project: REEF
          Issue Type: Sub-task
            Reporter: Scott Inglis
            Priority: Minor

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]

This message was sent by Atlassian JIRA

View raw message