visual studio 2022 is not opening c# files. the error in solution explorer is "not found" Do not know how to access my files again.kindly view attached image as i am quite new to visual studi....
Related
I've upgraded from VS 2019 to VS 2022. I have found that Visual Studio 2022 is automatically collapsing Solution Explorer sub-folders trees whilst I edit the code. I do not have the CodeMaid extension installed and I have ticked the checkbox "Track Active Items in Solution Explorer" in Tools->Projects and Solutions->General.
Any ideas as to what I should do to keep these sub-folder trees expanded as I would like them to be?
In previous editions of Visual Studio I could get an OpenFileDialog by creating a reference to System.Windows.Forms. In Visual Studio 2022, when I click on Add and choose Reference, I can't find a reference to System.Windows.Forms. What is going on?
My project/solution of VS (VB) 2019 I was able to edit and publish till date. But now after uninstalling Visual Studio 2017, one of the form of my solution do not open and gives me error message:
There is no editor available for XYZ.vb (my Form file name with full
path). Make sure the application for the file type (.vb) is installed.
I am able to open all other forms other then one in the same solution.
What and where can be the problem?
I've just installed Productivity Power Tools 2013 for my Visual Studio 2013 and then playing with the option of this extension and I get crashed :-(
i.e.
The Solution Explorer window is now empty.
Cannot exit Visual Studio
Going for Tools - Extension and Updates fails too
What can I do to get back to where I was >.<
Find the correct folder under following folders for this extension and delete it
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0\Extensions
C:\Users\[username]\AppData\Roaming\Microsoft\VisualStudio\11.0\Extensions
I am trying to use the OneNote interop from visual studio 2010. I have OneNote 2010 installed, I am building a .net 2.0 win forms app. I add a reference, Select the COM tab, and choose either Microsoft OneNote 12.0 Object Library or Microsoft OneNote 14.0 Object Library. Regardless of what I choose, when I click ok my references list in my project shows Microsoft.Office.Interop.OneNote with a yellow warning icon next to it. If I try to compile I get an error:
The input file 'C:\Program Files\Microsoft Office\Office14\ONENOTE.EXE' is not a valid type library. D:\Develop\2.0\Projects\Office\OneNote\File Import\OneNote File Import\TlbImp OneNote File Import
I've done this before in earlier version of Visual Studio, is there something else I need to do?
No. I just tried and it works fine for me. Have you tried a project from scratch? Does it work if you target 4.0?