cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
barbara_winkler
Level 3

error -6225 Resolving Project output when building from the command line

Using InstallShield Limited Edition with VS2015. The solution has two setup projects.
The setup projects build fine when Visual Studio is run in interactive mode.

But this is for a build server, so Visual Studio is run from the command line. The command line is 'devenv.com "mySolution.sln" /Rebuild Release'.

This gives error : "-6225: Resolving Visual Studio .NET project output... "

Nothing but the Primary Output is included in each setup.
The solution structure is quite regular:

MySolutionDir\mySolution.sln
MySolutionDir\MyProject1\MyProject1.csproj
MySolutionDir\MyProject2\MyProject2.csproj
MySolutionDir\SetupProject1\SetupProject1.isproj
MySolutionDir\SetupProject2\SetupProject2.isproj

The build server needs to be able to build as well, please help.
0 Kudos
(2) Replies
barbara_winkler
Level 3

Update, the build works using MSBuild -- from the command line. When run by a service (the build server), the license is not recognised (-7159: The product license has expired or has not yet been initialized).
0 Kudos
barbara_winkler
Level 3

Yet another update, the build works when being the build server user and running the build interactively, from the command line, even if the build server user does not have administrative rights.

But when that same user runs the build as a service, like a build server, in the background, the license exception occurs.

When then that user gets administrative rights, the license problem goes away.

This is not ideal: The build server has to have administrative rights on the machine it runs on.
0 Kudos