Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Doesn't build out of the box #10

Open
jamsoft opened this issue Mar 25, 2018 · 3 comments
Open

Project Doesn't build out of the box #10

jamsoft opened this issue Mar 25, 2018 · 3 comments

Comments

@jamsoft
Copy link

jamsoft commented Mar 25, 2018

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).

@RonaldCarter
Copy link
Owner

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

@lextm
Copy link

lextm commented Aug 2, 2018

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

@DRSDavidSoft
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants