publishing

Compiling views when publishing asp.net mvc project

随声附和 提交于 2019-12-04 10:17:54
Is is possible to compile asp.net mvc views into one assemply when publishing web project? There is ASP.NET Merge tool (Aspnet_merge.exe) and Web Deployment Projects ( UPDATED: Aspnet_merge.exe came with Windows SDK components when you installing Visual Studio 2008 - look at "%Program Files%\Microsoft SDKs\Windows\v6.0A\bin" folder ) . These links may be interesting to you: How Do I: Use MSBuild to Automate the ASP.NET Compiler and Merge Utilities Managing ASP.NET Precompiled Output for Deployment Using the aspnet_merge.exe Command UPDATED: In ASP.NET MVC projects there is <MvcBuildViews>true

Removing ConnectionString when deploying with Visual Studio 2012

夙愿已清 提交于 2019-12-04 09:05:28
I'm working on a project with 2 web applications, one being hosted as long running process (with appfabric), the other is just a normal MVC application. They share same datacontext, thus same connectionString. The appfabric application is deployed as a child application of the main, taking advantage of the web.config inheritance (we don't want connectionstring to be duplicated in web config) My problem is that with the new Visual Studio 2012 wizard for publishing, the connectionString are automatically added, even when I untick the "Use this connection string at runtime" box. I also try to use

iOS app publishing - publishing under different author name

折月煮酒 提交于 2019-12-04 07:30:14
I have been developing and testing an iPhone app under a family members Apple Developer account. He paid for the account and it's registered under his business. When it comes time to publish, will it appear in the App store (and for that matter anywhere else where the author name is published), under his name or his company name? Can this be changed? Is it possible to publish an app on a developer account but under a different author name? Yes, it will appear in the App Store under his name (if registered as an individual) or his company name (if he's registered as a company). Can this be

Switching from http to https in iOS App brings up Export Compliance issues when publishing

百般思念 提交于 2019-12-04 07:01:13
We recently decided to update a couple of our apps this summer to switch them from http to https in order to follow the new Apple guidelines which go into affect January 2017. The only thing transferred to and from the app is product information, no user info or anything even remotely sensitive. But we want to comply early so that we don't have to worry about it later. The question: Apple seems to be forcing us to deal with US Export Compliance law which requires us to get an approval for an Exporter Registration Number (ERN) , and a SNAP-R which requires a Company Identification Number (CIN)

Signing an app, but not publishing on Android market

对着背影说爱祢 提交于 2019-12-04 05:02:38
The Android system has a flag called "Unknown Sources" that allows it to install applications from non-market sources. If I sign my application as described on the android developer website (i.e. with a certificate that is created using the private keys I got from google), and decide not to publish my application on the android market, but host it on my own site. Will this application be considered a non-market by the android system ? Will it still install with the "Unknown Sources" option turned off ? "Unknown Sources" allows for the installation of applications via download links (.apk files

Android hide logs in the application when upload to market

大憨熊 提交于 2019-12-03 20:08:30
My application has lots of Log.i(); statements added for debugging. Now if such an application need to be uploaded to market Should these logs be removed, and if yes is there an easy way than manual removal If not removed, will those logs be coming if the application is run by the user after installing from the market ( i tried to see the logs for some applications and i couldnt see any logs from the applications. I could see only android logs like from activity manager . But i dont see why the logs will not be displayed if they are not removed from the code) Soham Preetha, the logs will be

adding extra files to published MVC API project

家住魔仙堡 提交于 2019-12-03 15:14:35
问题 I am trying to add an extra XML file to a publishing process. I have a MVC API project which also has another project (V1.0) for controllers. We are using the self documenting help functionality which creates the .XML files for each project. When building on the local machine it all works but when publishing (with wizard) it will not include this file. I have been trying to update the publish profile (.pubxml) file as described here: http://www.asp.net/mvc/tutorials/deployment/visual-studio

VS2015 pubxml: how to exclude or eliminate the <PublishDatabaseSettings> section

故事扮演 提交于 2019-12-03 11:32:36
I need to exclude database related settings from the Web Deploy publishing. I tried to delete the section in the pubxml file, but it comes back when I create a deployment package. Is there any way way to exclude database related settings from the Web Deploy publishing? Figured out a way: Externalize the config with configsource Change your web.config to include connection strings as an external file. <connectionStrings configSource="web.connectionstrings.config"/> Then add a new file web.connectionstrings.config and it should be in exactly this format (by that I mean no higher level nodes

Google Play App publishing with two different developer names [closed]

梦想的初衷 提交于 2019-12-03 11:00:46
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I have published several Android applications for the Google Play Store through my Google account, but all under my company's developer name. Now I want to publish an App under my name with the same user account, but this does not seem to be possible without changing the developer name for all previously

Why does this web.config transform say it can't find the applicationSettings element?

只谈情不闲聊 提交于 2019-12-03 10:54:34
问题 I get the following error while transforming a web.config file in TeamCity. It happens on the element, <applicationSettings xdt:Transform="Replace"> . No element in the source document matches '/configuration/applicationSettings' The source file has this setting. Any idea how to solve this? 回答1: I had to remove the namespace attribute from the configuration node. There is some conflict in the declared schema and the elements I was using. xmlns="http://schemas.microsoft.com/.NetConfiguration