I have an asp.net core MVC web application and using visual studio 2017, i have deploy it to an IIS server using ftp option inside Visual Studio. now i have modified couple of views and some action methods, and i want to deploy those modified components.
but when i re-deploy the application all the component were deployed which took around 2 hours, while i thought that only the newly modified components will be deployed/published.. so is there a way to fix this issue?
you would need to track which dll's were modified, and only deploy those dll's.
but can i publish dlls using visual studio? as inside visual studio I can only publish individual controllers, models,etc.. but i can not publish dlls..
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
488 Points
2558 Posts
How i can only deploy/publish the modified component using visual studio ftp options
Jun 06, 2020 06:03 PM|johnjohn123123|LINK
I have an asp.net core MVC web application and using visual studio 2017, i have deploy it to an IIS server using ftp option inside Visual Studio. now i have modified couple of views and some action methods, and i want to deploy those modified components. but when i re-deploy the application all the component were deployed which took around 2 hours, while i thought that only the newly modified components will be deployed/published.. so is there a way to fix this issue?
All-Star
58114 Points
15633 Posts
Re: How i can only deploy/publish the modified component using visual studio ftp options
Jun 07, 2020 03:44 AM|bruce (sqlwork.com)|LINK
you would need to track which dll's were modified, and only deploy those dll's.
Member
488 Points
2558 Posts
Re: How i can only deploy/publish the modified component using visual studio ftp options
Jun 07, 2020 08:53 PM|johnjohn123123|LINK
but can i publish dlls using visual studio? as inside visual studio I can only publish individual controllers, models,etc.. but i can not publish dlls..
Participant
1320 Points
491 Posts
Re: How i can only deploy/publish the modified component using visual studio ftp options
Jun 08, 2020 09:23 AM|jiadongm|LINK
Hi johnjohn123123,
The dlls are under the bin folder. You should click the Show All Files icon, then you can find it.
For more details, you can refer to this link
Best Regards,
Jiadong Meng