i trying to create a new project in visual studio .it give some error
please give me some suggestions.....
i don't know this happen. i am trying to reinstall and again same error is coming .
i try this cant work ...
Try 1 first if not other one
Extentions and updatesthen Search
Nugetand uninstall it, restart visual studio, again install
Nugetthen again restart. you should be able to create your new project.
I am using Visual Studio 2015 Express Web and had the same problem. I searched a lot for solutions and none of these worked:
The only thing that solved it was a Repair-install of Visual Studio:
appwiz.cpland press Enter
Note: This is going to reinstall all packages that you have uninstalled, because you weren't needing them (eg. Microsoft SQL Server Native Client).
I encountered a similar problem when creating a .NET core project in VS 2015, and it's resolved by repairing .NET Core. The possible reason is, my .NET core was installed associated with VS community version, but later I uninstall VS community and reinstall professional version, but .NET Core was not uninstalled with community version uninstall. After repairing .NET core from control panel, it works now.
I had the same error using VS community 2017 (and previous), when trying to open a .cs file, or trying to open project properties. All that on a fresh VS install on a fresh Windows 10 install...
I found 2 solutions:
Start VS as admin (which is not a good choice, and may prevent debugging drag&drop into your app).
Change security settings of your %temp% folder to "everyone - full control". :)
Solution by Andriy Svyryd:
Modifying Visual Studio 2015 installation and unchecking Microsoft Web Developer Tools Deleting C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\DNX folder that was left from a previous version of the tools. Deleting %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache Deleting %LocalAppData%\Microsoft\VisualStudio\14.0\devenv.exe.config Running repair on the preview2 tooling.
Do you have the relevent components installed along with Visual Studio?
I was getting this error when trying to add a new Axure Mobile Services project. Knowing how long repairing Visual Studio takes, I hoped to avoid that.
What fixed it for me was opening up Programs and Features, and selecting "Modify" Visual Studio rather than "Repair".
I'm not sure if there was an error in a previous installation that I didn't notice, but Web Tools wasn't selected in the installed components. After selecting that, installing, and restarting my computer, I no longer got the error when trying to add a new project.
I encountered the same problem when I try to create ASP.NET MVC 4 web application in VS 2012.
To resolve this issue In VS 2012 click on Tools (menu)>>Extensions and Updates (menu item) >> in the Extensions and Updates window click on Updates menu.
Install pending updates for VS 2012 and also for Nuget.
Restart the VS 2012.
User contributions licensed under CC BY-SA 3.0