Issue copying Asp.net VS projects to Sharepoint online

Baldwin, John at MFA 1 Reputation point
2021-01-26T18:33:58.183+00:00

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=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<!--[if gte mso 9]><SharePoint:CTFieldRefs runat=server Prefix="mso:" FieldList="FileLeafRef,_dlc_DocId,_dlc_DocIdUrl,_dlc_DocIdPersistId"><xml>
<mso:CustomDocumentProperties>
<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">https://mfoa.sharepoint.com/sites/ISDeptSoftwareDocuments/_layouts/15/DocIdRedir.aspx?ID=EYKUSQKNVWF6-505729240-103244, EYKUSQKNVWF6-505729240-103244</mso:_dlc_DocIdUrl>
</mso:CustomDocumentProperties>
</xml></SharePoint:CTFieldRefs><![endif]-->

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,645 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,741 questions
{count} votes