Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Rud 260 posts 1001 karma points c-trib
    Mar 18, 2022 @ 11:33
    Martin Rud
    0

    Must publish of a .NET core Umbraco project always republish all files, including unchanged?

    Hi forum,

    Every time I have changes to my local dev project and (re)publish it to production server (hostet at simply.com) it sends all files to the FTP-server.

    Can that be right? I thought it only had to pyblish changed files?

    It takes about 20-30 minutes each time.

    Here is my setup. I use Visual Studio.

    <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <PropertyGroup>
        <WebPublishMethod>FTP</WebPublishMethod>
        <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
        <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
        <LastUsedPlatform>Any CPU</LastUsedPlatform>
        <SiteUrlToLaunchAfterPublish>mydomain.dk</SiteUrlToLaunchAfterPublish>
        <ExcludeApp_Data>False</ExcludeApp_Data>
        <ProjectGuid>618b8d25-184c-4237-92c8-073df6b9dd2b</ProjectGuid>
        <publishUrl>nt10.unoeuro.com</publishUrl>
        <DeleteExistingFiles>False</DeleteExistingFiles>
        <FtpPassiveMode>True</FtpPassiveMode>
        <FtpSitePath>infoscreen</FtpSitePath>
        <UserName>my-username</UserName>
        <_SavePWD>True</_SavePWD>
        <TargetFramework>net5.0</TargetFramework>
        <RuntimeIdentifier>win-x86</RuntimeIdentifier>
        <SelfContained>true</SelfContained>
      </PropertyGroup>
    </Project>
    

    Here Simply explains how to setup deploy: https://www.simply.com/en/support/faq/asp/508/

  • Aaron 58 posts 406 karma points MVP 2x c-trib
    Mar 18, 2022 @ 12:45
    Aaron
    100

    This is correct, FTP will upload all files. You will want to use WebDeploy to only deploy changed files

Please Sign in or register to post replies

Write your reply to:

Draft