Only it's on xslt files - and it happens when I copy my xslt file to inetpub/site/xslt with robocopy in a VS2010 after build event.
Steps to reproduce
Edit xslt file in VS, copy from development dir to the web site xslt dir
Run page with xslt rendered from macro -> Error in xslt compilation
Open file in Umbraco backend and save
Run page again -> NO error in xslt compilation
Also keeping the deployed file open in Notepad++ I noticed notepad++ reports file as having DOS/Windows line endings and UTF-8 encoding after copying from vs dir, and it changes is to UNIX line endings / ANSI encoding when saving in Umbraco backend. web.config has response/request encoding set to UTF-8. The xslt file has encoding="utf-8" in xml declaration
Compile error on xslt after xcopy deployment
I have a problem resembling this one:
http://our.umbraco.org/forum/templating/templates-and-document-types/12692-Master-page-weirdness-after-xcopy-from-Web-Application-Project
Only it's on xslt files - and it happens when I copy my xslt file to inetpub/site/xslt with robocopy in a VS2010 after build event.
Steps to reproduce
is working on a reply...