I am unable toduplicate your compilation failure issue. Can youattach the projectlog file with environment variables? You can enable the environment variables through Tools >> Options >> Projects and Solutions >> VC++ Project Settings. Change the option for the "Show Environment in Log" to Yes thenrebuild your project. The test.log file should be located under your \test\test\x64\Release file directory.
From your log it looks like compiler is again getting a relative path for the C file (..\..\main.c). It does not look like the source file is in the right place in the hierarchy.
What I suggested was:
TEST <- solution dir
+ TEST <- project dir
+ SRC <- source dir for project
The path compiler is getting in the command line should be something like .\test\test\src\main.c in that case.
Can you please also try creating a new project without creating a separate solution folder (i.e. leave the option unchecked) and keep the source in the main folder just like it is usually done? I would like to eliminate folder hierarchy as a possible cause.
Cannot open source file: '.\main.c': No such file or directoryand ifit still craches follow the instruction #4...