Generated code not included in VS2019 project
Posted: Wed 16 Dec 2020 17:34
I upgraded to dotConnect for PostgreSQL Ver. 7.20.1782 and Entity Developer Ver. 6.10.1135. VS2019 Community is Version 16.8.3. My project targets .NET Framework 4.6.2.
Using Entity Developer standalone, the code generation doesn't update the VS2019 project. For example, I can add a class to the model, save the model and run code generation. The C# code file is generated properly, but the VS2019 project doesn't change to include the new code file. If I then delete the class, save the model, and run code generation, the C# file is properly deleted.
If I use VS2019 integrated Entity Developer, everything seems to work fine. I really like using the standalone application, though. I've used it for years and its worked fine until now.
I am using a user template based on DbContext.
How can I get the standalone code generation to update the VS2019 project again?
Using Entity Developer standalone, the code generation doesn't update the VS2019 project. For example, I can add a class to the model, save the model and run code generation. The C# code file is generated properly, but the VS2019 project doesn't change to include the new code file. If I then delete the class, save the model, and run code generation, the C# file is properly deleted.
If I use VS2019 integrated Entity Developer, everything seems to work fine. I really like using the standalone application, though. I've used it for years and its worked fine until now.
I am using a user template based on DbContext.
How can I get the standalone code generation to update the VS2019 project again?