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

This widget could not be displayed.

Do you use Cloud instance?

This widget could not be displayed.

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)

This widget could not be displayed.

please contact our support at support.atlassian.com

This widget could not be displayed.

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

This widget could not be displayed.

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 Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
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