Issue copying VS projects to Sharepoint online

Baldwin, John at MFA 1 Reputation point

I am in the process of moving some web apps done in VS from a shared drive to sharepoint online. When I copy the files to SP Online, it is auto changing some of the aspx files which is causing issues building and running the apps. In addition, the modified date is not changed so it's impossible to tell which file was changed without manually checking it. How can this be prevented from happening?

Here is the code that is being added:

<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<!--[if gte mso 9]><SharePoint:CTFieldRefs runat=server Prefix="mso:" FieldList="FileLeafRef,_dlc_DocId,_dlc_DocIdUrl,_dlc_DocIdPersistId"><xml>
<mso:_dlc_DocId msdt:dt="string">EYKUSQKNVWF6-505729240-103244</mso:_dlc_DocId>
<mso:_dlc_DocIdItemGuid msdt:dt="string">1bff7c90-aece-438e-81c0-ce3af5dd6c85</mso:_dlc_DocIdItemGuid>
<mso:_dlc_DocIdUrl msdt:dt="string">, EYKUSQKNVWF6-505729240-103244</mso:_dlc_DocIdUrl>

A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,700 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,868 questions
{count} votes