I am working on a web-project within VS2012. I was trying to implement url-rewriting as described at cache busting in ASP.NET by Mads Kristensen. I was running into the problem that VS2012 didn't recognize the
I got it to work/function (thanks to ScottGu's blogpost) after installing the URL Rewrite Extension on IIS7.x.
So far so good, but VS2012 intellisense still didn't recognize the
I searched around and found the post http://ruslany.net/2010/04/visual-studio-xml-intellisense-for-url-rewrite-2-0/ on RuslanY Blog. Unfortunately, the script didn't work on VS2012. Even changing a part of the code to var vs9CommonTools = shell.ExpandEnvironmentStrings( “%VS110COMNTOOLS%” );
However, a guy named Michal A. Valášek created an updated js script to get it to work on VS2012.
So I put the pieces together for your convenience, you can download it here (I called it rewrite2.1_vsintellisense). Note this script is just for VS2012! Just unpack the zip file, run the commandline window as administrator (elevated privileges), and execute the script file with cscript UpdateSchemaCache.js
Thanks, worked as perfectly :)
You're welcome, but all credits to the guys who created it. I just put it together. Happy programming!
That worked perfect. Thanks!
So awesome! Thanks for putting this together. I ran it with VS2012 closed and opened it up to no validation warnings on my web.config. And to intellisense! Thanks!
BTW, did you know you could shift+right-click and "open a command window here" to make it really easy to get in DOS at the folder? Then you just run cscript blahblah. Sweet!
Great! It worked flawlessly! :)
Super simple. Worked a treat. Thank you!
Thanks, I just installed that in Windows 8.1 Pro. The message showed up few times and I click run without..
and it runs just fine.
Thanks a lot!
Hi! Following your instructions, I'm trying to run UpdateSchemaCache (unblocked) from the elevated command prompt and I'm receiving an error "Failed to open file rewrite.xsd". The XSD is in the same folder as the js....can anybody offer any thoughts?
Post a Comment