One of the possible solutions is creating a dummy class to carry the data when I want to save my data.
Yes - they're called "Data Transfer Objects" (DTOs) and they're commonly used in situations like yours.
If the properties between the classes in A and B are the same, then tools like AutoMapper make life easier by automatically creating a mapping between the two classes.
The drawback, however, is when you have situations where your properties don't map directly, you must figure out how to configure AutoMapper to map between the two classes. If you have to do complex translations, then custom coding gives you the most flexibility.
As a side note, this isn't a cross-language problem as your classes are CLR clases in both languages. THe same issue arises when dealing with two C# projects.