I tried moving the license file to the same directory as the assembly but
still did have not have any luck associating the license file with the
executable. When I use the following command line switches, I can create an
exectuable but when I run the executable I receive a pop up box that says,
"The Measurment Studio assemblies used are unlicensed...."
c:\TEMP\Comp\AssemblyInfo.vb
c:\TEMP\Comp\Form1.vb
/resource:C:\TEMP\Comp\Form1.resx
/resource:C:\TEMP\Comp\obj\Debug\Comp.Form1.resources
/resource:C:\TEMP\Comp\licenses.licx
/r:"C:\Program Files\National
Instruments\MeasurementStudio70\DotNET\Assemblies\Current\NationalInstruments.Common.dll"
/r:"C:\Program Files\National
Instruments\MeasurementStudio70\DotNET\Assemblies\Current\NationalInstruments.UI.dll"
/r:"C:\Program Files\National
Instruments\MeasurementStudio70\DotNET\Assemblies\Current\NationalInstruments.UI.WindowsForms.dll"
/resource:C:\TEMP\Comp\obj\Debug\Comp.exe.licenses
/r:system.dll
/r:system.data.dll
/r:system.drawing.dll
/r:system.windows.forms.dll
/r:system.xml.dll
/out:C:\TEMP\Comp\out.exe
/t:winexe
/main:Form1
/verbose
Am I using the switches incorrectly?
"Crouchie1998" wrote:
> You said that you have embedded the license file when it should be in the
> same directory as the assembly. Plus, do you know what the license file test
> should read? Example:
>
> This control is registered
> or
> This control isn't registered etc. etc. etc.
>
> There is plenty of information on creating license files on the MSDN website
>
> Crouchie1998
> BA (HONS) MCP MCSE
>
>
>
|