question

JeffersonMendoza-1972 avatar image
0 Votes"
JeffersonMendoza-1972 asked JeffersonMendoza-1972 answered

How to bypass Sharepoint Server checking when pushing changes to dev.azure.com via VS2019?

Recently I was unable to commit changes to online repo for a custom API I created for SharePoint. Before I was able to commit but after recent updates, VS is now throwing this errror:

The required version of SharePoint Foundation or SharePoint Server is not installed on this system. The target version of the SharePoint project is 2019.

PS: im trying to publish on same computer, same user, same azure repo account.

dotnet-visual-basicsharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JeffersonMendoza-1972 avatar image
0 Votes"
JeffersonMendoza-1972 answered

Hi Michael,

I found out it was the .NET version.
At first I created the solution using .NET version 4.6.2, created the online repo, and was able to push proceeding updates.
Later I changed the solution's .NET version to 4.7.2, since then all my publish was stuck to Outgoing Push state.

I also noticed error message showing in the output is not related at all because that particular issue where SharePoint server is missing is still there but the publish-and-commit-all was successful.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered

Hi @JeffersonMendoza-1972,

Which kind of sharepoint project did you build?

For SharePoint farm solution, you need to install Visual Studio in the SharePoint Server.

We can develop SharePoint add-in solution in remote server.

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-add-ins


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.