简体   繁体   中英

Sharepoint workflow deployment error basepackagepath

I'm getting this error while deploying a workflow in sharepoint 2010

Error occurred in deployment step 'Retract Solution': This required project property is not found or has a value of null or empty string: BasePackagePath

Its building fine and I tried retract, it also succeeded.

I am using visual studio to deploy.

Can anyone tell me what has to be the value of the base path.

I found the problem it was due to permission i had to use the far admin account to deploy it.

This is the error "The "CompileWorkflowTask" task failed unexpectedly. System.NotSupportedException: The given path's format is not supported."

So after some search i came up with this link

But it got built but showed the error in my question

But the first one is the error. And you need admin privileges to deploy it.

You can add the BasePackagePath in your .user file that is in the same directory as your SharePoint project file.

In my user file the following entries were missing. After adding these properties below the siteurl I could deploy the project. You can change this by using for instance notepad.

    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <PropertyGroup>
        <SharePointSiteUrl>http://siteurl:9425/</SharePointSiteUrl>
        <ProjectView>ShowAllFiles</ProjectView>
        <BasePackagePath>bin\Debug</BasePackagePath>
        <LayoutPath>pkg\package</LayoutPath>
      </PropertyGroup>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM