changes to JS file not reflected in VS2012 build in ASP MVC 4 - asp.net-mvc-4

This has happened a few times already and it's pretty frustrating.
I make some changes to one of my Javascript files. Then I save the changes and proceed to test the build in IE.
All my changes are not reflected in the dynamic version of the file.
So far, I have fixed the problem by changing the file name and reincluding it in my bundle.
(The MS forums only tell me that I might be editing a wrong version of the file, which is not the case. See above.)
I am new to Windows so I figure there might be something I'm doing wrong...

Take a look at this solution: Force reload of JS and CSS files with ASP.NET MVC 3.

Related

Why the design change after Publish in .net core 3.1?

I designed a website and after I published it and uploaded it to its design server it changes a bit .. (Most of it has not changed)
Some things that may be causing the problem-
I work with TARGET FRAMEWORK = .NET CORE 3.1
Part of the site is linked to a site.css file and it works fine and is also located with _layout
And the part that is causing me problems is linked to another Layout and another CSS file
I hope you can help me it's really frustrating
Best regards
Many thanks to Adam Vincent.
I had to insert the link to CSS into the
(Still it's causing me problems with the Directiorion: rtl but I believe I can fix it)

Developing theme locally using stencil

Is there a reason I need to install stencil CLI framework and supporting javascript etc... rather than just download a theme and edit it with notepad, then re-upload it?
Is seems that this has been made overly complicated
The advantage of using the Stencil CLI is that you can test your work locally, so you can be sure you haven't broken anything. If you just want to make a small edit, then rather than downloading and uploading, try editing files within the Control Panel. Go to Storefront->My Themes->Customize, and then at the bottom, click Edit Theme Files. This way you can make a small edit and have the ability to do a preview (so again, you test your work before changing your live store).

Web API Help page not showing XML

I have a Web API project in which I removed by hand Areas folder few months ago when we started development. Now after everything is finished I want to add API help pages but it is not working as expected.
I installed nuget package for help pages.
I uncommented line in HelpPageConfig.cs
I checked Generate documentation file (to App_Data folder)
When I open http://localhost:51665/help I get this: (No methods are shown)
Any idea what could be wrong? If I start new project from scratch everything works properly.
I suppose you've setup your project in two steps:
You should choose Build tab in API project Properties and set up XML Documentation file in Output section. For example: App_Data\XmlDocument.xml
Then you can updateHelpPageConfig.cs in method Register... in my case
config.SetDocumentationProvider(new XmlDocumentationProvider(HttpContext.Current.Server.MapPath("~/App_Data/XmlDocument.xml")));
When your project is in compilation process, take a look in output window, whether documentation is really generated.
Try to use older version of ASP.NET Help pages (version 5.2.2 works for me).
Install-Package Microsoft.AspNet.WebApi.HelpPage -Version 5.2.2

Netbeans 7.2 not reflects modification on html, jsp pages

Recently i moved from netbeans 6.9 to Netbeans 7.2, while working on 6.9, i have handy functionality of after deployed my project if i do modifications in html or jsp pages i can see when i refresh the page in browser. But while using 7.2 it's not available, so each time i need to build, and deploy for changes get updated.
So i gotta few suggestions like
1)
Check->Compile on save in project properties
Uncheck->Deploy on save in project properties, but still it's not working.
Any idea what i have missed.
Thanks in advance.!
I must say this scenario works fine for me - I don't see any problem. What kind of project are you using - Ant-based or Maven-based? The best thing would be if you can file a P2 issue in the netbeans.org bug database, so we can investigate. Thank you.
This happened to me as well. I tried renaming the project to a new name not the project folder and re run. It worked for me. Try for yourself.
Nitin.

Localization files in app bundle

I have localization with 3 languages. Everything was working; then I wanted to change something in localization files.
My changes didn't have any effect, and I can't figure out the reason.
The big idea that it worked and still is finding old resources.
This is working for me when I want to print the bundle of localization file:
PATH/MyFirsy.app/en-LT.lproj> (not yet loaded)
My steps:
Getting your resource files ready for localization
Collecting all the texts used in the application in resource files
Translating the resource files
Integrating the resource files back in the application
Maybe someone who had this problem could help me.
for localization to be in affect, you also need to change your simulator's/device's language. you can check the same in your case.