cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Contributor II

Hi,

   

I think I've found a bug in PSoC Creator 4.1 that makes me lose my projects' dependencies when there is an outside change on the workspace file.

   

I have a workspace with multiple projects, and all projects are dependent on the components and code of one of those project. However, if I switch to a branch (git) which only has the "active project" different than my current branch (meaning the .cywrk gets overwritten outside of PSoC Creator), all the code dependencies are gone and I need to through each project's dependencies and activate the checkbox for "Code dependency" on the needed project.

   

Thank you,

   

Fred

0 Likes
Reply
1 Solution
Employee

The workaround for this issue is to close and re-open workspace or PSoC Creator. Re-opening the workspace is a faster means of accomplishing this. We will fix this issue in later release.

Thank you,

Jobin

View solution in original post

0 Likes
Reply
6 Replies
Employee

Can you please share your Creator's workspace of projects here

0 Likes
Reply
Contributor II

Sorry, I can't do that.

0 Likes
Reply
Honored Contributor II

Frederic,

All paths in project dependencies are relative to the project workspace folder.

When renaming, copying, or changing project path, only those dependencies stay, which relative path structure didn't change.

0 Likes
Reply
Contributor II

Hi,

The paths of my files don't change when I'm switching branches, it's only the code, and sometimes the .cysch and .cydwr.

I lose dependencies even when the only difference between two branches is the active project in the workspace.

0 Likes
Reply
Contributor II

I've also just found out that this only happens when I'm switching branches when PSoC Creator is open. If I close Creator, switch branch, and reopen Creator, the project dependencies are fine.

0 Likes
Reply
Employee

The workaround for this issue is to close and re-open workspace or PSoC Creator. Re-opening the workspace is a faster means of accomplishing this. We will fix this issue in later release.

Thank you,

Jobin

View solution in original post

0 Likes
Reply