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

%3CLINGO-SUB%20id%3D%22lingo-sub-45448%22%20slang%3D%22en-US%22%3EDo%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45448%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20developing%20an%20timer%20job%20using%26nbsp%3B%22%3CSPAN%3EPnP%20Core%20Component%20-%20Remote%20Timer%20Job%20Framework%22.%20I%20added%26nbsp%3B%22SharePointPnPCoreOnline%22%20package%20to%20console%20application%20to%20console%20application%20of%20both%20.net%20core%20and%20.net%20framework.%20Below%20is%20the%20output%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3E.NET%20Framework%20-%20Console%20Application%20%26nbsp%3B-%20%26nbsp%3BWorking%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3E.NET%20Core%20-%20Console%20Application%20-%20%26nbsp%3BFailed%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3EIs%20there%20any%20seperate%20nuget%20or%20tweaks%20to%20existinng%20core%20project%20(PnP.Core)%20to%20make%26nbsp%3B%22SharePointPnPCoreOnline%22%20package%20working%20for%20.NET%20Core%20-%20%26nbsp%3BConsole%20Application%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAdvance%20Thanks!!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESri%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-45448%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110928%22%20slang%3D%22en-US%22%3ERe%3A%20Do%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110928%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F53811%22%20target%3D%22_blank%22%3E%40Darren%20Parkinson%3C%2FA%3E%20%3A%20Please%20push%20up%20the%20vote%20count%20from%20below%20link.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F16585795-support-net-core-with-csom%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F16585795-support-net-core-with-csom%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110927%22%20slang%3D%22en-US%22%3ERe%3A%20Do%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110927%22%20slang%3D%22en-US%22%3EThanks%20alot.%20Will%20vote%20for%20sure.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110878%22%20slang%3D%22en-US%22%3ERe%3A%20Do%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110878%22%20slang%3D%22en-US%22%3E%3CP%3EI%20don't%20know%20about%20any%20concrete%20plans%20to%20support%20this.%20In%20the%20meanwhile%20there%20is%20a%20UserVoice%20idea%20you%20could%20vote%20for%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F16585795-support-net-core-with-csom%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F16585795-support-net-core-with-csom%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110874%22%20slang%3D%22en-US%22%3ERe%3A%20Do%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110874%22%20slang%3D%22en-US%22%3E%3CP%3EI'd%20like%20to%20know%20this%20too%20please.%20%26nbsp%3BI%20had%20to%20set%20my%20target%20to%20net4.6.1%20which%20immediately%20removes%20cross%20platform%20capability.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20reference%2C%20here%20is%20my%20csproj%20file%3A%3C%2FP%3E%3CPRE%3E%26lt%3BProject%20Sdk%3D%22Microsoft.NET.Sdk%22%26gt%3B%0A%20%20%26lt%3BPropertyGroup%26gt%3B%0A%20%20%20%20%26lt%3BOutputType%26gt%3BExe%26lt%3B%2FOutputType%26gt%3B%0A%20%20%20%20%26lt%3BTargetFramework%26gt%3Bnet4.6.1%26lt%3B%2FTargetFramework%26gt%3B%0A%20%20%26lt%3B%2FPropertyGroup%26gt%3B%0A%20%20%26lt%3BItemGroup%26gt%3B%0A%20%20%20%20%26lt%3BPackageReference%20Include%3D%22SharePointPnPCoreOnline%22%20Version%3D%222.18.1709.0%22%20%2F%26gt%3B%0A%20%20%20%20%26lt%3BPackageReference%20Include%3D%22System.Security.SecureString%22%20Version%3D%224.3.0%22%20%2F%26gt%3B%0A%20%20%26lt%3B%2FItemGroup%26gt%3B%0A%26lt%3B%2FProject%26gt%3B%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110862%22%20slang%3D%22en-US%22%3ERe%3A%20Do%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110862%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1803%22%20target%3D%22_blank%22%3E%40Paul%20Pascha%3C%2FA%3E%26nbsp%3B%3A%20Any%20idea%20whether%20team%20has%20any%20plans%20to%20built%20in%20.NET%20core%20in%20near%20future%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-45459%22%20slang%3D%22en-US%22%3ERe%3A%20Do%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45459%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1803%22%20target%3D%22_blank%22%3E%40Paul%20Pascha%3C%2FA%3E.%20Thanks%20for%20quick%20response.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-45454%22%20slang%3D%22en-US%22%3ERe%3A%20Do%20we%20have%20PnP%20Core%20for%20.net%20core%20console%20application%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45454%22%20slang%3D%22en-US%22%3E%3CP%3ENope%2C%20a%20.NET%20Core%20Compatible%20NuGet%20package%20does%20not%20exist...%3C%2FP%3E%3C%2FLINGO-BODY%3E
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.