0
部署應用程序,所以我有一個PowerPoint Web內容外接應用程序(相同預裝的默認應用程序),我想通過Office 365的開發者帳戶運行測試。我有Visual Studio 2015社區。不能在SharePoint
下面是XML文件(ID東西去掉)
<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp
xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
xsi:type="ContentApp">
<!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->
<!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
<!--Version. Updates from the store only get triggered if there is a version change. -->
<Version>1.0.0.0</Version>
<ProviderName>[Provider name]</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
<DisplayName DefaultValue="PowerPointWebAddIn12" />
<Description DefaultValue="PowerPointWebAddIn12"/>
<!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
<AppDomains>
<AppDomain>AppDomain1</AppDomain>
<AppDomain>AppDomain2</AppDomain>
<AppDomain>AppDomain3</AppDomain>
</AppDomains>
<!--End Basic Settings. -->
<Hosts>
<Host Name="Presentation" />
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="~remoteAppUrl/Home/Home.html" />
<RequestedWidth>400</RequestedWidth>
<RequestedHeight>400</RequestedHeight>
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
</OfficeApp>
我去我的Office 365的開發者網站:
按「新應用部署按鈕「併成功將我的應用上傳到開發者網站:
但是當我部署得到這個錯誤:
能否請你幫忙嗎?
似乎有一個步驟,從你的描述丟失:什麼是你生成這個包,你是怎麼產生的呢,如果它是通過Visual Studio進行(這大概呢?是),頂層(清單)項目的項目屬性是什麼? –
通過visual studio生成的包。清單的項目屬性在更新後的問題中 – ghui
當你說「通過visual studio生成包」時,你的意思是什麼通過包?是一個清單XML fil e包裹?並且通過某種類似「發佈」的動作產生意味着什麼,或者僅僅是如上所述的文件? –