TheDevOpsGuru
TheDevOpsGuru

Reputation: 1580

The project has an assembly reference missing it's <Private> element

I am trying to use cruise control .net to build a solution using msbuild. When the project is built inside of Visual Studio (2010) I do not receive any errors; however, when I try to let cruise control build the project I receive the following error:

The project has an assembly reference missing it's <Private> element.

The project does not have any missing assembly references, so I know this is not the issue.

I have scoured Google for an answer and have found nothing... have any of you run into this issue before? Any help would be greatly appreciated.

Thanks.

Upvotes: 0

Views: 1404

Answers (2)

Chris B
Chris B

Reputation: 926

Psychic Guess: Try editing the project file directly and add the following tag

<Private>True</Private>

to the inside of the Reference tag (for the dependency/ies that is/are having issues)

Otherwise can you link the msbuild output and the project file in question.

Upvotes: 1

jimreed
jimreed

Reputation: 402

Here are a several guesses:

  • Are you fetching everything from source control?
  • Are any references to dlls using the full path that doesn't exist on the build machine?
  • Do you have a difference in build order for debug and release builds?

Upvotes: 0

Related Questions