BundleConfig.vb - VisualBasic.Net

1

Good afternoon.

I am starting a new "Website", made in Visual Basic .NET.

I recently started using MVC (C #), and a feature that I thought was good is the "BundleConfig" that allows you to group different CSS and JS scripts, to render on the page.

Well, I managed to make this feature work in my Visual Basic solution, and it works without problems, when I test the application.

The inconvenience I have when using the intellisense of CSS classes.

If I add the script in the traditional way:

<link rel="stylesheet" runat="server" media="screen" href="~/css/styles.css" />

the intellisense works without problems and suggests the name of the classes I can use.

Now when adding them with the Script.Render:

<%: Styles.Render("~/bundles/BoostrapCSS") %>

Intellisense does not work for me and does not show any class (I use boostrap in the solution).

This DOES NOT happen to me with the solution that is MVC (C #), but with this one that is a Visual Basic .NET Web Site.

Is there any configuration to add for the intellisense to work?

Thank you very much for your time.
Greetings.

    
asked by Takumi 14.11.2018 в 20:31
source

0 answers