|
69 | 69 | ItemName="BuildVariant"/> |
70 | 70 | </CreateItem> |
71 | 71 |
|
72 | | - <Exec Command="dotnet publish "src/%(BuildVariant.Identity)/%(BuildVariant.ProjectFile)" -f %(BuildVariant.Framework) -c $(Configuration) -p:Platform=%(BuildVariant.Platform) -p:UseAppHost=false -o "$(ArtifactsRoot)/fdd-%(BuildVariant.Suffix)/bin""/> |
| 72 | + <Exec Command="dotnet publish "src/%(BuildVariant.Identity)/%(BuildVariant.ProjectFile)" -f %(BuildVariant.Framework) -c $(Configuration) -p:Platform=%(BuildVariant.Platform) -p:UseAppHost=false -o "$(ArtifactsRoot)/fdd-%(BuildVariant.Suffix)/bin"" UseUtf8Encoding="Always"/> |
73 | 73 |
|
74 | 74 | <PropertyGroup> |
75 | 75 | <CppBinPrefix>$(MSBuildProjectDirectory)/src/ScriptEngine.NativeApi/bin/$(Configuration)</CppBinPrefix> |
|
105 | 105 | <RuntimeID Include="osx-arm64"/> |
106 | 106 | </ItemGroup> |
107 | 107 |
|
108 | | - <Exec Command="dotnet publish "src/oscript/oscript.csproj" -r %(RuntimeID.Identity) --self-contained -c $(Configuration) -o "$(ArtifactsRoot)/%(RuntimeID.Identity)/bin""/> |
| 108 | + <Exec Command="dotnet publish "src/oscript/oscript.csproj" -r %(RuntimeID.Identity) --self-contained -c $(Configuration) -o "$(ArtifactsRoot)/%(RuntimeID.Identity)/bin"" UseUtf8Encoding="Always"/> |
109 | 109 |
|
110 | | - <PropertyGroup> |
| 110 | + <PropertyGroup> |
111 | 111 | <CppBinPrefix>$(MSBuildProjectDirectory)/src/ScriptEngine.NativeApi/bin/$(Configuration)</CppBinPrefix> |
112 | 112 | </PropertyGroup> |
113 | 113 |
|
|
183 | 183 | <Output TaskParameter="FirstItem" PropertyName="Runner"/> |
184 | 184 | </GetFirstItem> |
185 | 185 |
|
186 | | - <Exec Command="dotnet "$(Runner)" "$(MSBuildProjectDirectory)/install/unicode-zipper.os" unpack "$(MSBuildProjectDirectory)/install/opm.ospx" "$(LibDir)/tmp""/> |
187 | | - <Exec Command="dotnet "$(Runner)" "$(MSBuildProjectDirectory)/install/unicode-zipper.os" unpack "$(LibDir)/tmp/content.zip" "$(LibDir)/opm""/> |
| 186 | + <Exec Command="dotnet "$(Runner)" "$(MSBuildProjectDirectory)/install/unicode-zipper.os" unpack "$(MSBuildProjectDirectory)/install/opm.ospx" "$(LibDir)/tmp"" UseUtf8Encoding="Always"/> |
| 187 | + <Exec Command="dotnet "$(Runner)" "$(MSBuildProjectDirectory)/install/unicode-zipper.os" unpack "$(LibDir)/tmp/content.zip" "$(LibDir)/opm"" UseUtf8Encoding="Always"/> |
188 | 188 |
|
189 | 189 | <Copy SourceFiles="$(MSBuildProjectDirectory)\install\package-loader.os" DestinationFolder="$(LibDir)"/> |
190 | 190 | <RemoveDir Directories="$(LibDir)/tmp"/> |
|
206 | 206 | <Exec Command="$(OpmLaunch) install -d "$(LibDir)" %(CoreLibraries.Identity)" |
207 | 207 | IgnoreExitCode="false" |
208 | 208 | EnvironmentVariables="@(ConfigEnv)" |
209 | | - Condition="'$(SkipLibraryDownload)' == ''"/> |
| 209 | + Condition="'$(SkipLibraryDownload)' == ''" |
| 210 | + UseUtf8Encoding="Always"/> |
210 | 211 |
|
211 | 212 | </Target> |
212 | 213 |
|
|
258 | 259 | WorkingDirectory="$(TestsRoot)/%(TestAssemblies.Identity)" |
259 | 260 | Command="dotnet test --logger:"junit;LogFilePath=$(MSBuildProjectDirectory)/tests/%(TestAssemblies.Identity).xml"" |
260 | 261 | IgnoreExitCode="true" |
| 262 | + UseUtf8Encoding="Always" |
261 | 263 | /> |
262 | 264 |
|
263 | 265 | </Target> |
|
278 | 280 | WorkingDirectory="$(MSBuildProjectDirectory)\tests" |
279 | 281 | Command="dotnet "$(Runner)" "$(MSBuildProjectDirectory)\tests\testrunner.os" -runall . xddReportPath ." |
280 | 282 | IgnoreExitCode="true" |
281 | | - ContinueOnError="true"> |
| 283 | + ContinueOnError="true" |
| 284 | + UseUtf8Encoding="Always"> |
282 | 285 | <Output TaskParameter="ExitCode" PropertyName="TestsExitCode"/> |
283 | 286 | </Exec> |
284 | 287 |
|
|
309 | 312 | <Output TaskParameter="FirstItem" PropertyName="Runner"/> |
310 | 313 | </GetFirstItem> |
311 | 314 |
|
312 | | - <Exec Command="dotnet "$(Runner)" "$(MSBuildProjectDirectory)\install\unicode-zipper.os" pack "$(ArtifactsRoot)/%(RuntimeID.Identity)/*" "$(ArtifactsRoot)/OneScript-$(ReleaseNumber)-%(RuntimeID.Identity).zip""/> |
| 315 | + <Exec Command="dotnet "$(Runner)" "$(MSBuildProjectDirectory)\install\unicode-zipper.os" pack "$(ArtifactsRoot)/%(RuntimeID.Identity)/*" "$(ArtifactsRoot)/OneScript-$(ReleaseNumber)-%(RuntimeID.Identity).zip"" UseUtf8Encoding="Always"/> |
313 | 316 | <RemoveDir Directories="$(ArtifactsRoot)/%(RuntimeID.Identity)" /> |
314 | 317 | </Target> |
315 | 318 |
|
|
348 | 351 |
|
349 | 352 | <Error Text="No nuget token (/p:NugetToken=) specified" Condition="'$(NugetToken)' == ''" /> |
350 | 353 | <Exec WorkingDirectory="$(MSBuildProjectDirectory)\built\nuget" |
351 | | - Command="dotnet nuget push %(NugetAbleProject.Identity).$(ReleaseNumber).nupkg -k $(NugetToken) -s https://api.nuget.org/v3/index.json"/> |
| 354 | + Command="dotnet nuget push %(NugetAbleProject.Identity).$(ReleaseNumber).nupkg -k $(NugetToken) -s https://api.nuget.org/v3/index.json" UseUtf8Encoding="Always"/> |
352 | 355 |
|
353 | 356 | </Target> |
354 | 357 |
|
|
0 commit comments