reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Inglis (JIRA)" <>
Subject [jira] [Resolved] (REEF-1893) Avro Custom Task needs to be moved to a class for BridgeCLR project
Date Thu, 10 May 2018 22:25:00 GMT


Scott Inglis resolved REEF-1893.
    Resolution: Duplicate

This is now being tracked through the task to move all custom code tasks to rosalyn code tasks.

> Avro Custom Task needs to be moved to a class for BridgeCLR project
> -------------------------------------------------------------------
>                 Key: REEF-1893
>                 URL:
>             Project: REEF
>          Issue Type: Sub-task
>          Components: REEF.NET
>            Reporter: Scott Inglis
>            Assignee: Scott Inglis
>            Priority: Minor
>   Original Estimate: 72h
>  Remaining Estimate: 72h
> 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:
> {code:none}
> 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]
> {code}

This message was sent by Atlassian JIRA

View raw message