enter image description here
Hi everyone,
I did something to the solution explorer that make the .xaml files dissappear. The .xaml.cs files are still there and the .xaml pages are just hidden somehow. When i close a new project and open it up again they will appear again.
Does someone know what i did wrong here?
Whenever I had issues with pages not coming up in the solution explorer it would usually be because something messed up in my csproj file, maybe you can just verify all the files for your project are listed in the csproj file
Related
I have started using Intellij and I am trying to find a feature that was in eclipse. I often navigate to a file either through the code or through a CTRL-N search. When I have the file I found open, I want to see which project and which folder of the project the file is in. I found a way to open the file in Windows Explorer which tells me what I want but I would rather stay in intellij and see the folders on the left expanded to the location of the file. Does this exist in intellij?
Thanks
On the heading of Project Explorer panel their will be a circle with 4 lines inside it.
Press that it will take you to the place where you file is inside the project
Image upload not working thats why explaination
I got this problem in visual studio project were i was able to clicked the FILE menu and Clicked "Save as 'FormDesigner'" to a separate folder expecting that i would be able to save the whole project to separate folder as backup file. But i was wrong about it. And then i permanently deleted the file. When i run my project this errors appears:
Unable to open module file
'D:SISBackup\StudentEnrollment.designer.vb': The system cannot find
the file specified.
Unable open module file
'D:SISBackup\StudentEnrollment.vb': The system cannot find the file
specified
But luckily the form still run the code. But i can no longer open the Form from Solution explorer. This error always appear from it:
Cannot find the file 'D:SISBackup\StudentEnrollment.vb'. It may have
been moved or deleted.
Can anybody help me with my problem. PLEASE i don't know what to do anymore. It's my school requirement. Please help me with this.
HELP!
I am not familiar with the development environment of Visual Studio, but I really need help on this problem or I cant open the file again.
It is a finished project and I copy and paste it in another file on the same hard disk of my computer, while I didnt copy the solution file but only the file with those bin, My Project, obj and etc included in it.
Then I rename the file name in the window explorer, while the .vb , .vbproj and .resx file stay in the same name as the original file did.
When I try to open the Project through the Solution file, weird things occur, all those modules windows disappeared, those design form, the .vb modules, all disappeared, and in the Solution Explorer, instead of showing the OriginalFile.vb, it shows the renameFile.vb, then I deleted the renameFile, and try to open it again, and yet, the problem is still not solved, the Solution Explorer is still showing the renameFile.vb, and I have no idea what is happening, since I really dont know how the file of Visual Studio works.
There are error messages showed on the list, it is,
Unable to open module file 'F:\RenamedFile_Location.vb': System Error &H80070003&
from line 1 of both RenamedFile.vb and RenamedFile.Designer.vb
I tested the program in the Release/Debug file in the OriginalFile, and the program still works, but still cannot open the Solution file
Any help and suggestions would be appreciated, I dont really understand why and how does this problem occurs, so if it is not able to be solved, I am going to redo my whole project.
I have imported the folder containing SUPQueueConnection.h to the project and to the project root too. Still it is showing the same error SUPQueueConnection.h file not found.
And we imported all such needed .h and .m files to the project root.
Is there any other way for doing it?
Can anyone please help me in solving this problem?
In project navigation bar of your project check the folder you imported that it actually contains SUPQueueConnection.h file or not and if it is there try to import header file in the class in which you are using "SUPQueueConnection.h" file.Also if project is showing SUPQueueConnection.h file then right click on this file and click "Show IN Finder" option to see where actually the file is.Make sure it is copied in project folder.
If it does not solve the problem try deleting this file and drag and drop SUPQueueConnection.h again in project directly and make sure while copying on target your project is check marked.
Have you made sure that the files that aren't found are actually in your Xcode project? Make sure you can see the files somewhere in the sidebar. I've never actually tried it, but I don't think you can simply access files in the project directory root, they must be in your project. Xcode has changed since I used it last (been doing other things) but I think you can still add files by right clicking somewhere in your sidebar, also unless its changed you can add external files using a button in the file menu
I have a problem using Intellij Idea.
I am absolutely unable to load text file as InputStream - it doesnt matter where do I put the file (main/java, main/resources...) it just can't find the file - in Eclipse everything works just fine.
I tried setings->compiler->resource patterns and added ?*.txt but that doesn't seem to work either.
Any help is appreciated.
If you load it as a File, make sure that Working Directory is properly set in IDEA Run/Debug Configuration, since it's the default directory where Java will look for a file when you try to access it like new File("file.txt"). Working directory should be set to the directory of your project containing .txt files.
If you load files as a classpath resource, then they should reside somewhere under Source root and will be copied to the classpath according to Settings | Compiler | Resource Patterns.
If you can't get it working, upload your project somewhere including IDEA project files so that we can point to your mistake.
Look at the image, notice that the txt files are in the project root, and not the source folders (in blue).
If you open the Project Structure dialog, and click on Modules and select your module - are the correct folders marked as Source Folders on the sources tab?
Link for how to get to Project Structure dialog
Also, if you print out the absolute path of that file you are trying to read, is that anywhere near where you expect it to be?
An easy way to figure out the same would be to try creating a file in the same fashion and see where it gets created in your project. You can put your input file at the same location and it should work just fine (if it doesn't, you should check your resource pattern which might be causing the file to be not copied over in the build output).
This method actually gives you the working directory of your intellij settings which is pointed out in the accepted answer. Just sharing as I had similar trouble and I figured out this way. :)