Jquery still running the previous code and ignoring changes - c#

I have a .js file that whatever changes I do (I even delete all the codes) it doesn't recognize or run the new changes, it just run the last code I saved days ago.
Here is what I did before encountering this problem.
I made a copy of my project and save it in different folder(location) and now I deleted the original and used the copied one. I made some changes on the .js file but doesn't run the new changes. Anyone know the solution to this?
I tried cleaning and building the solution but it doesn't work.

Sounds like a caching problem, did you try reloading without cache or doing a "hard reload"?
Open devtools (F12), right click the refresh button then press "Empty Cache and Hard Reload".

Related

How can Unity ignore FMOD Cache files when syncing with PlasticSCM?

My dev team is having an issue when trying to add certain files to the ignore.conf file for PlasticSCM. When we try to add the FMODStudioCache.asset and fmod_editor.log, among other FMOD related files, to this config file, they just continue to appear in Unity when receiving pushes and readying a push locally.
It has become very annoying to deal with because it doesn't seem to work as it is intended to. See below the lines we have tried to prevent it from showing up.
**/Assets/Plugins/FMOD/Cache/Editor/FMODStudioCache.asset
**/Assets/Plugins/FMOD/Resources/FMODStudioSettings.asset
fmod_editor.log
# Ignore the Cache folder since it is updated locally.
/[Aa]ssets/Plugins/FMOD/Cache/*
[Aa]ssets/Plugins/FMOD/Cache/*
Assets/Plugins/FMOD/Cache/*
Image link of Unity PlasticSCM with
Sorry, I don't have enough posts yet so it makes me use a link above!
Has anyone found a solution to this? We have tried to even add the files to the hidden config file too and that doesn't work either... Thanks in advance !
Edit: Spelling error in question.

TFS Replace Everything

I JUST want to get the latest version of a C# project on TFS and replace everything, it doesn't matter what I did on the code.
I'd Like to delete all the stuff and restart again as the way it is on the server.
Other solutions even simplier ARE NOT interesting for me.
JUST THIS ONE.
Thanks since now.
In my answer i will discuss 2 ways to get rid of the changes you made and reset back to what is in the code repo. First is the way to reset all files at once. The second method is how to do 1 single file if that is all that is needed.
METHOD 1, ALL FILES AT ONCE:
Click the Home button on the Team Explorer and see this screen:
Then click Branches to see this screen:
Then right-click the branch you want to revert your local code to and select Reset and then Delete Changes (--hard):
METHOD 2, Single file at a time:
Now you may want to just revert a single file and this is done by doing the following:
Click Home button on your Team Explorer and see this page:
Then click Changes and see this screen:
Then right-click any of the files you have listed there and select Undo Changes...

WPF Loading CustomDictionary File at AppData\Local\Temp Failed

Good morning,
I'm a newbie to posting issues on the site; I always find the answers without problem. This one, however, is persistent and I can't seem to find an answer anywhere. This is a spontaneous issue and doesn't affect all users.
The following error appears:
"Loading custom dictionary file at C:\Users\Someuser\AppData\Local\Temp\tmpfile.tmp failed."
Here is the code that I use to add the custom dictionary file to the textbox upon initialization.
IList<Uri> dict = (IList<Uri>)SpellCheck.CustomDictionaries;
dict.Add(new Uri("pack://application:,,,/Resources/ResourceDictionary/medicalDictionarySpellCheck.lex"));
I cleared temp directories thinking that there was some kind of space limitation that was blocking the creation of a temp file necessary in the process. It didn't slow the error down.
This mostly happens in the afternoon after the program has been in use for several hours. One thing I did notice is that the users have a screen capturing program that does fill up the temp directory, but this error appears even with almost no files in the folder.
Any ideas?

Losing database update after changes in code

I have a simple question. I'm new to .net and sql and I'm trying to write a small form application. I added a data source which I created in sql. I got textboxes, button to update tables in database. When I made changes in database, like adding or deleting rows from tables, these updates are getting lost if I made a little change in application code (for example entering a new line).
Probably I'm unaware of something simple. What is the cause of it?
Select the database from solution explorer, go to properties (or alt + enter) and change the Copy to Output Directory to Copy if newer (copy if you change the database) or Do not copy. If the selected option is Copy always, the database is copied each time the project is build.

What is R60, R72, and MINE file?

I was building a DataAccessLayer using C# in VS 2012, and in my project, there are three files which I don't know how to deal with.
DataAccessLayer.csproj.mine
DataAccessLayer.csproj.r60
DataAccessLayer.csproj.r72
What are they? How should I deal with them?
They are files created from your repository that the code is saved in. You did an update and when you try to commit your files you will get a commit failed probably. When you diff the files, it will use the .mine .r60 .r72 files to bring up the differences between each revision (.r60, r72) and your file (.mine) and allow you to do something like Keep all changes in mine.
In order to get rid of the commit failed error messages, find the original file, update it with the correct changes, and when finished right click it and Mark as resolved and commit. This will get rid of those files.
Those files are related to version control (.mine is your file, .rX come from revision number X). You should try to merge them using your version controlling tool if you have one. If you don't have one and got those files by copying a project, you can possibly delete the .r files and rename DataAccessLayer.csproj.mine in DataAccessLayer.csproj (unless you already have DataAccessLayer.csproj - just keep it and delete the other then). Edit: And if it causes problems, try merging them manually (using a text editor for example) before keeping the final file.

Categories