Skip to content

Which codepage the code used? #19

@srw962

Description

@srw962

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions