Description
"Is anyone aware of a variable available to get project or solution root from launchSettings.json?
I'm currently working on the out of the box experience of my solution, and what we have now is a batch file that sets an environment variable for solution root, then the launchSettings.json file references that variable.
I am hoping to get rid of the batch file.
If I could put it into the pre-build step, I would, but on first open of the solution, it sets the environment variable, and Visual Studio needs to be restarted to access it anyways."
One option is to use the environment variables yes... %MY_ENV_ROOT%
Looks like all the regular macros are available: $(SolutionDir)
does the trick.
"$(SolutionDir)src\\Project.Name\\bin\\$(Configuration)\\$(Platform)\\Project.Name.dll"