I use CAKE 0.21.1.0.
In my CAKE script, I added the following directive:
#r @"\\hostName\Folder1\Folder2\Folder3\Folder4\Some.Local.Project.dll"
When running the script, I see this error:
As far as I can see, there is no difference between what I am doing and what the CAKE documentation recommends.
I know that the #r
directive is the cause of the error, because everything runs fine after I comment out that line as well as all those lines that call its library methods.
How can I fix this error?
Drop the @
sign, and use forward slashes.