To solve the problem just install it using the ASP.NET Web Pages Administration in the Settings workspace.Ħ. The database object could not be located because it resides in the Webmatrix.data class which is not installed when we created an empty site. ![]() The cause of the error is the database object. But when you run the project you will get an error.ĥ. That’s it! You can now write VB code in your Webmatrix 2 project as shown below. Transfer those files to the root directory and delete the Microsoft Templates directory.Ĥ. Once installed, Webmatrix 2 will add files to your project. ![]() Then install the Bakery Template (VB) in the NuGet gallery.ģ. Once the empty site is created, delete immediately the Default.cshtml file at the Files workspace. To create a VB.Net Webmatrix 2 site just follow the steps below:ġ. ![]() Most of the Webmatrix 2 site template, actually all of them are in C#.
0 Comments
Leave a Reply. |