c# to javascript, actionscript

June 2, 2008

Compiling jsc for the first time

Filed under: jsc — Tags: — zproxy @ 1:52 pm

On a fresh machine where you just have installed your new copy of the visual studio 2008 it seems that the dia com library is not registered.

You will find that out yourself when you are going to compile the ‘compiler\jsc‘ project where the following error occurs:

The referenced component 'Dia2Lib' could not be found.

To fix this, you just need to register that dll.

Use the following command to do that:

C:\Program Files\Microsoft Visual Studio 9.0\DIA SDK\bin>regsvr32 msdia90.dll

Now reload the project and compile.

On successful build you will have the latest jsc version ready at ‘c:\util\jsc\bin‘.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.