I get the following error when attempting to compile a JScript.net assembly. The compilation error does not specify any syntax errors in the code
The error
fatal error JS2008: Error saving compiled state: The process cannot access the file because it is being used by another proces
This is used to compile the assembly
C:\Inetpub\wwwroot\my_web_app\bin>jsc /t:library FormWidgets.j
The problem goes away when Visual Studio is closed. The FormWidgets.js file was not open in Visual Studio though
Any ideas?
FormWidgets.dll is probably locked, not the source file. VS does lock
assemblies at times.

Signature
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers
> I get the following error when attempting to compile a JScript.net assembly. The compilation error does not specify any syntax errors in the code.
>
[quoted text clipped - 9 lines]
>
> Any ideas?
The error is complaining that the assembly (or associated
PDB) is locked - not the source file. Were you debugging
an app that loaded FormWidgets.dll?
>-----Original Message-----
>I get the following error when attempting to compile a JScript.net assembly. The compilation error does not
specify any syntax errors in the code.
>The error:
>
>fatal error JS2008: Error saving compiled state: The process cannot access the file because it is being used
by another process
>This is used to compile the assembly:
>
>C:\Inetpub\wwwroot\my_web_app\bin>jsc /t:library
FormWidgets.js
>The problem goes away when Visual Studio is closed. The FormWidgets.js file was not open in Visual Studio though.
>
>Any ideas?
>.