So im making a website on Visual Studio 2013. I have a folder of images with images inside. It used to be another image but I changed my name so i overwritten the image with the new one.
The html is right, however when i run it it still shows the old image.
I thought maybe it hasnt updated or didnt overwrite so ive been adding it over and that didnt work. I also tried deleting it altogether and then adding it fresh and that didnt work.
Then I thought maybe the file path is wrong - no. definately right.
What should I do? Every time i run it, it showing the old image even though it doesnt exist anymore.
A hard refresh was the answer for me, as Max said, typically Ctrl + F5. for me it was Fn F5
Related
Any time I try to use an image from my local machine, I get an error from VS Code saying "An error occurred while loading the image. Open file using vs code's standard text/binary editor."
The original drag and drop of the image into the file functions as in I can see the image in the text editor but if I click onto another file/folder and back onto the image file, I get this error. This is happening in this instance while trying to use a .ico file but it has been happening for about a week now with any image I try to use (.png, .ico, .jpg, etc...). I am on a Windows 10 machine and memory is not an issue.
I have tried disabling all extensions, replacing the file with another, making sure VS Code is up to date and completely closing VS Code and re-opening it.
Alright, I got the same issue last week, and this was how I fixed it:
Go to where you saved the project on your laptop, then drag and drop the images there. This should reflect in your VS Code.
Once the images were added through this route, they would not bring the initial error.
Let me know if you got what I said or if a short video will help!
So I am wondering how come my IDE1100 is not working. I went to the only question related to this and it was about xamarin, Other Answer, I am not working with xamarin at all. I clicked on the error for more help it said I don't have F1 button workign but it was working then the issues said I didn't have the RazorAssembly.cs or Assembly.cs files were missing. Okay so I did what they told me to do n the link above but unloading and reloading that also did nothing for me. I then ran clean build again then ran a code analysis on the solution and I got all these weird code naming violations and I did not have the originally. It all started from trying to create a new migration because I was changing variable names. I figured well I don't need the database only one person in it and then bam just like that the issue reappeared. I have no clue of what I done to actually create this error. I don't want to restart the whole project again. I am using VS 2022 with MVC project.
So it turns out that it was me that messed up but it would not show my errors at all when I tried to build.
so I clicked on where my mouse is at in the picture and just clicked on the plus sign. It was initially build + intelisense but when I clicked build only it actually showed me an error that was easy to fix. I had to change the view names because I changed them. usually it would show me this error even in build + intelisense this never happened before like wth and you see the name stuff is gone too this is baffeling is this actually normal with vs 2022.
I am having issues with using Atom text-editor. I have used it before on my system and all was fine. However, opening it today, I had the UI looking like this:
I have uninstalled it and reinstalled it, but to no avail. I have also deleted the local data file after installation and I keep getting the same UI.
Any help would be awesome!
If you are wanting to get rid of the panel(s) at the right side of the window, that is your debug console. Just click the "x" at the upper right corner (in the light-gray section, not in the application title bar) and it will go away.
If that is not what you meant, you need to clarify the question.
I managed to fix it. I was not expecting the above layout after a fresh reinstall. This was what I expected (and am used to).
Somehow the .atom folder in C:\Users\%USER%.atom was completely hidden and read only, so I had trouble locating it. After using the terminal to access the folder, I inspected discovered its properties. After removing the hidden and read-only attributes, I deleted the folder and reinstalled Atom and it managed to fix the issue.
If anyone have any clue at all, it would be welcome. I got the same problem last year, and we end up ghosting my computer. 9 month later, I got the problem again ...
Whenever I open a project, if I open a form in my designer, the resx files get automaticly checked-out and modified as I open it.
( we have an auto-check out policy at work that force you to check out a file WHEN YOU MODIFY IT, to avoid 2 programmer working on the same stuff. its not support to check out when I'm just "reading" a file. I just compared with other poeple, and it works correctly for everyone but me.)
The above image is what I saw when I debug the program, I didnt checked-in anything. I just did a getlatest, and debugged.
Whenever I open a form, The width property of the form gets overwritted down to 770 pixel instead of the regular 950. the image data used on our button gets resize smaller too by ±10 pixel width and height.
Another exemple : this is what I saw when I compared my last resx file checked in from last night. I didnt modified the design or moved anything in the designer at all, it just happened to be open while I was working.
remove the .suo file?
while the solution is closed remove the .suo file and then open the solution to recreate it. it may be restoring the screen sizes from when you last opened the file.
Old bug date from vs2003 ...
my screen DPI wasnt the same as the guy who 1st build the winform ... which cause the desginer to replace all the anchors et fonts et whatnot ...
check out this post for more details : DPI
Some background. Until I redo this part of the app, for now, I've dragged a bunch of images into my project. They are called Landscapexx.jpg and Portraitxx.jpg, where xx is a number from 0 to the total number of pictures (minus one) for that orientation.
At some point, I replaced the images used in the project. But the original images are still showing up on my device (but not in Xcode). Using NSLog to confirm which image is being loaded, I then look up the image with the same name in Xcode. Sometimes it's the same image. Sometimes it's not.
At first I thought the problem was that when building the app again the data remained. That would be a reasonable explanation. However, when I deleted the app, acknowledging that the data would be deleted, that did not solve the problem. Could this be a cache issue? If so, how do I clear the relevant cache?
One last thing. The images that appear incorrectly on the iPad have the project name checked in the file inspector.
The way I'm loading the images, by the way is using NSString *newImageName = [NSString stringWithFormat:#"Landscape%d.jpg",n];, for example. So the file simply needs to be in my project space somewhere, I thought. If there are two copies, I have no idea where the second one would be. I don't see them in Xcode.
P.S. If I run the app in the simulator, I get the same images as on Xcode. This suggests the errant images are cached somewhere in my iPad. Since deleting the app didn't take care of the problem, is there something else I can try?
EDIT: I found something that may point to an issue. If I go to the Build Phases screen and open the Copy Bundle Resources item, all the images are listed there. However some of them don't have the ...in projectname after them. These same items have the project checked in the file inspector. Not all the images are this way. What do I need to do to ensure all the files are correctly in the project?
I suggest deleting the app from the phone, cleaning the project, and rebuilding the app. This happens to me on occasion and this usually fixes it.
I figured it out. Going through all the menu options in Xcode, I found an option called Clean in the Product menu. I selected it, rebuilt the app and all is fine now. This option apparently clears out the precompiled stuff that occurs the first time a project is built.