Bamboo - MSBUILD : error MSB1022: Response file does not exist.

Since two days we have this message when trying to build our windows binaries via msbuild task
(Visual Studio express 2012 on Windows 7 agents => MSBuild v4.0 32 bits).
In plan metadada, there is a key called "build.commandline.com.atlassian.bamboo.plugin.dotnet:msbuild.4",
with C:\Windows\system32\config\systemprofile\AppData\Local\Temp\[file_name].rsp, but there is nothing available at this location. Can I remove/clean something? Restarting bamboo agent service didn't help.

5 answers

0 votes

Do you use Cloud instance?

No this is a server version. I was thinking about modifying the tmp folder location in wrapper.conf, as suggested here (https://jira.atlassian.com/browse/BAM-11561?focusedCommentId=703644&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-703644) But this issue occured on two different agents at the same time, so there is something else, this is not a strange/random windows behavior as suggested here (http://wrapper.tanukisoftware.com/doc/english/prop-java-tmpdir-x.html)

0 votes

please contact our support at support.atlassian.com

Was there any resolution to this? I am having the same problem!

There is a knowledge base article on this problem: 

https://confluence.atlassian.com/bamkb/msbuild-error-msb1022-response-file-does-not-exist-779294016.html

Basically this can happen when the user that bamboo-agent is running as can't write to the temporary directory.  

You can set the temp directory with the startup option: 

-Djava.io.tmpdir=C:\tempDir

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

198 views 6 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you