appharbor

Does appharbor always build solution using 'Release' build config?

心不动则不痛 提交于 2019-12-05 07:26:58
Does appharbor always build solution using 'Release' build config ? Can I make appharbor to build my apps using certain configuration, e.g. 'Release-for-appharbor' ? AppHarbor always builds your code in Release configuration. You can find additional resources on how AppHarbor recommends you manage environments . We'd love to have your suggestions on how to improve this, you can add feedback on the feedback forum . To execute the build process locally in the same fashion as AppHarbor From the Visual Studio Command Prompt msbuild solution.sln /p:Configuration=Release /property:OutDir=C:\temp 来源:

ASP.NET Cookieless Session URL Issue ONLY in mobile safari

99封情书 提交于 2019-12-05 05:33:54
We're hosted on AppHarbor and using their memcacher add-on, setup as described in their documentation: <sessionState cookieless="false" regenerateExpiredSessionId="true" mode="Custom" customProvider="MemcachedSessionProvider" xdt:Transform="Insert"> <providers> <add name="MemcachedSessionProvider" type="MemcachedProviders.Session.SessionStateProvider,MemcachedProviders" dbType="none" /> </providers> </sessionState> We're seeing an issue that can be reproduced ONLY by: Following a twitter shortened URL to appfail.net inside iOS Safari (or the twitter iphone app's in-built webkit browser): http:

Using SubModules on AppHarbor

拜拜、爱过 提交于 2019-12-05 01:18:33
问题 I know that current Git submodules are not supported by AppHarbor (as per this support ticket and I just did a quick test that confirmed it) BUT, is there another way? I currently have a GitHub repository that I want to use as my submodule's remote master, and I need to create a number of other GitHub repositories that use this codebase (with the only changes happening inside the App_Data contents). Using a Git submodule seems like a perfect solution, BUT, of course that problem is that its

Error in deleting/addind file from appharbor using git “Unable to create 'f:/git/xyz/WorkerProcess/.git/index.lock': File exists”

元气小坏坏 提交于 2019-12-04 05:50:05
问题 I want delete bin[or trying to run $git add .] from local git hub folder as well as on hosted app-harbor folder but i am unable to delete folder and getting following error $ git rm -r bin [ $ git rm -f bin] fatal: Unable to create 'f:/git/xyz/WorkerProcess/.git/index.lock': File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. 回答1: It

HTTPS with URL rewriting is not working on appharbor

左心房为你撑大大i 提交于 2019-12-03 22:25:03
问题 I have built an application on asp.net 3.5 which is hosted on AppHarbor. The problem is that on HTTPS URL rewriting is not working. The following is the code to run some of the pages on SSL: string CurrentUrl = Request.Url.ToString(); string sPath = System.Web.HttpContext.Current.Request.Url.AbsolutePath; System.IO.FileInfo oInfo = new System.IO.FileInfo(sPath); string sRet = oInfo.Name; string sDir = oInfo.Directory.Name; pageName = sRet; if (sRet == "Register.aspx" || sRet == "Login.aspx" |

Push to multiple remote repositories from a single local repo in Mercurial

半腔热情 提交于 2019-12-03 14:38:37
问题 I was considering using AppHarbor to host a lightweight website and was investigating their Mercurial integration. Currently I use Kiln for my remote repositories, but currently AppHarbor only supports BitBucket integration. Is it possible to have 2 remote repositories for a single local repository? So when I push commits from my local, they both get the push? I don't ever want to pull from BitBucket, only push so that it can then be grabbed by AppHarbor and deployed. 回答1: You can set

AppHarbor - ASP.NET Core Support

≯℡__Kan透↙ 提交于 2019-12-03 13:35:05
Does AppHarbor support ASP.NET Core? When I tried to deploy my sample application (From the Visual Studio 2015 RC templates) I got the following build log in AppHarbor: Build started 5/4/2015 2:28:38 PM. 1>Project "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" on node 1 (default targets). 1>ValidateSolutionConfiguration: Building solution configuration "Release|Any CPU". 1>Project "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" (1) is building "D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest.xproj" (2) on node 1 (default targets). 2>D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest.xproj(7,3)

Get original url without non-standard port (C#)

假如想象 提交于 2019-12-03 10:01:25
First question! Environment MVC, C#, AppHarbor. Problem I am calling an openid provider, and generating an absolute callback url based on the domain. On my local machine, this works fine if I hit http://localhost:12345/login Request.Url; //gives me `http://localhost:12345/callback` However, on AppHarbor where I'm deploying, because they are using non-standard ports, even if I'm hitting it at " http://sub.example.com/login " Request.Url; //gives me http://sub.example.com:15232/callback And this screws up my callback, because the port number wasn't in the original source url! I've tried Request

Ninject crashes on application start on appharbor

我是研究僧i 提交于 2019-12-03 06:28:58
I am using Ninject on my MVC 3 project deployed on appharbor. I noticed that I get an exception when the application is started, and it looks like something inside Ninject is the cause, but I cannot find any answers out there - so please help me :) Will try to add the complete exception here: Server Error in '/' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details:

How do I improve app performance on AppHarbor? [closed]

久未见 提交于 2019-12-03 05:38:08
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I have an application hosted on AppHarbor that is visited a few times a day with a light load. The performance experience is a SLOW first page load as the dormant worker process wakes up. Subsequent page loads are fast. I want to reduce the amount of time for the initial load. Will