The reason why I need this is because the attribute I need to assign is added from NuGet package, which resides in the packages folder at the solution file level. I am then developing on two machines (work, and then home) and sharing my code across the two machines using a private git repository, and the project paths end up being different on both machines. So now if I make a change to the model, it throws an exception. I then have to manually edit the .edps file and change all the attribute assemblies to the correct path for my machine. I could install the packages in the GAC but this defeats the point of using packages in the first place, as the idea is that their portable and relative/isolated to the project.
All the relative paths seem to be relative to the Visual Studio IDE start path, but that isn't very useful. I understand that Entity Developer is being launched by the IDE so its getting its start in path from that, but is there a way that it can running with its start path relative to my solutions folder? That way the packages references can be relative. Also it might be useful to be able to change the file path within the Model Settings dialog instead of having to find it in the .edps file, because adding and removing from the dialog warns that it will remove the attributes from the entity properties...
Also, I seem to be getting another strange issue. I have set the Entity Namespace property to be "Entities", but whenever I save the model, it imports the namespace without using its full name E.g.
Code: Select all
Imports Entities
Code: Select all
Imports AssemblyNS.Data.Entities
Many thanks