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 vote

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,813 views 0 6
Read article

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