tag:support.appharbor.com,2010-11-23:/discussions/problems/63990-cannot-build-successfully-when-pull-code-from-bitbucketAppHarbor: Discussion 2016-08-11T00:43:05Ztag:support.appharbor.com,2010-11-23:Comment/345022272014-09-09T22:44:16Z2014-09-09T22:44:16ZCannot build successfully when pull code from Bitbucket!<div><p>Hi,</p>
<p>Alright it seems like the Bitbucket repository is missing some
files. Have you been able to successfully deploy the application
through another provider than Bitbucket?</p>
<p>Best,<br>
Rune</p></div>runetag:support.appharbor.com,2010-11-23:Comment/345022272014-09-10T03:57:42Z2014-09-10T03:57:42ZCannot build successfully when pull code from Bitbucket!<div><p>Hi Rune,<br>
I just deployed my application with Bitbucket. I can success deploy
on my hosting very sucessful, but cannot deploy in AppHabor, build
failed...</p></div>khoatag:support.appharbor.com,2010-11-23:Comment/345022272014-09-10T22:54:56Z2014-09-10T22:54:56ZCannot build successfully when pull code from Bitbucket!<div><p>Ok have you looked at your build log? You can access it by
clicking the "Show log" link next to the "Build failed: An error
occurred during the build" log entry.</p>
<p>It appears that the repository is missing a folder. Are you
using the Bitbucket repository to deploy with your other hosting
provider?</p>
<p>Best,<br>
Rune</p></div>runetag:support.appharbor.com,2010-11-23:Comment/345022272014-09-11T09:02:59Z2014-09-11T09:02:59ZCannot build successfully when pull code from Bitbucket!<div><p>Hi Run,</p>
<p>Of- course I only deploy app on AppHabor from Bitbucket,<br>
but on Bitbucket I don't have a folder missing :</p>
<p>Build started 9/11/2014 9:54:20 AM.<br>
1>Project "D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln"
on node 1 (default targets). 1>ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
1>D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln.metaproj
: warning MSB4121: The project configuration for project
"challenge.brailleapps.org" was not specified in the solution file
for the solution configuration "Release|Any CPU".
[D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln] 1>Project
"D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln" (1) is
building
"D:\temp\g0bdms2c.uwz\input\challenge_brailleapps_org.metaproj" (2)
on node 1 (default targets). 2>Build:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
-v /localhost_35476 -p ..\challenge.brailleapps.org\ -u -f
D:\temp\g0bdms2c.uwz\output_PublishedWebsites\challenge.brailleapps.org\
2>ASPNETCOMPILER : error 1003: The directory
'D:\temp\g0bdms2c.uwz\challenge.brailleapps.org\' doesn't exist.
[D:\temp\g0bdms2c.uwz\input\challenge_brailleapps_org.metaproj]
2>Done Building Project
"D:\temp\g0bdms2c.uwz\input\challenge_brailleapps_org.metaproj"
(default targets) -- FAILED. 1>Done Building Project
"D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln" (default
targets) -- FAILED.</p>
<p>Build FAILED.</p>
<pre>
<code> "D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln" (default target) (1) ->
(ValidateProjects target) ->
D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln.metaproj : warning MSB4121: The project configuration for project "challenge.brailleapps.org" was not specified in the solution file for the solution configuration "Release|Any CPU". [D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln]
"D:\temp\g0bdms2c.uwz\input\challenge.brailleapps.sln" (default target) (1) ->
"D:\temp\g0bdms2c.uwz\input\challenge_brailleapps_org.metaproj" (default target) (2) ->
(Build target) ->
ASPNETCOMPILER : error 1003: The directory 'D:\temp\g0bdms2c.uwz\challenge.brailleapps.org\' doesn't exist. [D:\temp\g0bdms2c.uwz\input\challenge_brailleapps_org.metaproj]
1 Warning(s)
1 Error(s)</code>
</pre>
<p>Time Elapsed 00:00:00.07</p>
<p>PLEASE SUPPORT ME THIS STUFF.</p></div>khoatag:support.appharbor.com,2010-11-23:Comment/345022272014-09-11T23:48:24Z2014-09-11T23:48:24ZCannot build successfully when pull code from Bitbucket!<div><p>Hi,</p>
<p>It seems like your solution file is defining how the aspnet
compiler should process the build. However, the referenced
locations references are not compatible with AppHarbor's build
process. In particular, there are relative refernces like
<code>Release.AspNetCompiler.PhysicalPath =
"..\challenge.brailleapps.org\"</code> and target paths are
specified.</p>
<p>Can you try and remove all that and push again?</p>
<p>You might also want to try and run the build script the way
AppHarbor does (with an <code>outdir</code> property set). This'll
make it easier to reproduce the issue locally. The command to
invoke looks something like this:</p>
<pre>
<code>c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe your-solution-name.sln /property:OutDir=C:\temp</code>
</pre>
<p>Best,<br>
Rune</p></div>rune