Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Jan_Zeman's avatar
Jan_Zeman
Helpful | Level 6
8 years ago
Solved

.NET Standard support

Hello. I've tried to find an aswer within the already existing answers but without success. Sorry in case I overlooked.   I have recently tried to convert my PCL projects to .NET Standard. After ...
  • Qiming Y.'s avatar
    Qiming Y.
    8 years ago

    Hi Jan,

     

    The SDK contains a PCL libarary which is compatible with .NET Standard. If you are using project.json you need add portable-net45+win8 to your import section e.g.

     

    "frameworks": { 
        "netstandard1.1": { 
            "imports": [ 
                "portable-net45+win8" 
            ] 
         } 
    }

    If your are using .csproj you need add 

    <PackageTargetFallback>portable-net45+win8</PackageTargetFallback>

    under your <Project> element.

     

    Thanks,

    Qiming

     

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!