I am using the latest visualstudio that comes with an older version of bootstrap 3 (when I choose the application template).
I tried to manually copy the lib files in the root folder of the new bootstrap 4 and the intellisense does not recognize it. Also the styles are not applied.
I tried installing the bootstrap package 4 (but it says incompatible) but nothing happen.
Which are the steps to have a fully working version of the new bootstrap on VS?
There's an older question on StackOverflow which could contain the answer to your question.
If you didn't do already, give it a try: Can you make visual studio scaffold etc. with bootstrap 4 in .NET MVC templates?
Related
When I try to apply themes to my ASP.NET project, VS gets upset with me. I've tried several themes from bootswatch, all with the same errors. An example is... Validation (CSS 4.0): "-ms-flex-positive" is not a known CSS property.
It's throwing dozens of these errors for bootstrap.css. When I use an old version of the same theme from 3.4.1 it only throws a couple of errors... Validation (CSS 4.0): "appearance" is not a known CSS property.
I understand that it's trying to reference values that are supposed to exist somewhere, but I don't know where or what setup I'm doing incorrectly. I've made sure that 4.5.0 is installed in the NuGet Package Manager. What am I missing?
i am developing dynamic web project with bootstrap templates every thing is working fine even view is rendering perfect.
in home.jsp file in which i have link css(bootstrap files & my customized files) file
<link rel="stylesheet" href="<c:url value="/resources/bootstrap/css/bootstrap.min.css"/>">
but in my code when i press ctrl+space it does not show me suggestion for css classes in
<div class="..">
i am using eclipse neon please help me thank
Depending on which Eclipse package you installed you may already have the CSS and HTML editors. If you don't then you can install them using Help > Install New Software. Choose the software site for your version of Eclipse in the drop down list and look at the Web, XML, Jave EE and OSGi Enterprise Development section. The Eclipse Web Developer Tools section contains the editors you want but the other sections may also be of interest.
And if this plugin for eclipse will work for you
Researching this a bit and reading over your comments it seems that you are using Eclipse with the Aptana extension. If you absolutely do not need to use the Eclipse environment you could now download the Aptana Studio 3 which is based on Eclipse. It looks just like eclipse but is Aptana. Now instead of entering this and looking for Aptana plugins you are going to go into Aptana and look for eclipse plugins. I've installed this myself and have installed several plugins that handle all sorts of things such as javascript code completion, source code formatting etc.
If you go to this site http://www.aptana.com/ you can download the software there. To get all of the plugins, you can do use this site to guide you through some terrific source code completion utilities as well as others. http://jebaird.com/2012/11/02/useful-plugins-for-aptana-studio-3.html
Editing cshtml files, I'm used to getting Bootstrap intellisense, regardless of what classes I've already used in said file, like so:
Originally, I thought it was just Bootstrap intellisense, but it appears that this is affecting all CSS for my new project. I can link to the CSS files, directly reference the layout file, it doesn't matter. The Bootstrap and other CSS classes do not show, unless I've already used them in the same file:
I've tried to minimize the differences between the two projects, but to no avail. They are on different machines, in different solutions, but everything else is virtually exactly the same. Here's what I've checked/tried so far.
Delete the project, re-add it.
Remove the Bootstrap Nuget package re-add it
Remove the Bootstrap Snippet Pack, Glyphfriend, Web Essentials 2015.2 extensions, re-add them.
Delete the bin and obj folders, build, clean, rebuild, close/reopen VS, restart Windows.
Deleted this folder to allow for recreation: C:\Users\MyUserName\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
Both machines are running VS 2015 Update 2.
Both projects are MVC 5.
Installed all updates possible in Nuget Package Manager
Known differences
- The machine it works on is running Windows 7, the machine it doesn't is running Windows 10.
I've run into this problem again and found a solution! I'm not sure if it's the same as the original problem I had, but here's the fix anyway.
If the solution has a SQL project (.dbproj), unload it (right click > unload project). There's some weird bug in VS2015 with Bootstrap and SQL database projects that make intellisense for Bootstrap stop working.
In order to get "Class" IntelliSense in VS 2015, try this method. It works for me as follows:
Ex: Right click on any .aspx file in "Solution Explorer" of VS then select "Open With" option then from the list select "HTML Editor" option. Now try to check.
Thanks
Ali
To be clear, this code was working for many years using Flex 4.5.1. As such, this is not answered by; Error migrating Flex 3 to Flex 4
I am bulk generating Font CSS SWF in Flash Builder. There are nearly 700 of them, so I cannot do it in my main project, but have a related project to do so. Both projects are compiled using the same SDK (I have tried 4.6.0 (Adobe), 4.12.0 (Apache Flex), 4.13.0 (Apache Flex)).
However, since upgrading to 4.6+ from 4.5.1, I can no longer import fonts on demand as they immediately trigger Error: Compatibility version has already been read. error on load.
Can anybody direct me to a workaround for this? Or explain what causes compatibility version to be written on load of SWF?
See my comment above. This was resolved to inconsistent SDK in a complex build environment. Once everything matched (exactly) the issue disappeared.
I installed Flex Builder plug in (3.2) into Eclipse 3.4. The installation had no errors, but I get this error when trying to start a new Flex Project.
The selected wizard could not be started.
Plug-in com.adobe.flexbuilder.apollo.ui was unable to load class com.adobe.flexbuilder.apollo.ui.wizards.flex.FlexApolloProjectWizard.
com/adobe/flexbuilder/editors/common/ui/project/wizards/AbstractFlexProjectWizar d
I have tried re-installing several times, even tried the older eclipse versions.
Any thoughts ?
When Flex is installed on a Windows machine, it generates two versions of the Flex SDK, one in C:/Programs Files/Adobe/Flex Builder 3 Plug-in and the other in your Eclipse directory (not sure if this is true on a Mac). I've fixed similar issues by copying missing files from the Flex Builder folder into the parallel Eclipse plug-in directory. That would be my first guess.
If that does not work, you may have to contact Adobe.
Sometimes Flex is... terrible. I mean absolutely awful.
There was a major kerfluful with the fact that FlexBuilder would install correctly in Eclipse 3.4. The new Flashbuilder, for version 4 is designed to work with 3.5(galileo), I'm hoping that it will work with Helios, so I will no longer need to keep multiple Eclipse versions going. Here's a link on how to make it work. I just hope we don't have to keep repeating this.