JsonPoke.MSBuild 1.0.5

There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package JsonPoke.MSBuild -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package JsonPoke.MSBuild --version 1.0.5
<PackageReference Include="JsonPoke.MSBuild" Version="1.0.5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JsonPoke.MSBuild --version 1.0.5
#r "nuget: JsonPoke.MSBuild, 1.0.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install JsonPoke.MSBuild as a Cake Addin
#addin nuget:?package=JsonPoke.MSBuild&version=1.0.5

// Install JsonPoke.MSBuild as a Cake Tool
#tool nuget:?package=JsonPoke.MSBuild&version=1.0.5

JsonPoke and JsonPeek build tasks:
Usage :
   <JsonPoke JsonInputPath="$(MSBuildProjectDirectory)\Project.json" Value="Empty-FromTest" JPath="Project.Name">
   </JsonPoke>
   <JsonPoke JsonInputPath="$(MSBuildProjectDirectory)\Project.json" Value="Empty-FromTest" JPath="Project.IncludedLibraryVariableSetIds[?(@.Name == 'Lib-68')].Value">
   </JsonPoke>
   <JsonPeek JsonInputPath="$(MSBuildProjectDirectory)\Project.json" JPath="Project.IncludedLibraryVariableSetIds[?(@.Name == 'Lib-69')].Value">
     <Output TaskParameter="Result" ItemName="Lib69Value" />
   </JsonPeek>
   <PropertyGroup>
     <JsonContent>
       <![CDATA[{
 "Project": {
   "Id": "project1",
   "IncludedLibraryVariableSetIds": [
     {
       "Name": "Lib-68",
       "Value": "Empty-FromTest"
     },
     {
       "Name": "Lib-69",
       "Value": "ToBeReplaced"
     },
     {
       "Name": "Lib-69",
       "Value": "ToBeReplaced1"
     }
   ],
   "DefaultToSkipIfAlreadyInstalled": false,
   "VersioningStrategy": {
     "DonorPackageStepId": "2624300c-958e-45ec-ae87-aadb3a3df790",
     "Template": null
   },
   "Name": "Empty-FromTest",
   "Description": "",
   "IsDisabled": false
 }
}
 ]]>
     </JsonContent>
   </PropertyGroup>
   <JsonPeek JPath="Project.IncludedLibraryVariableSetIds[?(@.Name == 'Lib-69')].Value" JsonContent="$(JsonContent)">    
     <Output TaskParameter="Result" ItemName="Lib69Value_FromContent" />
   </JsonPeek>
   <Message Text="Project.IncludedLibraryVariableSetIds[?(@.Name == 'Lib-69')].Value : @(Lib69Value)" />
   <Message Text="Project.IncludedLibraryVariableSetIds[?(@.Name == 'Lib-69')].Value From JsonContent : @(Lib69Value_FromContent)" />

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on JsonPoke.MSBuild:

Package Downloads
OctopusDeployExport.MSBuild

Exports your octopus deploy project as JSON and masks the time and other passwords.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on JsonPoke.MSBuild:

Repository Stars
MonoGame/MonoGame
One framework for creating powerful cross-platform games.
Version Downloads Last updated
1.0.9 31,762 7/20/2017
1.0.8 7,725 3/15/2017
1.0.7 15,709 12/15/2014
1.0.6 1,540 11/12/2014
1.0.5 1,232 11/11/2014
1.0.4 1,520 11/4/2014
1.0.3 1,008 10/2/2014
1.0.2 1,080 9/24/2014
1.0.1 1,053 9/24/2014
1.0.0 1,050 9/24/2014

1.0.2: Added JPath derived from Newtonsoft.json http://james.newtonking.com/archive/2014/02/01/json-net-6-0-release-1-%E2%80%93-jsonpath-and-f-support
1.0.4 : Fixing JSONPeek to return ITaskItem[] Result as output
Upgrade to this version, Need change from .Value to .Result
1.0.5 : Support for JsonContent and JsonInputPath.
Upgrade to this version needs change from FullFilePath and JsonFile to one JsonInputPath property