appharbor

Hosting a WCF Web API app on AppHarbor?

大憨熊 提交于 2019-11-29 19:51:20
问题 I've implemented a sample app like the one here. It is a really basic app just to get things started. Everything works fine in IIS on my local machine, I've got it running on my IIS Express as well, but now come the tricky part. I do want to host this on AppHarbor, but I get 404 error. I've started a discussion on the support forum of AppHarbor, and they have taken a screen shot of the error when they run it. It seems like it is something wrong with the routing since the StaticFile handler is

unable to locate nuget.exe when building webservice on appharbor

隐身守侯 提交于 2019-11-28 17:16:53
问题 I'm trying to deploy my webservice at appharbor using codeplex. After trying it the first time and doing some research I found out that I had to use NuGet so the references are being found.. Now I only have 1 error left which I don't know how to solve "D:\temp\g3wyilvx.uln\input\WebService\Webservice.sln" (default target) (1) -> "D:\temp\g3wyilvx.uln\input\WebService\Webservice\Webservice.csproj" (default target) (2) -> (CheckPrerequisites target) -> D:\temp\g3wyilvx.uln\input\WebService\

What is the difference between a PreBuildEvent, BeforeBuild target and BeforeCompile target in MSBuild?

杀马特。学长 韩版系。学妹 提交于 2019-11-28 16:30:46
I recently had to move some code from a PreBuildEvent in Visual Studio into the BeforeBuild target to make it work on AppHarbor . While doing so, I also noticed a BeforeCompile target. What is the difference between these three seemingly similar events: PreBuildEvent, BeforeBuild Target, BeforeCompileTarget? What can/can't be done with each, and why would you pick one over another? The answer to this question can be found in the Microsoft.Common.targets file which can be found (depending on wether you're using the 64-bit or 32-bit framework) at: C:\Windows\Microsoft.NET\Framework64\v4.0.30319

Task could not find “AxImp.exe”

柔情痞子 提交于 2019-11-28 11:17:36
I uploaded a .NET 4 C# solution to appharbor, however when appharbor tries to build it, one of the c# class libraries generates this error: Project "D:\temp\cbymsn2u.j0c\input\UI\Tray\Tray.csproj" is building "D:\temp\cbymsn2u.j0c\input\Business\Crawler\Crawler.csproj" (GetNativeManifest target(s)): c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1558,9): warning MSB3084: Task attempted to find "AxImp.exe" in two locations. 1) Under the "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\" processor specific directory which is generated based on

What is the difference between a PreBuildEvent, BeforeBuild target and BeforeCompile target in MSBuild?

泪湿孤枕 提交于 2019-11-27 09:50:17
问题 I recently had to move some code from a PreBuildEvent in Visual Studio into the BeforeBuild target to make it work on AppHarbor. While doing so, I also noticed a BeforeCompile target. What is the difference between these three seemingly similar events: PreBuildEvent, BeforeBuild Target, BeforeCompileTarget? What can/can't be done with each, and why would you pick one over another? 回答1: The answer to this question can be found in the Microsoft.Common.targets file which can be found (depending

ASP.NET MVC framework 4.5 CSS bundle does not work on the hosting

巧了我就是萌 提交于 2019-11-26 19:27:19
I am runing an App on app harbor written in MVC4. A bundle of css files doesn't work. In my local computer in debug mode I see the code of the App and I see the files. The App works as expected. <link href="/Content/css/home/basic-jquery-slider.css" rel="stylesheet"/> <link href="/Content/css/home/Home.css" rel="stylesheet"/> When I upload the app to Appharbor I see the bundle in the code but the App doesn't work. <link href="/Content/css/home?v=zhVOIpUNuvCOZhJyBcQWpMlozayor4te6k-pM29wHqI1" rel="stylesheet"/> When I browse that link in the href I get 403 - Forbidden: Access is denied. How to

ASP.NET MVC framework 4.5 CSS bundle does not work on the hosting

左心房为你撑大大i 提交于 2019-11-26 05:15:09
问题 I am runing an App on app harbor written in MVC4. A bundle of css files doesn\'t work. In my local computer in debug mode I see the code of the App and I see the files. The App works as expected. <link href=\"/Content/css/home/basic-jquery-slider.css\" rel=\"stylesheet\"/> <link href=\"/Content/css/home/Home.css\" rel=\"stylesheet\"/> When I upload the app to Appharbor I see the bundle in the code but the App doesn\'t work. <link href=\"/Content/css/home?v=zhVOIpUNuvCOZhJyBcQWpMlozayor4te6k