Compilation Errors Caused by Chinese Characters in csproj Files

2023年11月23日 60点热度 0人点赞 0条评论
内容目录

A project contains Chinese string directory paths, which causes compilation errors when invoking PowerShell in Jenkins.

Attempts to set environment variables or use the chcp command have been ineffective. This is because the default csproj is saved with utf8-bom encoding.

This feature can lead to normal operation in the local development environment, but compilation fails on the server.

file

The files need to be resaved with proper utf8 encoding.

file

痴者工良

高级程序员劝退师

文章评论