We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Licensing Utility mangles .bat files in debug/release dirs

Thread ID:

Created:

Updated:

Platform:

Replies:

34428 Sep 8,2005 10:18 PM Sep 19,2005 05:51 PM General Discussion 17
loading
Tags: General Discussion
Administrator [Syncfusion]
Asked On September 8, 2005 10:18 PM

Hello, In VS, you can have Build Events fired before and/or a build (look at the project property pages, under Common Properties/Build Events). These events are defined as if typed from the command line, and stored in a .bat file in the output directory of the project. Unfortunately, running the Licensing Utility mangles the contents of the .bat files. For example, what used to look like this: setlocal cd "$(ProjectDir)" "$(ProjectDir)\LauncherLibObs.bat" $(ConfigurationName) now looks like this: setlocal cd "$(ProjectDir)" "$(ProjectDir)\LauncherLibObs.bat" $(ConfigurationName) Quotes and returns are turned into control codes of some kind. I don''t understand why the Utility is even looking in the output directories. Anyway, it would be good if it didn''t do this. Thanks Keith

Administrator [Syncfusion]
Replied On September 9, 2005 12:53 PM

Hello, I''ve just looked in the .csproj for something else and noticed this: PostBuildEvent = ''setlocal cd "$(ProjectDir)" "$(ProjectDir)\LauncherLibObs.bat" $(ConfigurationName)'' So it seems that the mangling is happening at the project file level when the Utility does its licensing. k

Daniel Jebaraj [Syncfusion]
Replied On September 12, 2005 09:12 AM

Hi Keith, Thanks for reporting this. We will fix this and post a patch. Thank you for using Syncfusion Essential Studio. Best regards, Daniel >Hello, > >I''ve just looked in the .csproj for something else and noticed this: > > PostBuildEvent = ''setlocal cd "$(ProjectDir)" "$(ProjectDir)\LauncherLibObs.bat" $(ConfigurationName)'' > >So it seems that the mangling is happening at the project file level when the Utility does its licensing. > >k

Administrator [Syncfusion]
Replied On September 12, 2005 01:20 PM

Does this mean we should not install 3.3.0.0 until this patch/new version is available? Thanks, Derek >Hi Keith, > >Thanks for reporting this. We will fix this and post a patch. > >Thank you for using Syncfusion Essential Studio. > >Best regards, >Daniel

Daniel Jebaraj [Syncfusion]
Replied On September 12, 2005 01:27 PM

Hi Derek, No, you can upgrade. This will be a single binary to replace. Also, it does not affect projects that do not have post/pre-build steps. Best regards, Daniel

Administrator [Syncfusion]
Replied On September 12, 2005 01:31 PM

Hi Daniel, Unfortunately, we have quite a few pre/post build events in our solution. Do you have any time estimate when the patch will be available? I think this also messes the formating of the .csproj files, too. Thanks, Derek >Hi Derek, > >No, you can upgrade. This will be a single binary to replace. Also, it does not affect projects that do not have post/pre-build steps. > >Best regards, >Daniel

Administrator [Syncfusion]
Replied On September 13, 2005 10:09 AM

Can you please give us an update on this? Thanks, Derek >Hi Daniel, > >Unfortunately, we have quite a few pre/post build events in our solution. Do you have any time estimate when the patch will be available? I think this also messes the formating of the .csproj files, too. > >Thanks, >Derek > >>Hi Derek, >> >>No, you can upgrade. This will be a single binary to replace. Also, it does not affect projects that do not have post/pre-build steps. >> >>Best regards, >>Daniel

Daniel Jebaraj [Syncfusion]
Replied On September 14, 2005 10:31 AM

Derek, Sorry for the delay in getting back on this. We will post a fix for this before Friday. Best regards, Daniel >Can you please give us an update on this? > >Thanks, >Derek > >>Hi Daniel, >> >>Unfortunately, we have quite a few pre/post build events in our solution. Do you have any time estimate when the patch will be available? I think this also messes the formating of the .csproj files, too. >> >>Thanks, >>Derek >> >>>Hi Derek, >>> >>>No, you can upgrade. This will be a single binary to replace. Also, it does not affect projects that do not have post/pre-build steps. >>> >>>Best regards, >>>Daniel

Administrator [Syncfusion]
Replied On September 14, 2005 11:08 AM

Hi Daniel, I''m anxiously awaiting! Thanks, Derek >Derek, > >Sorry for the delay in getting back on this. We will post a fix for this before Friday. > >Best regards, >Daniel

Administrator [Syncfusion]
Replied On September 16, 2005 09:16 AM

Okay - you knew it was coming! It''s Friday and no patch! What do I tell my rioting colleagues?! Thanks, Derek >Derek, > >Sorry for the delay in getting back on this. We will post a fix for this before Friday. > >Best regards, >Daniel

Daniel Jebaraj [Syncfusion]
Replied On September 16, 2005 02:02 PM

Hi Derek, You will have it today :) Best regards, Daniel >Okay - you knew it was coming! It''s Friday and no patch! What do I tell my rioting colleagues?! > >Thanks, >Derek > >>Derek, >> >>Sorry for the delay in getting back on this. We will post a fix for this before Friday. >> >>Best regards, >>Daniel >

Daniel Jebaraj [Syncfusion]
Replied On September 17, 2005 01:32 AM

Hi Derek, Please download an updated version of the licensing enabler from here. Extract the contents to ${Install drive}:\Program Files\Syncfusion\Essential Studio\3.3.0.0\Utilities\License Enabler. This should fix the problem with post-build events. Thank you for using Syncfusion Essential Studio. Best regards, Daniel >Hi Derek, > >You will have it today :) > >Best regards, >Daniel > >>Okay - you knew it was coming! It''s Friday and no patch! What do I tell my rioting colleagues?! >> >>Thanks, >>Derek >> >>>Derek, >>> >>>Sorry for the delay in getting back on this. We will post a fix for this before Friday. >>> >>>Best regards, >>>Daniel >>

Administrator [Syncfusion]
Replied On September 19, 2005 11:03 AM

Will this be added to the 3.3 installation package so others will not have to do this manually? Thanks, Derek >Hi Derek, > >Please download an updated version of the licensing enabler from here. > >Extract the contents to ${Install drive}:\Program Files\Syncfusion\Essential Studio\3.3.0.0\Utilities\License Enabler. This should fix the problem with post-build events. > >Thank you for using Syncfusion Essential Studio. > >Best regards, >Daniel

Daniel Jebaraj [Syncfusion]
Replied On September 19, 2005 11:32 AM

Hi Derek, Would a service pack that can be applied on top of version 3.3.0.0 work? This is our current plan. We do not plan to re-pack version 3.3.0.0 itself. Best regards, Daniel >Will this be added to the 3.3 installation package so others will not have to do this manually? > >Thanks, >Derek > >>Hi Derek, >> >>Please download an updated version of the licensing enabler from here. >> >>Extract the contents to ${Install drive}:\Program Files\Syncfusion\Essential Studio\3.3.0.0\Utilities\License Enabler. This should fix the problem with post-build events. >> >>Thank you for using Syncfusion Essential Studio. >> >>Best regards, >>Daniel >

Administrator [Syncfusion]
Replied On September 19, 2005 11:42 AM

Absolutely - I didn''t mean the same 3.3.0.0 version. I was speaking generally and figured it would be something like 3.3.0.1 or something like that. Thanks, Derek

Administrator [Syncfusion]
Replied On September 19, 2005 01:37 PM

Hi Daniel, I forgot to ask the obvious questions. When is the new install going to be ready and are there any other updates (bugs fixed)? Please say sooner than later! :) Thanks, Derek >Hi Derek, > >Would a service pack that can be applied on top of version 3.3.0.0 work? This is our current plan. We do not plan to re-pack version 3.3.0.0 itself. > >Best regards, >Daniel

Administrator [Syncfusion]
Replied On September 19, 2005 02:38 PM

OK, The "new" licensing util seems to do exactly the same thing as the old one. My post-build steps still get all mangled. Plus, the util (the old one did this too sometimes) doesn''t seem to properly license my app. When I rebuild my solution it forgets that it already licensed it, and when I let the the util fix it, it adds a duplicate entry for licenses.licx in that project file which causes an error the next time I load the solution. I need to quit VS, hand edit out both .licx references in the project file, delete the .licx file, run the licensing util again. Then as an added treat, the post-build steps get mangled again. Interestingly, if I close the "no licensing information" dialog using the system close button (instead of clicking "View Dialgnostics" or "Fix It") my app runs fine. Whats going on here? k >Hi Daniel, > >I forgot to ask the obvious questions. When is the new install going to be ready and are there any other updates (bugs fixed)? Please say sooner than later! :) > >Thanks, >Derek > >>Hi Derek, >> >>Would a service pack that can be applied on top of version 3.3.0.0 work? This is our current plan. We do not plan to re-pack version 3.3.0.0 itself. >> >>Best regards, >>Daniel

Administrator [Syncfusion]
Replied On September 19, 2005 05:51 PM

Well, I''ve tried creating a reproducable scenario to show that this is still a problem, but I can''t get the post-build mangling to happen again. I guess cleaning/rebooting/etc. tickled the bug out. Sorry for the false (I hope) alarm... k >OK, > >The "new" licensing util seems to do exactly the same thing as the old one. My post-build steps still get all mangled. > >Plus, the util (the old one did this too sometimes) doesn''t seem to properly license my app. When I rebuild my solution it forgets that it already licensed it, and when I let the the util fix it, it adds a duplicate entry for licenses.licx in that project file which causes an error the next time I load the solution. I need to quit VS, hand edit out both .licx references in the project file, delete the .licx file, run the licensing util again. Then as an added treat, the post-build steps get mangled again. > >Interestingly, if I close the "no licensing information" dialog using the system close button (instead of clicking "View Dialgnostics" or "Fix It") my app runs fine. > >Whats going on here? > >k >>Hi Daniel, >> >>I forgot to ask the obvious questions. When is the new install going to be ready and are there any other updates (bugs fixed)? Please say sooner than later! :) >> >>Thanks, >>Derek >> >>>Hi Derek, >>> >>>Would a service pack that can be applied on top of version 3.3.0.0 work? This is our current plan. We do not plan to re-pack version 3.3.0.0 itself. >>> >>>Best regards, >>>Daniel

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;