Pryaxis/TSAPI

Regression: Not possible to run bootstrapper with 1 click in VS2017

hakusaro opened this issue · 0 comments

A change introduced in 1ebf418 requires an env.config to be present in the build folder in order to run the bootstrapper in one click. It looks like a55a178 should have enabled a pre-build event that would create the env.config file in the output directory, but it doesn't do that on VS2017. I have no idea what causes this -- I'm not a Visual Studio person -- but the result is pretty clear: you can't 1-click run the bootstrapper anymore.

As part of Pryaxis/TShock#1558 I'm trying to document the build process. Right now I have to write an extra instruction to build the bootstrapper, make an env.config and then run it, which is a stupid amount of friction to go through. This needs to be a 1-click event because the process is already complicated enough as it is, between submodules, nuget, patchers, and more builds.

I'm marking this as high importance because it currently breaks the build instructions that we have officially published. This needs to be resolved as soon as possible.