Build Failure
Hi There,
I am trying to upload one of my first C# projects and am pretty new to building and deploying etc., particularly with Visual Studio.
I have following several tutorials but keep getting the following build failure:-
-------------------------------------------------------------------------------------------------------------------
Build started 1/26/2017 12:22:26 PM.
1>Project "D:\temp\wir33f41.22s\input\Website\Website.sln" on node 1 (default targets).
1>ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
1>D:\temp\wir33f41.22s\input\Website\Website.sln.metaproj : warning MSB4121: The project configuration for project "Website" was not specified in the solution file for the solution configuration "Release|Any CPU". [D:\temp\wir33f41.22s\input\Website\Website.sln]
1>Project "D:\temp\wir33f41.22s\input\Website\Website.sln" (1) is building "D:\temp\wir33f41.22s\input\Website\Website.metaproj" (2) on node 1 (default targets).
2>Build:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /localhost_49845 -p ..\..\ProjectRiddles\ -u -f D:\temp\wir33f41.22s\output\_PublishedWebsites\ProjectRiddles\
2>ASPNETCOMPILER : error 1003: The directory 'D:\temp\wir33f41.22s\ProjectRiddles\' doesn't exist. [D:\temp\wir33f41.22s\input\Website\Website.metaproj]
2>Done Building Project "D:\temp\wir33f41.22s\input\Website\Website.metaproj" (default targets) -- FAILED.
1>Done Building Project "D:\temp\wir33f41.22s\input\Website\Website.sln" (default targets) -- FAILED.
Build FAILED.
"D:\temp\wir33f41.22s\input\Website\Website.sln" (default target) (1) ->
(ValidateProjects target) ->
D:\temp\wir33f41.22s\input\Website\Website.sln.metaproj : warning MSB4121: The project configuration for project "Website" was not specified in the solution file for the solution configuration "Release|Any CPU". [D:\temp\wir33f41.22s\input\Website\Website.sln]
"D:\temp\wir33f41.22s\input\Website\Website.sln" (default target) (1) ->
"D:\temp\wir33f41.22s\input\Website\Website.metaproj" (default target) (2) ->
(Build target) ->
ASPNETCOMPILER : error 1003: The directory 'D:\temp\wir33f41.22s\ProjectRiddles\' doesn't exist. [D:\temp\wir33f41.22s\input\Website\Website.metaproj]
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.07
-----------------------------------------------------------------------------------------------
Am I missing something in how I created my project which is stopping AppHarbor from building? Locally my projects runs fine. The link to my code on GitHub is here:
Any help would be much appreciated.
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by rune on Jan 28, 2017 @ 03:01 AM
Hi,
I'm not sure what application this is related to (and the GitHub link seems to have been removed/not included), but judging from the build log it seems to be related to precompilation execution during the build. AppHarbor will precompile your web application after a successful build anyway, so I'd recommend you try and disable precompilation in your web project file as a first step.
Best,
Rune