SFNuGet.Build 1.0.0-alpha-00

This is a prerelease version of SFNuGet.Build.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SFNuGet.Build --version 1.0.0-alpha-00
NuGet\Install-Package SFNuGet.Build -Version 1.0.0-alpha-00
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.
<PackageReference Include="SFNuGet.Build" Version="1.0.0-alpha-00" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SFNuGet.Build --version 1.0.0-alpha-00
#r "nuget: SFNuGet.Build, 1.0.0-alpha-00"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SFNuGet.Build as a Cake Addin
#addin nuget:?package=SFNuGet.Build&version=1.0.0-alpha-00&prerelease

// Install SFNuGet.Build as a Cake Tool
#tool nuget:?package=SFNuGet.Build&version=1.0.0-alpha-00&prerelease

This is designed to be added as a dependency of an SFNuGet service package.

After you install your first SFNuGet package, you'll need to update your .sfproj.

Open the application project (.sfproj) in a text editor and import the MSBuild targets by adding this line:

<Import Project="..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets" Condition="Exists('..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets')" />

and for people who haven't run package restoration, add this under the ValidateMSBuildFiles target:

<Error Condition="!Exists('..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets')" Text="Unable to find the '..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets' file. Please restore the 'SFNuGet.Build' NuGet package" />

You should end up with this:

 <Import Project="$(ApplicationProjectTargetsPath)" Condition="Exists('$(ApplicationProjectTargetsPath)')" />
 <Import Project="..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.2\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets" Condition="Exists('..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.2\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets')" />
 <Import Project="..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets" Condition="Exists('..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets')" />
 <Target Name="ValidateMSBuildFiles">
     <Error Condition="!Exists('..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.2\build\Microsoft.VisualStudio.Azure.Fabric.Application.props')" Text="Unable to find the '..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.2\build\Microsoft.VisualStudio.Azure.Fabric.Application.props' file. Please restore the 'Microsoft.VisualStudio.Azure.Fabric.MSBuild' Nuget package" />
     <Error Condition="!Exists('..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.2\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets')" Text="Unable to find the '..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.2\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets' file. Please restore the 'Microsoft.VisualStudio.Azure.Fabric.MSBuild' Nuget package" />
     <Error Condition="!Exists('..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets')" Text="Unable to find the '..\packages\SFNuGet.Build.1.0.0-alpha-00\build\SFNuGet.Build.targets' file. Please restore the 'SFNuGet.Build' NuGet package" />
 </Target>
 ```

(I'd love this to be automated [but-](https://github.com/Azure/service-fabric-issues/issues/558#issuecomment-356816774).)
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 1,069 1/17/2018
1.0.0 961 1/12/2018
1.0.0-alpha-00 812 1/11/2018

Initial release.