HTML Template Debugger for Visual Studio Troubleshooting

Good afternoon all - I have wanted to get the html template debugger up and running for many months now, and I finally bit the bullet and got it all set up by following the step-by-step - it was so very exciting! https://community.tessituranetwork.com/tessitura_software_forums/f/agile_software_development-forum/24968/html-template-debugging-in-visual-studio?_ga=2.249399495.1140159154.1698706072-272567878.1683579197

or https://bitbucket.org/TN_WebShare/template-debugger/src/master/

However, I got it to render the Example template once, and then I started to get this error: A local or parameter named 'objRestResponse' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter

 

I've googled this error of course and am finding lots of responses, and I have half-heartedly tried to fiddle with the parameter names, but of course I didn't make any progress, plus it doesn't really seem to me like the parameter names  are the real problem here. Is there anyone here who might have insight on this error - either if there is some Visual Studio thing that I'm totally missing, or if the solution needs to be updated, or something else? I've tried a few things that didn't work (but gave different errors!) but I will just leave it at that so as not to bloat this posting unnecessarily.

Thank you so much!

  • I'm going to reply to my own post, haha. I guess my error did have to do with variables that had the same name. In the OrderConfirmationController, I changed the variable on line 93 (objRestResponse) to something else, and that seemed to fix it. The Controller will now render the example templates with our data in a browser window.