Skip to content

tommoser/mipsdk-dotnetcore-filesdk-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MIP SDK .NET Core Sample

This sample application will work on Ubuntu 18.04 or Windows. It's important to install the correct NuGet package, depending on which platform you're using.

Ubuntu 18.04

Install .NET Core

Install .NET Core SDK on Ubuntu

Install the MIP SDK dependencies on Linux.

sudo apt-get install scons libgsf-1-dev libssl-dev libsecret-1-dev freeglut3-dev libcpprest-dev libcurl3-dev uuid-dev

Install the Microsoft Authentication Library dependency

MSAL on Ubuntu, when authentication in a public client application, will use a browser to perform authentication. This requires the xdg-utils package.

sudo apt-get install xdg-utils

Install the NuGet Packages

The Ubuntu package is a separate package from the Windows C++/.NET Package. In the project directory, add the package by running:

dotnet add package Microsoft.Extensions.Configuration
dotnet add packageMicrosoft.Extensions.Configuration.FileExtensions
dotnet add package Microsoft.Extensions.Configuration.Json
dotnet add package Microsoft.Extensions.DependencyInjection
dotnet add package microsoft.identity.client
dotnet add package Microsoft.InformationProtection.File.Ubuntu1804

If you've cloned the project, the packages will restore upon first build.

Build the project and run

dotnet build --output ../bin/Debug
cd /bin/Debug/netcoreapp3.1

Windows

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages