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]-->

Microsoft 365 and Office | SharePoint | For business | Windows
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Developer technologies | ASP.NET | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.