Hi,

I'm building using NAnt -0.84, .Net framework 1.1.

I'm using a third party licensed component. When i build the project, i get
the follwoing error.

Unhandled Exception: System.Threading.ThreadStateException: Thread is dead;
prio
rity can not be accessed.
   at System.Threading.Thread.SetPriorityNative(Int32 priority)
   at System.Threading.Thread.set_Priority(ThreadPriority value)
   at Agilix.Ink.Scribble.Document.StopBackgroundAnalysis()
   at Agilix.Ink.Scribble.Document.Finalize()

My Build script looks like this. The Build SUCCEEDED. I can even run my
project(executable), But i am not able to run that particular component.
It says cannot activate the view. Does not have a valid license.

Any help would be appreciated.
thanks,
vamshi

<?xml version="1.0"?>
<project name="MyProjectUI" default="build" basedir=".">

        <target name="build" >
        <license input="licenses.licx" licensetarget="${outdir}\${choice}UI.exe"
output="${choice}UI.exe.license" verbose="true">
                        <assemblies>
                                <includes 
name="..\..\references\Agilix.Ink.dll" />
                        </assemblies>
                </license>
                <csc target="winexe" output="..\${outdir}\MyProjectUI.exe"
win32icon="HTML\images\Myimage.ico" debug="true" define="${choice}"
rebuild="true">

                <sources>
                        <includes name="*.cs" />
                </sources>

                <resources>
                        <includes name="licenses.licx" />
                </resources>

                <references>
                        <includes name="..\..\references\*.dll" />
                        <excludes name="..\..\references\vjsnativ.dll" />
                </references>

                <resources>

                        <includes name="SVInfiNotes.resx" />
                        <includes name="usrctrlHome.resx" />
                </resources>
                <arg
value="/resource:${choice}UI.exe.license,${choice}UI.exe.licenses"  />

                </csc>
        </target>
</project>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to