DEV Community

loading...

Discussion on: Azure pipeline: Simple way to compile a Setup project (.vdproj) in pipeline

arpymastro profile image
Arpan

I ran this on command prompt locally first and getting same error.

Thread Thread
pradeepradyumna profile image
Pradeep Pradyumna Author

If you're getting the same error in command prompt, it means that the command you're passing is not right. Can you ommit the last two parameters and then run? It should build the solution and generate a build for the Setup Project.
Because I'm not aware why those two parameters are needed.

Thread Thread
arpymastro profile image
Arpan

Tried without /Project but still same.. ☹️

/Project is a valid switch for devenv.. check this - docs.microsoft.com/en-us/visualstu...

Thread Thread
pradeepradyumna profile image
Pradeep Pradyumna Author

Sometimes things like these get strange. I wanted to know, if you're able to build the solution, by simply right-clicking the solution file in Solution Explorer? Because there's no difference between actually building a solution by hand like this and doing it via command line. As both are going to do the same job.

Thread Thread
arpymastro profile image
Arpan

Yes I am able to build the solution in Visual Studio..

Thread Thread
pradeepradyumna profile image
Pradeep Pradyumna Author

Try this out, if you're still facing it. I once faced it and the link below helped me

stackoverflow.com/a/45580775/3978980