Skip to content
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

Error: Object of type 'archiveDir' and path '....vbproj.zip' cannot be created #25

Open
msgigabyte opened this issue Aug 13, 2012 · 3 comments

Comments

@msgigabyte
Copy link

I am getting the following error while trying to publish it using teamcity. Steps I am using are

  1. build and package
  2. execute publishinteractive file by passing it a test.ps1 parameter

[12:45:07]Mode LastWriteTime Length Name

[12:45:07]---- ------------- ------ ----

[12:45:07]d---- 13/08/2012 12:45 abc.vbproj_zip

[12:45:07]Extracting .zip file

[12:45:08]Deploy folder []

[12:45:08]Skipping transform since a transform name was not specified

[12:45:08]Error: Object of type 'archiveDir' and path 'Z:\publish\trunk\abc\obj\Deploy-Test\Package\abc.vbproj.zip' cannot be created.

[12:45:08]Error: The archive directory 'Z:\publish\trunk\abc\obj\Deploy-Test\Package\abc.vbproj.zip' could not be loaded.

[12:45:08]Error: Could not find directory 'Z:\publish\trunk\abc\obj\Deploy-Test\Package\abc.vbproj.zip'.

[12:45:08]Error count: 1.

I am passing it the required values in a parameter file and also transform parameter is there but still it is saying no name given.

Please guide. What I am doing wrong here.

@sayedihashimi
Copy link
Owner

OK I have never tried from Team City. Could you give a bit more specific repro steps so that I can try it out after I setup Team City?

@ghost ghost assigned sayedihashimi Aug 13, 2012
@msgigabyte
Copy link
Author

Thank you. I am using the following steps on teamcity:

  1. Creating a package for a project using the command /M /T:Package /P:Configuration=Deploy-Test
  2. then copying publish-interactive and parameter files under the obj path using xcopy from command line set up:-
    /s /y %env.checkoutDir%\abc_Package\PublishTestConfig.ps1 %env.checkoutDir%\abc\obj%env.Configuration%\Package\ and similarly the Publish-interactive.ps1 file on that path
  3. then I am running powershell executable from command line and running the script:-
    -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command .\Publish-Interactive.ps1 PublishTestConfig.ps1

Please guide.

@msgigabyte
Copy link
Author

Eagerly waiting for your reply.

@sayedihashimi sayedihashimi removed their assignment Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants