AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
9.0.4 post-build event syntax errors in all plugins
Rank: Member
Groups: Developers, Registered, HelpDesk Joined: 11/7/2018(UTC) Posts: 23
Thanks: 5 times
|
The post-build event for AuthorizeNetCIM and Avatax projects have these lines: Quote: xcopy /y "$(ProjectDir)bin\CommerceBuilder.AvaTax.*" "$(SolutionDir)Website\Plugins\AvaTax\" xcopy /y "$(ProjectDir)bin\CommerceBuilder.AvaTax.*" "$(SolutionDir)Website\Plugins\$(ProjectName)\" /s /i /y
On my Windows 10 machine, the xcopy /y throws error invalid switch in the visual studio output window. This prevents the gateway binaries from being copied to the plugins folder. So a modified dll doesn't get refreshed in /plugins/bin/ during the plugin bootstrap. Pretty sure all the plugins have this in their project post-build command. |
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Quote:xcopy /y "$(ProjectDir)bin\CommerceBuilder.AvaTax.*" "$(SolutionDir)Website\Plugins\AvaTax\" xcopy /y "$(ProjectDir)bin\CommerceBuilder.AvaTax.*" "$(SolutionDir)Website\Plugins\$(ProjectName)\" /s /i /y Although it throws an error the needed files are being copied and the plugin will work fine in all cases. These two lines actually serve the same purpose i-e copy all the files starting with Commercebuilder.Avatax to Plugins/Avatax folder. Second-line has an extra /y command which is causing the issue. Removing the /y from start will remove the invalid switch error. The second line is not needed in this case and should be removed. We have opened a discussion and will come up with the improvements. Thanks for pointing this out!
|
1 user thanked shaharyar for this useful post.
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
9.0.4 post-build event syntax errors in all plugins
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close