Open Bodekaer opened 9 years ago
Function
is generated by 'T4' which is/was Visual Studio's templating language. I am assuming you're using a Visual Studio without T4 so you may have to download it here: https://www.nuget.org/packages/T4/
Although t4 is installed, the error still persist. When i run the custom tool manually, the error indicates t4 script cannot find the xml file given on 7th line. So i updated that line and successfully built.
By the way the nuget package you refer is not the t4 executables i suppose. Only some db templates.
Hi, for me have solved the problem ! Change the .Net Framework to 4.5.1...
jb
I have tried to build this in vs 2010 and vs2015 with T4 NUGET'ed in as well as updated the version to 4.5.1, but still I am receiving the error relating to 'Function'.
Can anyone send me there setup completed and working? Is this a path related issue for the XML file?
+1 - not compiling in .NET 4.5.1 & VS 2015. Apparently using the T4Toolbox is an option, but I can't figure out how to use it. Apparently adding some directives to the top of AsanaFunctions.tt will help, but I've tried each of the below as suggested in various Stack Overflow articles but with no luck:
<#@ assembly name="$(TargetPath)" #> <#@ VolatileAssembly processor="T4Toolbox.VolatileAssemblyProcessor" Name="AsanaNet.dll"#>
This issue is now published on WorksHub. If you would like to work on this issue you can start work on the WorksHub Issue Details page.
When I pull the latest version, I get:
The type or namespace name 'Function' could not be found (are you missing a using directive or an assembly reference?)
in\AsanaFunction.cs 10
https://github.com/acron0/AsanaNet/blob/master/AsanaNet/AsanaFunction.cs#L22
Is
Function
a missing class somehow, or is it just supposed to reference a standard .NET class? I'm using .NET 4.5.