publish

Using MSDeploy/Web Deploy as Publish method in Visual Studio with multiple users

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to use web deploy from multiple developer PC's? When we try to do so it seems we need to re-publish everything when someone else wants to do a deploy. Are we doing something wrong, is there a way around this, or what would be a recommended approach in our scenario? I'm aware that deploying from a central location is a better founded solution, but unfortunately this is not an option at the moment. 回答1: Using Visual Studio, no. The current build scripts don't have a way of providing the necessary flag to MSDeploy. If you are

facebook login Cannot pass a publish or manage permission (email) to a request for read authorization

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a button click to login facebook,but sometimes this code can't work. throw exception:Caused by: com.facebook.FacebookException: Cannot pass a publish or manage permission (email) to a request for read authorization This is my activity's code : public class FacebookLoginActivity extends Activity { private final static String TAG="FB"; private static final List PERMISSIONS=Arrays.asList("email", "user_likes", "user_status"); private Session.StatusCallback statusCallback=new SessionStatusCallback(); private GraphUser user = null; private

npm publish 失败可能的原因记录

心不动则不痛 提交于 2019-12-03 01:39:25
npm 发布个人包时,遇到不少坑,总结如下(可能不全):   1、npm版本过低,处理:npm install -g npm update   2、可能权限原因,处理:npm publish --access=public   3、npm 源不对,处理:npm config set registry https: //registry.npmjs.org/。有些非官方源个人可能无权发布。   4、文件夹名和package.json里的'name'属性一样时也无法发布,处理:将文件夹名或'name'改成不一致即可   5、记得检查账户是否登录 其他命令补录:   1、npm init: 初始化包,会生成package.json,其里面的main属性配置指向了入口文件   2、npm publish: 发布个人项目到npm上     a: 第一次发布时,需要创建用户: npm adduser     b:常规用户登录:npm login   3、npm unpublish <pkg>@x.y.z -- 删除某个版本 / npm unpublish xxxpackage -- 删除整个版本(慎用!)     npm unpublish的推进替代命令: npm deprecate <pkg>[@version] <message>     使用这个命令,并不在社区里撤销你已有的包

Deploy SQL Server database project (SSDT) via command line

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a SQL Server Database Project targeting a SQL Server 2012 RC0 database. The project was created in Visual Studio 2010 + SQL Server Data Tools CTP4. The project type is different than the regular Visual Studio 2010 database projects (it's the next version of SQL Developer Tools CTP3 Juneau). It deploys fine in the IDE. How can I deploy it via the command line? I tried VSDBCMD.exe but it expects a .deploymanifest file which is not created by the new project type. 回答1: Use sqlpackage.exe , located in C:\Program Files\Microsoft SQL Server

How to publish manually created WebJobs to Azure

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I created a WebJobs app targeting .NET Core following this article: http://matt-roberts.me/azure-webjobs-in-net-core-2-with-di-and-configuration/ I had to do this manually because currently Visual Studio does not provide a way to create a WebJobs app in .NET Core but I can create a console app targeting .NET Core in Visual Studio 2017. Now, I want to publish my WebJobs console app to Azure but I'm NOT getting the option to Publish as Azure WebJob which Visual Studio typically gives -- see below: Instead, I'm just getting "Publish"

Gradle task to publish / upload android apk to Http Server

匿名 (未验证) 提交于 2019-12-03 01:35:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So far we used Jenkins with Ant to build our Android APKs. The built APK, the proguard mappings.txt and some release notes get uploaded to a Http Server using curl curl -k -F "app=@$apk_dir" -F "release_notes=@$release_notes_file" "https://ourserver.com/apps/internal/app/$app_dir/$version" whereas app dir is assembled by some parameters from the Android Manifest app_dir="${app_name}-${some_other_manifest_meta_data}" As I now start switching to Gradle I want to move this to the gradle build file. I thought of a task that depends on the

Spring WebFlux (Flux): how to publish dynamically

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am new to Reactive programming and Spring WebFlux. I want to make my App 1 publish Server Sent event through Flux and my App 2 listen on it continuously. I want Flux publish on-demand (e.g. when something happens). All the example I found is to use Flux.interval to periodically publish event, and there seems no way to append/modify the content in Flux once it is created. How can I achieve my goal? Or I am totally wrong conceptually. 回答1: Publish "dynamically" using FluxProcessor and FluxSink One of the techniques to supply data

Publishing to the default rabbitmq exchange using the http api

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So I am using rabbitmqs http api to do some very basic actions in rabbit. It works great in most situations but I am having an issue figuring out how to use it to publish a message to the default rabbitmq exchange. This exchange is always present, cannot be deleted and has a binding to every queue with a routing key equal to the queue name. My problem is that this queue does not have a name, or rather, it's name is an empty string "". And the URL I have to use to publish this message with the HTTP api includes the name of the exchange. http:

Your push would publish a private email address error

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm very new to Github/VCS. When I try to share my project on Github, I get the following error message. Can't finish GitHub sharing process Successfully created project 'myproject' on GitHub, but initial push failed: remote: error: GH007: Your push would publish a private email address. failed to push some refs to 'https://github.com/me/myproject.git' I've googled the error message, and got no hits. I've also searched stackexchange, but no cigar. Any ideas on how to solve this issue? 回答1: I experienced the same error: GH007 message as well,

TFS 2015 Publish Build Artifacts in one directory

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We have just upgraded from TFS 2010 to TFS 2015 and I'm recreating a XAML-Build-Definition in the "vNext" build/workflow-format. In the old Build it was possible to output all files (the DLLs) flat in one single directory, without their original directory structure. Is this still possible with the new TFS 2015 Build framework? I have the following Publish Build Artifact -Settings: Artifact Type: File Share Path: \\server\tfslib\$(Build.DefinitionName)\$(Build.DefinitionName)_$(Build.BuildNumber) The problem is that the original solution