DBML file problem in Visual Studio 2008 Version 9.0.21022.8 RTM
-
Monday, April 14, 2008 1:13 PM
I think this could be a potential bug.
I am currently working on Visual Studio 2008
Version 9.0.21022.8 RTM.
When you create the dbml file using the LINQ to SQL
the automatically generated layout file and designer file does add to the created dbml object
I am using vb as the language.But I can see those files created in the directory.
However it works fine in c#
Thanks
Prakash Mohan
All Replies
-
Thursday, April 17, 2008 2:34 AM
Hi Prakash Mohan2000,
I have tested your case in my Visual Studio 2008 (the version is exactly like your VS), actually, I add a DBML file to my VB.Net project (file name is DataClasses1.dbml), and then I cannot find any .vb files which attach the DBML in the solution explorer of the IDE, however, if you open the project folder, you will find the DBML attached files (such as DataClasses1.dbml.layout, DataClasses1.designer.vb), and you can use them in your project.
I am not sure why Visual basic 2008 performs not like Visual C# 2008 in LINQ to SQL, but I do not think it is a bug.
Regards,
Xun
-
Thursday, April 17, 2008 12:18 PM
I figured out the problem.
There is an option called show all files in the solution explorer window.When you click on that.
You can view the layout and the .vb file.
Thanks
Prakash Mohan

