Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
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
- Parent Feature
-
REEF-2006 CodeTasks in csproj files need to be converted to Roslyn Code Tasks
- Open