Hello I am getting an error the Project file Not getting If Project File written in Japanese. Like Here is my File Path "C:\Users\rmrud\source\Workspaces\Workspace2\HAL9\v3_07\指示せん印刷\指示せん印刷\指示せん印刷.csproj" In this location, csproj file exists. I run a batch file to build this csproj a C# project but I got this error "error MSB1009: Project file does not exist"......
And in the console, I got that C:\Users\rmrud\source\Workspaces\Workspace2\HAL9\v3_07\謖・、コ縺帙s蜊ー蛻キ\謖・、コ縺帙s蜊ー蛻キ\謖・、コ縺帙s蜊ー蛻キ.csproj Here you can see in the batch file what I wrote the file path changed The text has been changed. Here is my batch file code
set rootPath=C:\Users\rmrud\source\Workspaces\Workspace2
set basePath3=%rootPath%\HAL9
set filename=%rootPath%\buildLog\%yyyy%%mm%%dd%%hh%%mm%%ss%.log
set csproj指示せん印刷=%basePath3%\v3_07\指示せん印刷\指示せん印刷\指示せん印刷.csproj
set msbuild_new="C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe"
mkdir %rootPath%\buildLog
@echo %csproj指示せん印刷%
C:
cd C:\
cd %basePath3%
tf get
if errorlevel 1 goto ON_EXIT
dotnet build %csproj指示せん印刷% /t:%buildCmd% /p:Configuration=Release /fl
/flp:logfile=%filename%;verbosity=diagnostic
if errorlevel 1 goto ON_EXIT
I used this batch file code to run this and the main problem is in the varible and line of Batch file "set csproj指示せん印刷=%basePath3%\v3_07\指示せん印刷\指示せん印刷\指示せん印刷.csproj" in the file it changes in runtime as I console it "C:\Users\rmrud\source\Workspaces\Workspace2\HAL9\v3_07\謖・、コ縺帙s蜊ー蛻キ\謖・、コ縺帙s蜊ー蛻キ\謖・、コ縺帙s蜊ー蛻キ.csproj" 2 are different . What operation and settings I have to change. I think it is a unicode related problem . Thanks in advance.