Reputation: 1052
y solution contains a Visual Studio extension. It includes two projects whose assemblies are signed at build time, which is managed by a centralized build server.
When I right-click on the server-built assemblies for these two projects and view the "Details" tab, the copy right text shows: Copyright (?) CompanyName 2012. The "(?)" is a question mark inside a black diamond. It is supposed to be a copyright character, ©.
The other server-built assemblies in the solution do not have this issue. Also, the same exact assemblies built locally in the bin/Debug folders do not have this issue.
Why is the server-built version different? Appreciate any suggestion. Thank you!
Upvotes: 1
Views: 1205
Reputation: 7493
It sounds like the compiler used on the server isn't interpreting non-ASCII characters in the source code correctly. Visual Studio 2010's compiler, csc.exe, has a /codepage parameter that you can use to specify the encoding. This is also available in MSBuild as CodePage
.
Upvotes: 1