SharpKit compiler verbose logging

50 views
Skip to first unread message

Dan-el Khen

unread,
May 18, 2012, 9:14:21 AM5/18/12
to shar...@googlegroups.com
Hi,

If you get any exceptions during SharpKit compilation, please upgrade to SharpKit v4.27.1000, and enable detailed logging:

Please upgrade to SharpKit v4.27.1000
Go to skc5.exe folder here:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\SharpKit\5
Set configuration key: EnableLogging to 'true'
Compile your project, 
You'll see skc5.exe.log file created in the same folder, reviewing it will help you pinpoint the location of the problem, you can also send it to me at SharpKit support email.

Thanks!
Dan-el

Michael Labriola

unread,
May 19, 2012, 9:34:54 PM5/19/12
to shar...@googlegroups.com
Dan-el,

I am getting a :

"Error 2 Object reference not set to an instance of an object. C:\path..."

error. I enabled logging, but I cant find anything in there remotely useful or that gives me a clue to the issue. Any help you can provide?

Mike

Michael Labriola

unread,
May 19, 2012, 10:37:37 PM5/19/12
to shar...@googlegroups.com

More info: It has to do with JSMergedFile use. 

If I get rid of all merged file use in my assembly, the error goes away. If I put *any* even one of the several I have, back into the assembly, the error re-emmerges. I thought perhaps I made a typo, so I restored this file from a previous version in my source repository, but the error remains. I hand typed a new one which just include jquery, it then produces this error again:

Even if I use the attribute to include a mostly empty JS file, it crashes.

[assembly: JsMergedFile(Filename="res/randori1.js", Sources = new String[] {
    "jsLibs/jquery-1.7.2.min.js"
},Minify=false)]

Mike

Dan-el Khen

unread,
May 20, 2012, 2:41:22 AM5/20/12
to shar...@googlegroups.com
That usually happens when one of the source files does not exist. I'm still working on improving this.

Can you enable compiler logging, and send both output from output window, and compiler log?
You can also send me a sample project file if it's easier.

Dan-el

nad...@any-techs.co.il

unread,
Apr 14, 2013, 3:20:23 AM4/14/13
to shar...@googlegroups.com
==========================================================================================

Note: if you are having trouble to save the file, make sure that the software being used as editor is running under the Administrator account.

==========================================================================================
Reply all
Reply to author
Forward
0 new messages