Login  
Search All Forums
Dart Home | Custom Development Reply | Licensing Issues Topics | Forums   
AuthorForum: Licensing Issues
Topic: Licensing Visual C++ CLR Projects in Visual Studio 2010 and Visual Studio 2012
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted October 18, 2012 4:46 PM

Problem:
When creating Visual C++ CLR projects in Visual Studio 2010 or Visual Studio 2012 that referencing components that requires the use of a licenses.licx file you may receive a licensing exception.

Solution:
Visual Studio 2010 and Visual Studio 2012 do not automatically embed the license for licensed components into the compiled binary. Because of this, you will receive a LicenseException at run time. To resolve the problem please follow these steps:

1. Right-click on the project in the Solution Explorer and select Build Customizations from the context menu.
2. In the Available Build Customization Files pane, check the lc(.targets, .props) checkbox. Click OK.
3. Right-click on licenses.licx in the Solution Explorer, and select Properties from the context menu.
4. In the Property Pages, select General in the Configuration pane, then select License Compiler in the Item Type drop-down. Click OK.
Reply | Licensing Issues Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX