Closed Braini01 closed 4 years ago
Duplicate of #8
Getting build error in Azure Devops pipeline using ResizetizerNT(resizetizer.nt 0.2.0) in Xamarin.Android project.
PFB log details-
2021-03-02T04:40:33.8764351Z Compiling Xaml, assembly: obj\Debug\netstandard2.0\OT.dll 2021-03-02T04:40:44.4794755Z Creating "obj\Debug\netstandard2.0\XamlC.stamp" because "AlwaysCreate" was specified. 2021-03-02T04:40:44.5470152Z _CopyAppConfigFile: 2021-03-02T04:40:44.5471132Z Copying file from "D:\a\1\s\src\OTobj\Debug\netstandard2.0\OT.csproj.App.config" to "D:\a\1\b\Debug\OT.dll.config". 2021-03-02T04:40:45.2160675Z CopyFilesToOutputDirectory: 2021-03-02T04:40:45.2162628Z Copying file from "D:\a\1\s\src\OT\obj\Debug\netstandard2.0\OT.dll" to "D:\a\1\b\Debug\OT.dll". 2021-03-02T04:40:45.2375473Z OT -> D:\a\1\b\Debug\OT.dll 2021-03-02T04:40:45.2379126Z Copying file from "D:\a\1\s\src\OT\OT\obj\Debug\netstandard2.0\OT.pdb" to "D:\a\1\b\Debug\OT.pdb". 2021-03-02T04:40:45.2901337Z Done Building Project "D:\a\1\s\src\OT.csproj" (default targets). 2021-03-02T04:40:46.0659453Z ##[error]src\OT\packages\Resizetizer.NT.0.2.0\build\Resizetizer.NT.targets(155,3): Error : One or more errors occurred. 2021-03-02T04:40:46.0674374Z D:\a\1\s\src\OT\packages\Resizetizer.NT.0.2.0\build\Resizetizer.NT.targets(155,3): error : One or more errors occurred. [D:\a\1\s\src\OT\Droid\OT.Droid.csproj] 2021-03-02T04:40:46.0780880Z Done Building Project "D:\a\1\s\src\OT\Droid\OT.Droid.csproj" (PackageForAndroid target(s)) -- FAILED. 2021-03-02T04:40:46.0875568Z 2021-03-02T04:40:46.0876318Z Build FAILED.
Build is running fine with Xamarin.iOS task.
First of all: Very nice tool! Love it.
But there seems to be an issue. I build my app in Azure DevOps with a CI pipeline and like 30-50% of the builds fail, because of native crashes. Below is the relevant excerpt of the log with the error. Since the error does not seem to be deterministic my guess would be that it is concurrency problem. Issue #8 might be related.