Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix the "The system cannot find the file specified. (Exception from HRESULT:0X80070002)" error in Visual Studio?

Tags:

i trying to create a new project in visual studio .it give some error

please give me some suggestions.....enter image description here

i don't know this happen. i am trying to reinstall and again same error is coming .

i try this cant work ...

like image 468
Sankar Avatar asked Feb 03 '15 12:02

Sankar


2 Answers

Try 1 first if not other one

  1. Go to Extentions and updates then Search Nuget and uninstall it, restart visual studio, again install Nuget then again restart. you should be able to create your new project.
  2. Repair your Visual Studio 2013 or 2015
like image 51
Charitha Goonewardena Avatar answered Oct 27 '22 13:10

Charitha Goonewardena


I am using Visual Studio 2015 Express Web and had the same problem. I searched a lot for solutions and none of these worked:

  • Reinstall Nuget for Visual Studio 2015
  • Replace Nuget for Visual Studio 2015 with the former Nuget
  • Run Visual Studio as Administrator
  • Modify/Delete IISExpress applicationhost.config file
  • Reinstall IISExpress

The only thing that solved it was a Repair-install of Visual Studio:

  • Press Windows + R
  • Enter appwiz.cpl and press Enter
  • Right-click the entry "Microsoft Visual Studio Express 2015 for Web" and click "Repair"
  • Be patient...

Note: This is going to reinstall all packages that you have uninstalled, because you weren't needing them (eg. Microsoft SQL Server Native Client).

like image 26
Krisztián Balla Avatar answered Oct 27 '22 13:10

Krisztián Balla