I tried to create an exact mirror of the video tutorial at and keep getting this error:
"c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\598dc0c0\4bfd0868\AppWebstackedpromoitem.cshtml.353447c8.7eh-o1g0.0.cs(35): error CS1056: Unexpected character '€'"
I've cleared everything out and also tried creating other custom things and get the same error. Anyone else experiencing this?
Yep just got it. Getting it on any newly created 'Leblender editor' grid editors. My previous grid editors are all working. Definitely not an error in my template.
Any ideas anyone?
d:\local\Temporary ASP.NET Files\root\92873ea1\f565ecd8\App_Web_industrycontainer.cshtml.353447c8.gqnaq_g1.0.cs(35): error CS1056: Unexpected character '€'
Just updated my code some and the issue happens when the foreach loop is introduced. Will keep digging, but if anyone else has run in to this and knows where to look it would be appreciated!
Upon further investigation, it looks like it could be something in the plugin where extra characters are being added? In the screenshot attached, my value for Title is "This is a sample title." However, it's being rendered in the grid and on the front end as:
This is a sample title.​
I do have an image in the editor which is where I get the error about the character:
€
I've got a solution, if I type out all of the code in the template it works. However if I copy + paste (working) code I get the error.
Really not sure why it is doing that, as I have pasted in code in my other templates before. I don't think it's an IDE issue as the same error occurred on dreamweaver + visual studio online.
Great catch Henry! Definitely strange that I can't copy the same code out of another cshtml file and paste it in, but as long as it's working I'll take it!
Error CS1056: Unexpected character '€'
I tried to create an exact mirror of the video tutorial at and keep getting this error:
"c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\598dc0c0\4bfd0868\AppWebstackedpromoitem.cshtml.353447c8.7eh-o1g0.0.cs(35): error CS1056: Unexpected character '€'"
I've cleared everything out and also tried creating other custom things and get the same error. Anyone else experiencing this?
Yep just got it. Getting it on any newly created 'Leblender editor' grid editors. My previous grid editors are all working. Definitely not an error in my template.
Any ideas anyone?
Apologies, think it is a template issue, but not sure how to solve it.
in my template IndustryContainer.cshtml standard html works fine
<p>Hello World</p>
but this:
gives me the error
Just updated my code some and the issue happens when the foreach loop is introduced. Will keep digging, but if anyone else has run in to this and knows where to look it would be appreciated!
Upon further investigation, it looks like it could be something in the plugin where extra characters are being added? In the screenshot attached, my value for Title is "This is a sample title." However, it's being rendered in the grid and on the front end as:
I do have an image in the editor which is where I get the error about the character: €
When I remove this I don't get the cs1056 error. If extra characters are being added, where can this be removed?
Strange, even having:
throws up the error for me.
I've tried uninstalling and reinstalling Leblender but no luck there. Like I said my other 'Leblender Editor' gird editors are all still working fine.
Feels like I'm hitting my head against a brick wall here!
I've got a solution, if I type out all of the code in the template it works. However if I copy + paste (working) code I get the error.
Really not sure why it is doing that, as I have pasted in code in my other templates before. I don't think it's an IDE issue as the same error occurred on dreamweaver + visual studio online.
Anyway hope it works for you.
Great catch Henry! Definitely strange that I can't copy the same code out of another cshtml file and paste it in, but as long as it's working I'll take it!
is working on a reply...