-
Notifications
You must be signed in to change notification settings - Fork 198
Allow Unpack to both Managed and Unmanaged in the same execution #246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for your suggestion - the way I do it is having two separate profiles - one for managed and one for unmanaged. Would that work for you? |
Thanks Scott. It probably would. Do you target two separate package folders for your unpack? Further question... When you pack in VSTS do you use an execute bat step? If so is there any documentation or examples of how to specify the output path so that the zip can be published as an artifact? Thanks again. I really don't know how you have the time to do this and everything else you do! |
Yes - two separate folders - one for managed and the other unmanaged. When I'm packing in VSTS I use one similar to pack+import.bat that just uses the 'pack' task. |
Thanks, when running the two profiles is it necessary to have the bat run spkl twice? (i.e. prompt for connection twice) or is it possible to run the two profiles using the same connection details? |
I am fairly sure this is user error but i cannot get the solution to pack. Issue happens when the packer hits my plugin assemblies. I have played around with the paths but with no success. (would you like me to log this as a different issue?) (the webresources folder map works fine, and the unpack task is also working fine) My VS solution layout is: `
Maps i am using {
"profile": "release",
"solution_uniquename": "<SolutionName>",
"packagepath": "managed",
"solutionpath": "<SolutionName>_{0}_{1}_{2}_{3}_managed.zip",
"filePath": "..\\SolutionProject",
"packagetype": "managed",
"increment_on_import": false,
"map": [
{
"map": "path",
"from": "PluginAssemblies\\**\\Plugins.dll",
"to": "..\\..\\PluginProject\\bin\\Debug\\"
},
{
"map": "path",
"from": "PluginAssemblies\\**\\Workflows.dll",
"to": "..\\..\\WorkflowProject\\bin\\Debug\\"
},
{
"map": "folder",
"from": "WebResources\\chorus_",
"to": "..\\..\\WebResourcesProject\\Webresources\\"
}
]
} Error received:
It appears that the pack is looking for a relative path, so i guess my bat is incorrect:
Update: I think i have resolved the path issue by going to a file mapping rather than a path one. |
I am having similar problem Any idea how to solve it |
This is an extension of #208
We source control the unpacked files for both managed and unmanaged solutions.
It allows us to perform a pack within VSTS to both managed and unmanaged zip files.
Would it be possible to extend the unpack task to allow this.
e.g.
The text was updated successfully, but these errors were encountered: