Is this the right place for AS bugs?
Updated to AS7 recently.
It seems to have this new bug: The "LinkTo" on a new c/h file, that is outside the project path.... the resulting path that is placed in the .cproj file, is not valid.
Make a project,
In solution explorer, right click src and select Add...Add Existing.
Navigate to some c/h files outside the project path, and then "Add as Link" them (click the down arrow on the Add button).
Add all the proper includes, path includes in settings to project and compile.
save,
Now Unload the project (right click in the solution explorer, Unload project), and reload.
The AS7 has now rearranged the file layout on the solution explorer, putting the extra files into its own root folder. Try to add /rename these - it fails.
Now Unload the project, and reload again.
The AS7 has embedded several levels of (non existent) paths.
AS 7 will no longer allow new subfolders in the external files, and keep putting everything back into a flat single folder.
It fails because in the .cproj file, the <Link> path is invalid
<ItemGroup>
<Compile Include="..\..\..\common\parts\part-123.c">
<SubType>compile</SubType>
<Link>bad_LinkTo\src\part-123.c</Link>
</Compile>
<Compile Include="..\..\..\common\parts\part-123.h">
<SubType>compile</SubType>
<Link>bad_LinkTo\src\part-123.h</Link>
</Compile>
******************
The correct entry is:
The <Link> path should be the path within the Solution explorer, that the user set : <Link>src\part-123.h</Link>
That is how it worked (properly) before in AS 6.2 and before. If we hand edit the .cproj, it works proper too.
Simple sample project included All those nested New folders were cooked up by AS.