Friday, December 19, 2008

LC.exe not found, cannot compile licenses.licx problem with VS 2008

I've migrated recently from VS 2005 to VS 2008
Conversion goes well, but encountered problem with compilation (VS said it cannot find LC.exe file)

LC.exe file is license compiler and often used for 3rd parity component compilation.
(If you have licenses.licx file in your solution - probably LC.exe is working for you)

I've tried everything (including copy lc.exe file to different locations)
Searched web, found lot of advices but nothing helped

Finnaly I've sorted this out by changing registry entry as follow:




Please note it points to old (VS 2005) location. SO if you are planning to uninstall VS2005 you will need copy this folder and change registry value

Hope this helps someone!

Labels: ,

Tuesday, December 16, 2008

ClickOnce - check wheter application is first run

You can check this easily using below code:


Labels:

Reporting Services: Color reports printed in Black-White

I've encountered silly (at first look) problem:
I prepared RDLC (v.2005) color report, I was able to see colors in preview mode, but after printing (on c/o printer obviously...) turned out everything is b/w !

Googled, asked some groups - no help...

After long investigation turned out I can print in colors only if color printer is set up as windows default printer!

I wasn't able to fix it in other way than change printer setup in users control panel.
I'm wondering if somebody has similar experiences?

Labels: , ,