| Hello everyone and thanks in advance for your time 
and efforts. I have been struggling with a code generation 
issue. After updating to DevForce 2010 v6.1.3.1 when I regenerated the Models 
the code files and code generated are in C# when the project is a VB project. 
After lots of time and troubleshooting it seems to also affect the previous 
version of DevForce as well. This appears to only happen when the Code is under 
source control with TFS 2010. I am able to create VB Projects that are not under 
source control and they generate in the proper code language. As soon as the 
projects are added to source control any regeneration will cause the code to be 
C#.  The environment: Windows 7 Ultimate x64 with current 
updates. Entity Framework 4.1 SQLCe 4 DevForce 2010 v6.1.3.1 TFS 2010 updated Visual Studio 2010 Ultimate Sp1 Code Contracts ReSharper 6 Visual Studio Default Environment: VB General 
Development Empty .Net 4 VB Asp.Net Web projects for the 
Data Models and Code Generation files (edmx and tt files) (VB Class 
projects) .Net 4 VB Class projects link to the Generated 
models (Entities) code files. Any help or ideals are greatly appreciated. I 
am working on a work around of just not adding the Dummy Web Projects to Source 
Control but keeping the links from Source Controlled Projects to the generated 
code files. Thanks again for your time and 
attention. William OttO Яawson   p.s. The reason for using Dummy Web 
Projects is that SQLCe 4 is not supported in the designers and wizards for non 
Web projects at this time in Visual Studio 2010. So by using Web projects that 
actually hold the files and do the Code Generation and maintenance I can just 
link to the generated code files that I need in the real projects where they are 
compiled as part of that namespace and assembly etc.. |