Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Problem: new xamarin version cannot build our project. Build hangs forever.
* If I press Ctrl+Break during the build, output appears. There are thousands of errors: 34>C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets(38,3): warning MSB3491: Could not write lines to file "obj\Debug\somename.csproj.FileListAbsolute.txt". The process cannot access the file 'somepath\somename\obj\Debug\somename.csproj.FileListAbsolute.txt' because it is being used by another process.
* Disabling parallel build doesn't help
* Xamarin 184.108.40.2064 didn't have such issue
* Files "FileListAbsolute.txt" contain thousands of lines
* It is not machine specific. Problem is observed on every PC where we updated Xamarin.
Unfortunately, I cannot send you source code. I tried to reproduce this issue in new project. Created several PCLs with thousand of classes, played with references between them, but without success. Problem is seen only with our project.
I compared Xamarin.Common.targets from current and 220.127.116.114 version. The only difference is a dependence on target _SplitProjectReferencesByFileExistence.
After that, problem disappered. I'm not sure that it is correct fix, but if it is, please do it on your side. Fixing .targets after every xamarin update on every machine is not suitable solution.
> The only difference is a dependence on target _SplitProjectReferencesByFileExistence.
For reference, the addition of that element is the fix for Bug 52760.
## Note to the Xamarin team
Perhaps this is a duplicate of Bug 54467?
## To the reporter (@Borisov)
If you get a chance to try applying the change from Bug 54467, Comment 13, that might be a quick way to check if this is indeed a duplicate of Bug 54467.
Here's the information about that change for reference:
Edit the C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets
Edit the C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets
(you'll need to be an administrator to edit either one)
Update the `GetBuiltProjectOutputRecursive` Target to contain the following nodes instead of the current ones:
Condition="$(_BuiltProjectOutputs.Contains('%(_MSBuildProjectReferenceExistent.FullPath)')) == 'false'" />
<!-- Add all the top-level projects that will be added by the @(BuiltProjectOutputGroupKeyOutput) further below -->
Hello Brendan Zagaeski,
Thank you for your prompt reply. I tried your fix and it works! Do you have any ETA when it will be released?
*** This bug has been marked as a duplicate of bug 54467 ***