You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Scott Inglis (JIRA)" <ji...@apache.org> on 2017/09/25 18:21:00 UTC

[jira] [Created] (REEF-1893) Avro Custom Task needs to be moved to a class for BridgeCLR project

Scott Inglis created REEF-1893:
----------------------------------

             Summary: Avro Custom Task needs to be moved to a class for BridgeCLR project
                 Key: REEF-1893
                 URL: https://issues.apache.org/jira/browse/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
(v6.4.14#64029)