Azure publishsettings文件无法使用Eclipse导入 [英] Azure publishsettings file Fails to Import Using Eclipse

查看:79
本文介绍了Azure publishsettings文件无法使用Eclipse导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MSDN Azure订阅来尝试使用Eclipse发布Java网站.我已经安装了Azure SDK v2.6和适用于Eclipse v0.2.0.201506041823的Azure插件.作为部署设置的一部分,我需要导入Publish-Settings文件.我已经从Azure门户下载了发布配置文件.导入publishsettings文件时,出现此错误: 导入文件名文件失败. 原因:无法解析文件.确保发布设置文件有效.

I am using my MSDN Azure subscription to try to publish a Java web site using Eclipse. I have installed the Azure SDK v2.6 and the Azure plug-in for Eclipse v0.2.0.201506041823. As part of the deployment set-up, I need to import my Publish-Settings file. I have downloaded the publish profile from the Azure portal. When I import the publishsettings file, I am getting this error: Importing filename file failed. Reason: Failed to parse file. Ensure publish settings file is valid.

知道我想念的是什么吗? 我感谢任何建议.

Any idea what I am missing? I appreciate any suggestions.

推荐答案

请确保您下载的文件是Azure订阅发布设置,而不是网站发布文件(yourwebsite.azurewebsites.net.PublishSettings).您的订阅文件应命名为:

Please make sure the file you downloaded is Azure subscription publish setting, not the website publish file(yourwebsite.azurewebsites.net.PublishSettings). Your subscription file should be named like this :

Your Subscription Name-6-15-2015-credentials.publishsettings

就像Jambor所说的,另一种可以从eclipse下载文件的方法:

Like Jambor said, another method you can download file form eclipse:

然后,您可以输入您的Azure帐户并登录Azure门户,然后可以下载publishsettings文件:

Then, you can input your Azure account and login on Azure portal, then you can download the publishsettings file:

这篇关于Azure publishsettings文件无法使用Eclipse导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆