Hi Ryan,
Based on the error you are getting, can you please check the value of the "PackageAction" property in your .csproj file? To build an add-in without installing ArcGIS Pro, this value needs to be "BuildZipPostProcess". Check to see if this step (copied from the wiki page) is correct in your .csproj:
- Modify the add-in/configuration .csproj or .vbproj file to change the custom "PackageAction":
- Find the element called
<PackageAction>BuildDefault</PackageAction>
in the .csproj or .vbproj file. - Change its value from
BuildDefault
to BuildZipPostProcess
. - Save the project file and reload the project.
Before
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PackageAction>BuildDefault</PackageAction> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PackageAction>BuildDefault</PackageAction> </PropertyGroup>
After
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PackageAction>BuildZipPostProcess</PackageAction> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PackageAction>BuildZipPostProcess</PackageAction> </PropertyGroup>
Thanks
Uma