Do we have PnP Core for .net core console application??

Brass Contributor

Hi All,

 

I was developing an timer job using "PnP Core Component - Remote Timer Job Framework". I added "SharePointPnPCoreOnline" package to console application to console application of both .net core and .net framework. Below is the output:

 

  • .NET Framework - Console Application  -  Working
  • .NET Core - Console Application -  Failed

Is there any seperate nuget or tweaks to existinng core project (PnP.Core) to make "SharePointPnPCoreOnline" package working for .NET Core -  Console Application

 

Advance Thanks!!

Sri

7 Replies

Nope, a .NET Core Compatible NuGet package does not exist...

@Paul Pascha. Thanks for quick response.

@Paul Pascha : Any idea whether team has any plans to built in .NET core in near future?

I'd like to know this too please.  I had to set my target to net4.6.1 which immediately removes cross platform capability.

 

For reference, here is my csproj file:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net4.6.1</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="SharePointPnPCoreOnline" Version="2.18.1709.0" />
    <PackageReference Include="System.Security.SecureString" Version="4.3.0" />
  </ItemGroup>
</Project>

I don't know about any concrete plans to support this. In the meanwhile there is a UserVoice idea you could vote for:

https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/16585795-support-...

Thanks alot. Will vote for sure.