So I'm trying to learn C# by using SharpDev instead of Visual Studio C#, and one of my tasks in the book which I am using(HeadFirst C#) is to just do the following:
1)From Solution Explorer, right-click the project
2) Choose SQL Database icon, and name it something.
And from there, it creates a database. So that's Visual Studio, and I accept that it has an integrated SQL server.
I figure it'll be harder for me in SharpDevelop, but it should at least be possible. No cigar. Even attempting to download the sample AdventureTime database for SQL Server 2008 express, installing it, and navigating through the Entity Framework Wizard, it won't even load the sample database.
As documented in:
http://www.screencast.com/users/ShonPan/folders/Jing/media/8c29b3af-281f-4907-88f0-3d81077983e1
1) I have to explicitly declare the local instance because it won't accept automatically locate
2) then it dies when trying to load AdventureTime with these errors
Detailed error message:
EdmGen for Microsoft (R) .NET Framework version 4.5
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Users\Sean\AppData\Local\Temp\tmp5DBE.ssdl(826,6) : error 0040: The Type hierarchyid is not qualified with a namespace or alias. Only primitive types can be used without qualification.
C:\Users\Sean\AppData\Local\Temp\tmp5DBE.ssdl(1053,6) : error 0040: The Type hierarchyid is not qualified with a namespace or alias. Only primitive types can be used without qualification.
C:\Users\Sean\AppData\Local\Temp\tmp5DBE.ssdl(1151,6) : error 0040: The Type hierarchyid is not qualified with a namespace or alias. Only primitive types can be used without qualification.
C:\Users\Sean\AppData\Local\Temp\tmp5DBE.ssdl(3204,6) : error 0040: The Type hierarchyid is not qualified with a namespace or alias. Only primitive types can be used without qualification."
What gives? I feel like I've been forced to return to Visual Studio C# just to follow the HeadFirst tutorial.