This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I purchased the Mega Pack Premium, and installed the full package of WPF Elements. I made a simple test program, just drag and drop a colorpicker control, then run it. An excetion occurs, shows "No license installed". I believe my test program references WPF Elements DLL properly. The path name is "C:\Program Files (x86)\Mindscape\WPF Elements\Bin". My environment is : VS 2010 Version 10.0.40129.1 SP1Rel, OS is Windows Server 2008 X64 edition. Would you please pick out the reason?
Thanks Eric Woo |
|
|
I readed Ivan's post at http://www.mindscapehq.com/forums/Thread.aspx?ThreadID=1309
I think this issue is not quite similar.
1. My project referencing the DLL at install location, and .lic files is there too. 2. My project do include a licenses.licx file generated by VS automatically. 3. My project is not a Class Library (DLL) project. 4. No message box alert "trial licence has expired". 5. There is no another version of the control in the GAC on C:\Windows\Assembly
|
|
|
Hello Eric, The most likely reason is that your licenses.licx is not set up correctly, though this normally causes a compiler error rather than a runtime error. Verify that your project's Properties folder includes the licenses.licx included with WPF Elements, and that the Build Action for this file is set to Embedded Resource. See also http://www.mindscapehq.com/forums/Thread.aspx?ThreadID=1309. If this does not help, could you copy the build output from the Output window and paste it in here please? Thanks! You might also want to post your project -- you can attach a zip file to a forum message through the Options tab (don't include the output binaries or the Elements DLL). |
|
|
Don't use the autogenerated licenses.licx file. Visual Studio is very unreliable about detecting dependencies. Copy in the contents of the licenses.licx file from the WPF Elements samples (though I believe you may have to remove the RadialGauge line with the current build). |
|
|
Hello Ivan, When I run the installed sample solution, I got a build error "lc.exe stopped". After I remove "RadialGauge" line from the .licx files. This issue solved. There are 35 .licx file to be modified in the sample folders. I suppose the .licx bug should be fixed in the future installation packge. In my ColorPicker test project, the problem "No License installed" still exists. Even after I replaced the autogenerated License.licx file whith the license.licx from the sample folder, with which do include a "ColorPicker" line. The code is attached in this post. Regards, Eric Woo |
|
|
Hello Eric The .licx bug will be fixed by tomorrow. You can get this update by downloading the nightly builds from tomorrow the 16th of August. You can download nightly builds through your account page. As for the ColorPicker test project, try cleaning your solution and then rebuild it and run it again. - Jason |
|
|
Hello Jason, Then ColorPicker test project is ok now. It do need rebuild after modified the license.licx file. Same to the sample application after remove "RadialGauge" line from the license.licx files. But there are other new issues come out now. I will put it in a new post. Much thanks to you and Ivan. |
|
|
By the way, what should I do after the WPF Elements trail license expired? Though my installation is still unexpired. I purchased Mega package including WPF Elements, but didn't got a WPF Elements full license, and I know from Mindscape's online support that WPF Elements didn't have a product key.
|
|
|
The Mega Pack contains the full WPF Elements licence. This ships as an updated set of .LIC files which you will find in your installation directory after uninstalling the trial and installing the full version. As you have seen, no activation/product key is required. Just make sure that you have the full .LIC files instead of the trial ones. (If you are not sure, open one of them in a text editor. Trial licences start with P58J, full licences start with 7QK6.) If you find you have trial .LIC files, just uninstall WPF Elements, and reinstall the version from the Mega Pack. Note that the .LIC files are not the same as the Licenses.licx file, and you do not include the .LIC files in your project or ship them to customers -- Visual Studio automatically pulls them in as required based on the project Licenses.licx file. |
|
|
It's clear now. Thank you! |
|