Does anyone know how to turn off these notifications?
Visual Studio 2022 with Net6? Clear them and click/move somewhere else on the page and they re-appear. They appear to be linked to the totally arbitrary Intellisense behaviour in Blazor Razor components.
These issues have disappeared with the latest updates to VS 2022.
Related
I am currently using Visual studio community 2019 version 16.1.3 I created a new web application - Blazor. I have made no changes to this new application.
Everything blazor related is showing up with the red line and
Error CS0103 The name 'currentCount' does not exist in the current context
The application does run though. Am i missing something to be able to use the intellisense with blazor?
The problem is that at the time of this question Blazor is still not released. I had installed Visual studio 2019 which did have blazor support but unfortunately the in intellisense only worked in Visual studio 2019 preview.
This is the anwser that was given in one of the comments above.
Updating to the latest preview version is what fixed it for me.
As suggested in answers of this question, I tried modifying the program but Microsoft Web Developer Tools is already checked and installed.
I've used to choose Basic MVC project template when I was in Visual studio 2013.
But now in visual Studio 2015 I didn't find any of those options, It now seems like this
It directly creates Internet Application as in template based on previous versions of VS after choosing MVC option as shown in image and I don't want that.
Is there any idea to get those templates in visual studio 2015 ? Actually I'm new in c#, web development and visual studio. Any suggestions, or even comments will be much appreciated.
In Visual Studio 2015 your Basic MVC project template in Visual studio 2013 is similar to creating an Empty project and adding MVC as a core reference
You can get it done by following the below when you get to this pop up
Hope this helped
I have a project which uses MVC and Bootstrap (C#). It was working 100% in VS2013. Yesterday, I moved to 2015, but now, all my MVC objects are not recognized by the IDE anymore.
I am getting the design time error:
HtmlHelper does not contain a definition for 'BeginForm'
and all other functions of HtmlHelper.
Is there a step when moving from 2013 to 2015 that is required to allow for MVC functionality to be available in the ide? Note, the solution compiles and runs perfectly. I just don't have code hints and the cshtml files all show errors when editing.
We believe these are occurring because you are currently using MVC 4, and MVC 4 tooling is not included with Visual Studio 2015. Only MVC 5 and MVC 6 tooling is included. If you are in fact using MVC 5 and seeing these issues, please do let us know. You can confirm you are using MVC 4 by opening packages.config and scrolling to the entry for Microsoft.AspNet.Mvc. If the version listed starts with "4", this means you are using MVC 4.
Having said that, we appreciate your feedback and the investment you have made in MVC 4. Based on yours and other customers’ feedback, we are looking into the possibility of making MVC 4 tooling available for Visual Studio 2015. In the meantime, your project will compile and run in Visual Studio 2015 despite the tooling issues. Alternatively, you can keep both Visual Studio 2013 and 2015 installed on your machine side-by-side. That way, you can use Visual Studio 2013 for MVC 4 projects and Visual Studio 2015 for MVC 5 and above projects.
I have experimented with Roslyn Code issues (and even blogged about them), but have lost touch with any progress being made on them.
The last I checked, code issues could only be used with Visual Studio 2013. Is this still the case, or is there a way to make it work with Visual Studio 2012?
No, there hasn't been any updates for Visual Studio 2012 in over two years and I don't believe Microsoft even distributes the September 2012 CTP anymore.
Even the support for Visual Studio 2013 is probably not good enough for production. There have been no more official releases of Roslyn for Visual Studio 2013 since April of last year.
On the old Codeplex page the following quote confirms this:
(note: this VS 2013 preview is quite out of date, and is no longer updated)
since one month I stacked in the Data Repeater of Visual Studio 2010, trying to display images of a table, but no result. at last some developers told me that visual studio 2010's Power Pack has bug, so they told me to try it with Visual Studio 2008, which I did, worked perfectly.
Now my problem is, either I should downgrade my project to 2008, which I tried according to some guidance by developers. but didn't worked for me. because that sort of conversion works for those who developed their projects in 2008, but mistakenly opened it in 2010.
The other way I may have is to look for some newer version of Visual Studio in which this power pack problem hopefully solved.
Does anyone have any idea, how to solve this problem? and one thing else, is this problem solved in Visual Studio 2012 or 2013? thanks in advance.