VS2019 Community Solution compiles in Desktop Folder but not in Document Folder

asked 2021-04-02T07:28:20.907+00:00
Universal Camera 286 Reputation points

I have a solution that compiles on the Desktop but if I move it to Document folder then it does not compile. If I move it back to Desktop Folder then it compiles. I have set the Security of Document folder to "Inherit from this object" with Full Control, but still no luck.

How can I accomplish compiling in Document Folder.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,804 questions
No comments
{count} votes

Accepted answer
  1. answered 2021-04-02T07:46:30.31+00:00
    JarvanZhang 23,836 Reputation points

    Hello,​

    Welcome to our Microsoft Q&A platform!

    I have a solution that compiles on the Desktop but if I move it to Document folder then it does not compile.

    When the project is deployed, it will generate compilation information in the workspace directory. If you change the path of the project, the information will not match. To fix this, please empty the bin and obj folders of the shared project and each platform project after moving the project. Then re-open the sample to clean and build.

    Best Regards,

    Jarvan Zhang


    If the response 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.


0 additional answers

Sort by: Most helpful