Posted 20 years ago
by sgoertzen
I recently purchased the Wizard component, and incorporated it into my program. When I build and run my program through visual studio, the license file is picked up correctly and the warning dialog is not displayed.
However, the final software builds are not done through Visual Studio, but instead using a .Net build automation tool called NAnt (<A HREF="http://nant.sourceforge.net/" TARGET=_blank>http://nant.sourceforge.net/</A> if you are interested). This tools saves a tremendous amount of time as we can just start the build and come back in 10 minutes and have a single executable to install.
My issue however, is that when the project is being built with NAnt, it doesn't appear to be picking up the license file at all. It displays the warning dialog when it is building everything, then again every time you run the program.
Does anyone know more details on where the LIC file must be at for it to be properly picked up? I'm sure automatic build tools must be fairly common out there, has anyone else run into this problem?
And just in case someone here is familiar with NAnt, here is my config line that builds the project:
<exec
program="ss.exe"
basedir="${SourceSafeDirectory}"
commandline=" Get $/Directory/Viewpoint.root -R -I-"
workingdir="Source"/>
<solution solutionfile="Source\Viewpoint\Viewpoint.sln" configuration="debug">
</solution>
Only thing special to note is that all the files are retreived from Source Safe before building. Do I need the LIC file in Source Safe to it gets pulled out too? (it is already in program files with the .dll)
Thanks in advance for any help!
Shawn
However, the final software builds are not done through Visual Studio, but instead using a .Net build automation tool called NAnt (<A HREF="http://nant.sourceforge.net/" TARGET=_blank>http://nant.sourceforge.net/</A> if you are interested). This tools saves a tremendous amount of time as we can just start the build and come back in 10 minutes and have a single executable to install.
My issue however, is that when the project is being built with NAnt, it doesn't appear to be picking up the license file at all. It displays the warning dialog when it is building everything, then again every time you run the program.
Does anyone know more details on where the LIC file must be at for it to be properly picked up? I'm sure automatic build tools must be fairly common out there, has anyone else run into this problem?
And just in case someone here is familiar with NAnt, here is my config line that builds the project:
<exec
program="ss.exe"
basedir="${SourceSafeDirectory}"
commandline=" Get $/Directory/Viewpoint.root -R -I-"
workingdir="Source"/>
<solution solutionfile="Source\Viewpoint\Viewpoint.sln" configuration="debug">
</solution>
Only thing special to note is that all the files are retreived from Source Safe before building. Do I need the LIC file in Source Safe to it gets pulled out too? (it is already in program files with the .dll)
Thanks in advance for any help!
Shawn