Problem with Executable filename
aperregatturv
Posts: 67
Hi,
I created a program using RedGate to update databases.
its Program.Utilities.exe everthing works fine. now, i have been told to rename the file to say progUtils.exe.
What i did was, i went to project properties and on Build Events i choose the post build option in VS 2005 and used the macro to rename the file out.
it worked but when i try to run the application on a test pc i get an error saying i need to get a valid license. But if I run it as Program.Utilities.exe everything works.
Please let me know how i can rename the executable and make it work.
Thanks
Arun
I created a program using RedGate to update databases.
its Program.Utilities.exe everthing works fine. now, i have been told to rename the file to say progUtils.exe.
What i did was, i went to project properties and on Build Events i choose the post build option in VS 2005 and used the macro to rename the file out.
it worked but when i try to run the application on a test pc i get an error saying i need to get a valid license. But if I run it as Program.Utilities.exe everything works.
Please let me know how i can rename the executable and make it work.
Thanks
Arun
Comments
HTH
Project Manager
Red Gate Software Ltd
Thanks for your post. Unfortunately, the only way to rename a licensed assembly is to build it again. The way that the Microsoft Licence Compiler embeds the licence into the assembly as a resource with the same name as the assembly means it cannot be renamed. Sorry for the inconvenience.
Even though the code and everything is same i dont understand why the Microsoft Compiler thinks different.
Win32 was better..
Anyway, thanks again for info.
Different topic,
Now, that Microsoft released VS2008 with Database Edition
Are there any plans from RedGate to add an Addin for VS2008 for Database Edition.. this way i dont have run 2 apps i can use the Integrated SQL Compare from within IDE.
Arun