Closed tchuan closed 6 years ago
@tchuan Can you please specify the detail compilation error you are running into? I can build it clean on my machine. Please note that it requires VS2017 installation for ODataConnectedService.
@biaol-odata I installed the latest version on my VS2017. Here is how to reproduce.
`Error Compiling transformation: The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. ConsoleApp1 Reference.tt 586
Error Compiling transformation: The type 'XmlReader' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml.ReaderWriter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. ConsoleApp1 Reference.tt 589
Error Compiling transformation: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. ConsoleApp1 Reference.tt 589
Error Compiling transformation: Operator '!=' cannot be applied to operands of type 'method group' and '
Error Compiling transformation: The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. ConsoleApp1 Reference.tt 1220
Error Compiling transformation: foreach statement cannot operate on variables of type 'IEnumerable
Error Compiling transformation: foreach statement cannot operate on variables of type 'IEnumerable
Error Compiling transformation: foreach statement cannot operate on variables of type 'IEnumerable
Error Compiling transformation: Operator '==' cannot be applied to operands of type 'method group' and 'string' ConsoleApp1 Reference.tt 2066
Error Compiling transformation: foreach statement cannot operate on variables of type '?' because '?' does not contain a public definition for 'GetEnumerator' ConsoleApp1 Reference.tt 2077
Error Compiling transformation: Argument 1: cannot convert from 'System.Globalization.CultureInfo' to 'string' ConsoleApp1 Reference.tt 2456
`
Add missing references. Fix compilation error.