Forum Discussion
Do we have PnP Core for .net core console application??
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
- paulpaschaBronze Contributor
Nope, a .NET Core Compatible NuGet package does not exist...
- Srinivas NarulaBrass Contributor
paulpascha : Any idea whether team has any plans to built in .NET core in near future?
- Darren ParkinsonBrass Contributor
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>
- Srinivas NarulaBrass Contributorpaulpascha. Thanks for quick response.
- paulpaschaBronze Contributor
I don't know about any concrete plans to support this. In the meanwhile there is a UserVoice idea you could vote for:
- Srinivas NarulaBrass ContributorThanks alot. Will vote for sure.