I'm looking at a project written by an ex-colleague, in the file launchSettings.json
(under Properties) he has the following:
{
"profiles": {
"ProjectName": {
"commandName": "Executable",
"executablePath": "C:\\code\\project\\\\src\\project.name\\bin\\Debug\\net471\\NServiceBus.Host.exe"
}
}
}
Where that executablePath
is the path to where his local repository was. But ofcourse, other team members will not have the same local path. Which is fine and not something we should enforce.
Two questions:
- Why is it there, what's it's purpose?
- Can this be a relative path? -> Yes it can
-> "..\net471\NServiceBus.Host.exe"