In addition to what was mentioned in the other solution, you are trying to append a fully qualified path to another fully qualified path. You can't do that.
Also, the path you got from location includes the executable name. That's not going to work for you either. If you want the path to the folder the .EXE was launched from, you need to remove the .EXE at the end of the path first.
var exePath = Assembly.GetEntryAssembly().Location;
var folder = Path.GetDirectoryName(exePath);
var logPath = Path.Combine(folder, "test.txt");