Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

License and Visual Build

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
lvt



Joined: 27 Apr 2006
Posts: 2

PostPosted: Wed May 03, 2006 1:42 pm    Post subject: License and Visual Build Reply with quote

We are using Visual Build 6 for building. Each time the build script runs I am asked to enter the license key even though the license key has been embeeded in the project and the project builds fine in Visual Studio 2005.

What can I do to register the license when using Visual Build?
Back to top
View user's profile Send private message MSN Messenger
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed May 03, 2006 10:44 pm    Post subject: Reply with quote

Do you get prompted for license key when you do a rebuild solution from within Visual Studio?

Are you by any chance (re)-installing the Virtual Tree DLL in the GAC as part of your build or setup process?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
lvt



Joined: 27 Apr 2006
Posts: 2

PostPosted: Thu May 04, 2006 7:33 am    Post subject: Reply with quote

No I do not get prompted when doing a rebuild within Visual Studio 2005 and we are not installing the Virtual Tree DLL in the GAC as part of the build process.

I think the problem arises because all source files are deleted prior to the build and there after fetched from the source control. The license has been entered on another machine than the build machine.

Is the license bound to a single machine?
Back to top
View user's profile Send private message MSN Messenger
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu May 04, 2006 9:12 am    Post subject: Reply with quote

No the license is not bound to a single machine. Although you should have a license for each developer Exclamation

By default the license file is created next to the DLL being used in the compilation. Under VS2003 this was always the publicly referenced DLL (found under Program Files/Infralution/Virtual Tree/bin). In VS2005 Visual Studio actually uses this DLL at design time (ie when you display form editors) but when you compile the DLL used is loaded from the GAC directory. Hence license files get saved in two different places and when you first do a build you get asked for a license even if you had previously entered a license when displaying a form editor.

If you re-register the DLL in the GAC then the GAC directory (including the license file is deleted) hence my question.

Look at the references to the Virtual Tree DLL's in the Solution Explorer window and check that the CopyLocal property is set to false. If this is set to true then Visual Studio will make a local copy of the DLL and the license file may well get created in the local Obj or bin directory (which is being obliterated by your Visual Build).
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group