Error on method Project.CreateDeploymentPackage() - Value cannot be null. Parameter name: path1

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

Not Ranked
5 Posts
Points 14
Vercuski posted on Fri, Feb 24 2012 12:40 PM

Server Setup:

Visual Studio 2010

K2 Blackpearl

Windows Server 2008 R2 Standard (64-bit)

Setup:

I am attempting to write an automated build engine for K2 projects. I have used the code from the following URL as a starting point. 

Issue:

When I hit the following line of code ...

package = project.CreateDeploymentPackage();

The following exception is thrown:

Message: "Exception has been thrown by the target of an invocation."

Inner Exception: Value cannot be null.\r\nParameter name: path1

I'm not sure where this parameter is set or what this error means. I'm not seeing a value to set in any of my objects. I searched the underground and found the following URL and implemented JohanL's solution at the bottom of the page but it has not solved the issue. Has anyone else experienced this issue?

Page 1 of 1 (1 items) | RSS