publish

Building a .NET Core app via command line, so that it works on a machine without .NET Core installed

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My end goal is to create a cross-platform (non-web) console application, so I'm exploring .NET Core right now. In my previous .NET projects, I did all the development inside Visual Studio, but I also created a batch/MSBuild file so I could build the whole project (including setups, NuGet packages, zip files with binaries etc.) with one single click. Here's an example from a previous project . In the end, I want to do something similar with my .NET Core test project. But right now I'm failing at the first step: I'm unable to build it outside

Unable to Publish from Github Desktop Application to github.com

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: While trying to publish from Github desktop app to github.com am getting the following error. GitHub Desktop was unable to store the account token in the keychain. Please check you have unlocked access to the 'login' keychain. relogin didnt help. Updating Github desktop didn't help. Deleted all the entries regarding github in Keychain tool 回答1: This seems to be caused by the Keychain being in an invalid state, affecting applications that try to use the keychain to store or retrieve credentials. Seems to be specific to macOS High Sierra and

lerna publish on Jenkins “git remote update” Fails “Could not read from remote repository.”

匿名 (未验证) 提交于 2019-12-03 01:17:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to set up lerna with jenkins to publish after all my tests pass. I have the command running but it's failing. I can't find any documentation on how to get this to work. I need this command to have access to push the lerna tags, as well as the updated version numbers to the master branch, and I also need Jenkins to not fall into an infinite loop. My first issue was this: > lerna publish --yes --cd-version=patch lerna info version 3.0.0-beta.17 lerna info versioning independent lerna ERR! ENOGIT Detached git HEAD, please checkout a

android - Paho MQTT service for publishing

匿名 (未验证) 提交于 2019-12-03 01:17:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new to Android and services. My aim is to be able to set-up subscriptions and do publications on topic strings. The topic strings and client ID are set-up after parsing input of text fields. I am using the Paho MQTT service (downloaded the source and built the JAR). The following causes a Null Pointer Exception at c.publish() . The logcat shows the exception at the IMqttDeliveryToken publish(String topic, MqttMessage message, Object userContext, IMqttActionListener callback) method in MqttAndroidClient where a delivery token is being

ASP.NET Core publish error: An error occurred while starting the application

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I tried to publish my ASP.NET Core application on Windows Server 2008 R2 but I get this error: "An error occurred while starting the application." Without any more description! What can I do? 回答1: Please take a look at this post: https://scottsauber.com/2017/04/10/how-to-troubleshoot-an-error-occurred-while-starting-the-application-in-asp-net-core-on-iis which will give you a good starter kit to get basic log informations when this kind of error appear. It may be a bad startup configuration or related to the .NET Core runtime installed but

Visual Studio Publish Project Into One Simple Installer

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've got a sizable project, with multiple classes, 500+ images, and 20+ text files associated with said project. I've been publishing my project via right clicking on the project->properties , and clicking on the publish tab. I've included the text files and images as resources already. The issue is that whenever I install an application, usually it's a simple installer, i.e. you download an installer (one file such as installer.exe), run this file which then takes you through the setup, such as where to install it to, etc. Then the

rabbitmq publish failed with PRECONDITION_FAILED - fast reply consumer does not exist

匿名 (未验证) 提交于 2019-12-03 01:09:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We are getting the below error when we are posting a message to rabbitmq from a spring boot service. Does anyone faced a similar issue with rabbitmq ? Please help us with your inputs. 文章来源: rabbitmq publish failed with PRECONDITION_FAILED - fast reply consumer does not exist

Send many publish message: Too many publishes in progress Error

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Here is paho Async client: client = new MqttAsyncClient(appProps.getProperty("mqtt.broker"), appProps.getProperty("mqtt.clientId"), new MemoryPersistence()); client.setCallback(this); client.connect(null, new IMqttActionListener() { @Override public void onSuccess(IMqttToken imt) { try { client.subscribe(Constants.internalTopics, Constants.internalTopicQOS); } catch (MqttException ex) { ex.printStackTrace(); } } @Override public void onFailure(IMqttToken imt, Throwable thrwbl) { thrwbl.printStackTrace(); } }); Here I am sending messages in

How to publish artifacts in Travis CI?

匿名 (未验证) 提交于 2019-12-03 00:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 选择语言 中文(简体) 日语 英语 中文(繁体) 由 翻译 强力驱动 问题: I would like to use Travis CI for my open-source project. The issue that Travis doesn't provide any ways to publish produced artifacts (though, they have this in their future plans). What are workarounds to publish/upload artifacts somewhere? I'm allowed to execute any scripts on a CI machine. Simple upload will work, but there is security issue: anyone will be able to upload something in the same way as all sources are public. 回答1: The "github releases uploading" feature is announced recently. It

Exclude non-minified files from publish in `project.json` with ASP.NET Core

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to find a proper configuration for the publishOptions inside project.json (ASP.NET Core 1.0 / Full Framework) so that non-minified files are not published. Official documetation doesn't help much: project.json reference . Searching for globbing patterns, and finding some artilcles with gulp examples, I came up with this wwwroot/js/**/*!(*.min.js) , but it doesn't seem to work. Is my syntax wrong? Or, it's just that project.json and dotnet publish don't support this syntax? "publishOptions": { "include": [ "wwwroot", "Views",