"Unable to compile template: 4uqjvolp.0oz(5,186): error CS0103: The name 'DateTime' does not exist in the current context" #119
Answered
by
americanslon
americanslon
asked this question in
Q&A
-
Here is the template
Here is the compilation code
When the engine tries to compile I get What am I missing? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
americanslon
Sep 20, 2022
Replies: 1 comment 3 replies
-
Pull my hair for two hours, post here and literally 5 minutes later get an idea for something to try and it turns out to be the problem, For the next weary traveler Code from the imported assemblies has to be fully qualified
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
americanslon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pull my hair for two hours, post here and literally 5 minutes later get an idea for something to try and it turns out to be the problem,
For the next weary traveler
Code from the imported assemblies has to be fully qualified
DateTime (proof assembly import working): @DateTime.Now
to
DateTime (proof assembly import working): @System.DateTime.Now