I have a C# project with a large amount of Javascript. The scripts
are include in the .aspx like so:
<SCRIPT language="javascript" src="myScripts.js"></SCRIPT>
When I run in debug mode Visual Studio makes the myScripts.js file
read-only and I am unable to edit on the fly. I am able to open the
file in notepad and make changes, which VS picks up after you refresh
the running page. Does a setting exist (maybe in the registry?) to
not lock the .js files while runnning in debug mode? I can edit the
ASPX files on the fly so I hope the same can be done with .js files
in
the VS envoronment.
thanks,
Steve
The files technically are not locked. You could edit them using
notepad, but you can't edit the file in the same IDE session that is
debugging the file.
To get around this, I invoke the debugger and use another instance of
the IDE to handle the user breakpoint while the original IDE is used to
make changes.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> I have a C# project with a large amount of Javascript. The scripts
> are include in the .aspx like so:
[quoted text clipped - 12 lines]
> thanks,
> Steve
SteveS - 14 Mar 2007 20:24 GMT
On Mar 13, 9:08 pm, "Bryan Phillips"
<bphill...@nospam.spamcop.net.spammenot> wrote:
> The files technically are not locked. You could edit them using
> notepad, but you can't edit the file in the same IDE session that is
[quoted text clipped - 30 lines]
>
> - Show quoted text -
Bryan,
Thanks for the info. I have been using a notepad editor then
refreshing the page but I was hoping there might be a better way.
Steve