release

Stripping out comments from the project files just for the release build

﹥>﹥吖頭↗ 提交于 2019-12-24 14:27:58
问题 I work on multiple ASP.NET/SharePoint C# projects. During development we use to put elaborate comments for better understanding. But before i want to give a release build i want to hide all the comments (not to remove them). Is there any VS plugin or some tool to do this? 回答1: Hide from what? Remove from resulting assembly? Release mode removes comments. 来源: https://stackoverflow.com/questions/4214784/stripping-out-comments-from-the-project-files-just-for-the-release-build

Will assigning at tag to a Github Release also assign it to the Commit

我是研究僧i 提交于 2019-12-24 12:06:09
问题 Will assigning at tag (e.g. v1.1.0) to a Github release also assign it to the commit , assuming that the specified commit doesn't already have a tag? If so, will it be a lightweight or annotated tag? 回答1: Will assigning at tag (e.g. v1.1.0) to a Github release also assign it to the commit Yes it will. If so, will it be a lightweight or annotated tag? A lightweight one. You can take a look at this sample release that I've created through GitHub UI for the sake of answering this question. This

“Proper” way of releasing software and creating an installer for it

一笑奈何 提交于 2019-12-24 08:24:46
问题 Let's suppose I've just created an app in visual studio and now I want to distribute it. I've set the app to release mode and I have a copy of the app that works just fine. My main question is how would I go about creating an installer for it and making sure Windows knows it's trustworthy? Do I have to create some sort of certificate? I've been searching and downloaded NSIS but I'm not sure how to use it so I just used Inno Setup Compiler which works just fine. Sometimes Avast checks my

Passing command line arguments to Visual Studio using CMake for profile guided optimization

我怕爱的太早我们不能终老 提交于 2019-12-24 04:38:11
问题 I'm using CMake for a C++ project. I'm trying to use profile guided optimization so I need to also pass command line arguments to the Release mode version of my binary. Visual Studio needs this to create a performance profile. I already have a launch.vs.json configuration for the Debug mode binary with command line arguments: { "version": "0.2.1", "defaults": {}, "configurations": [ { "name": "MyProject", "project": "CMakeLists.txt", "projectTarget": "MyProject.exe", "type": "default", "args"

Get key hash for release

折月煮酒 提交于 2019-12-24 03:55:08
问题 I have been trying to get my key hash for my release to work for hours now, and I must be doing something wrong because I have searched and tried so many different things, Now lets say my alias is john_doe_key, and my keysotre is located at /Users/loaner/Downloads/UEat/app/app-release.apk I would have my command in my terminal look like this correct? keytool -exportcert -alias john_doe_key -keystore ~/Users/loaner/Downloads/UEat/app/app-release.apk | openssl sha1 -binary | openssl base64 or

Gson parsing problem with release version - incorrect string is returned

回眸只為那壹抹淺笑 提交于 2019-12-24 03:43:37
问题 Hi i've problem with the library Gson in a release version. In practice, in the release version of my application, using the new Gson().toJson(obj) method an incorrect string is returned. The returned string is missing some field of my object. Is it possible that the release version needs some missing options? Here are some useful information: The obj is an instance of ArrayList<MyClass> I'm using implementation 'com.google.code.gson:gson:2.8.5' I'm using Android Studio 3.5.1 MyClass is build

react native android release apk can't receive data from Internet

大憨熊 提交于 2019-12-24 00:55:54
问题 I developed an app with React native and install debug apk in my device and all of the things are ok. but when install release version in my device, it can't get data from API. what's wrong? 回答1: In my case, I call api with non secure (http instead of https). So api work well for debug environment, but not work for release. You can add this line android:usesCleartextTraffic="true" to AndroidManifest.xml like that <uses-permission android:name="android.permission.INTERNET" /> <application ...

Application approved - pending developer release - Currently unavailable in your Country

江枫思渺然 提交于 2019-12-24 00:37:25
问题 I have created an Application for the iOS app Store. It was approved and now waiting for my release. In iTunes connect, i made sure to select all Countries when it comes to availability. On my itunesConnect app, if i select my App and tap on "View on App Store", it will take me to the store and say " This app is currently unavailable in your country's store, but available in the U.S Store " My question is, when i do release the app, my goal is to have it available on all stores, so am i

Why is release often called shortly after a local var is used instead of just autoreleasing

一个人想着一个人 提交于 2019-12-23 23:25:06
问题 I often see something like the following: UIBarButtonItem *anotherButton = [[UIBarButtonItem alloc] initWithTitle:@"Show" style:UIBarButtonItemStylePlain target:self action:@selector(refreshPropertyList:)]; self.navigationItem.rightBarButtonItem = anotherButton; [anotherButton release]; specifically where a local var, in this case 'anotherButton' is used and then later released. Is this exactly the same as autoreleasing it when it is alloc'ed and then making sure it is used before the method

System.Reflection.ReflectionTypeLoadException with Entity Framework 4

橙三吉。 提交于 2019-12-23 22:36:35
问题 I am using EF4 in windows form app. I got a problem whenever I run a release file in machine which doesn't have visual studio 2010 installed I always got this error : System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information So far, the only workaround is install VS 2010 and rebuild solution in order to make the release run. It's so annoying, I wonder if there is a better solution. 回答1: