You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Computer is Windows8 Chinese Culture。And my VS2010 is Chinese Culture too.
When use the follow command to install nantcontrib, I got an error.
nant -D:nant.dir="C:\Program Files\NAnt" -f:NAntContrib.build install
the error was:
[csc] Compiling 191 files to 'D:\OpenSource\github\nantcontrib\build\nantc
ontrib-debug\bin\NAnt.Contrib.Tasks.dll'.
[csc] d:\OpenSource\github\nantcontrib\src\Tasks\Mks\History.cs(156,57): e
rror CS1010: 常量中有换行符
[csc] d:\OpenSource\github\nantcontrib\src\Tasks\Mks\History.cs(164,67): e
rror CS1010: 常量中有换行符
BUILD FAILED
when I try other codepage, the error was the same.
nant -D:nant.dir="C:\Program Files\NAnt" -D:codepage=20106 -f:NAntContrib.build install
which codepage should I use?
The text was updated successfully, but these errors were encountered:
You can copy code from github webpage by view as raw, and save as UTF-8.
It works for me. (And I think when later you commit it as UTF-8, it will prevent similar problem from happening again.)
My Computer is Windows8 Chinese Culture。And my VS2010 is Chinese Culture too.
When use the follow command to install nantcontrib, I got an error.
nant -D:nant.dir="C:\Program Files\NAnt" -f:NAntContrib.build install
the error was:
[csc] Compiling 191 files to 'D:\OpenSource\github\nantcontrib\build\nantc
ontrib-debug\bin\NAnt.Contrib.Tasks.dll'.
[csc] d:\OpenSource\github\nantcontrib\src\Tasks\Mks\History.cs(156,57): e
rror CS1010: 常量中有换行符
[csc] d:\OpenSource\github\nantcontrib\src\Tasks\Mks\History.cs(164,67): e
rror CS1010: 常量中有换行符
BUILD FAILED
when I try other codepage, the error was the same.
nant -D:nant.dir="C:\Program Files\NAnt" -D:codepage=20106 -f:NAntContrib.build install
which codepage should I use?
The text was updated successfully, but these errors were encountered: