ashish.diwaker-technousa
-
12/13/2013 6:09:45 AM
How to deploy changes made to unpublished code into existing published code
Hi,
I have a scenario where I have a separate published code & unpublished code. But unpublished code doesn't contains all the files used in published code. When I have to add new Web Part I just created a new Web-part in Unpublished code & add it to published code only .aspx & .aspx.cs files (excluding.aspx.designer.cs file). And this runs on published code also. But I am having problem when I change the code of existing Web-part & try to merge it to publish code, I tried deleting the existing Web-part & re-adding the Web-part from unpublished code. But When I delete the Web-part then an error block is displayed at position of Web-part, but When I re-add it from Unpublished code & run it it displays the old Web-Part code.
Note: When I try to publish the Unpublished code using VS 2012 (the traditional way) & add the .dll files into published code the whole website stops working.
Please guide me.
Thanks Ashish
|