PHPManager icon indicating copy to clipboard operation
PHPManager copied to clipboard

Project Doesn't build out of the box

Open jamsoft opened this issue 7 years ago • 3 comments

Really appreciate your efforts on this. The two post-build events don't work out of the box. I disabled them and have built the installer, installs fine, though I think it has some permissions issues (not surprising).

jamsoft avatar Mar 25 '18 15:03 jamsoft

Yes. You have to run Visual Studio as Administrator as the installer interacts with the GAC and this requires administrative rights. Also with the configuration of Debug it is broken with the Post-build event command line, I haven't bothered to update where it is looking for the files. Also you need to have IIS installed on the development machine, Not express but the Windows feature version of IIS due to Microsoft.Web.Management not being available via NuGet

Issues to fix Make the project request administrative rights on build or load? if possible? Update the configuration so the Debug isn't broken and also add the requirements to the front page. Potentially add Microsoft.Web.Management.dll into build folder and update paths? but unsure of related dependencies

RonaldCarter avatar Mar 25 '18 19:03 RonaldCarter

The post build events are used to update assemblies in GAC. Generally speaking, that's only useful when you attempt to debug code changes you make.

Most end users just need the installers. And that's why you can build the installer and install without a problem.

I wrote an article to document the source code of this project,

http://www.phpmanager.xyz/en/latest/getting-started/source.html

lextm avatar Aug 02 '18 01:08 lextm

@RonaldCarter Is it possible by any chance to set-up AppVeyor CI?

DRSDavidSoft avatar Aug 03 '18 13:08 DRSDavidSoft