Skip to content

Commit

Permalink
Test Common nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Hurdugaci committed Aug 27, 2014
1 parent b2765a4 commit 72b357f
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WebJobs.sln
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebJobs.ServiceBus.UnitTest
{4A832C21-66EA-4DE4-8124-F27F8900CBA9} = {4A832C21-66EA-4DE4-8124-F27F8900CBA9}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Packages", "test\Packages\Packages.csproj", "{0AFF4B92-6E8C-456B-A3F8-BF76CE55FFDF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -110,6 +112,10 @@ Global
{28BC5EE0-9227-4124-AA8F-1C0CAA218D12}.Debug|Any CPU.Build.0 = Debug|Any CPU
{28BC5EE0-9227-4124-AA8F-1C0CAA218D12}.Release|Any CPU.ActiveCfg = Release|Any CPU
{28BC5EE0-9227-4124-AA8F-1C0CAA218D12}.Release|Any CPU.Build.0 = Release|Any CPU
{0AFF4B92-6E8C-456B-A3F8-BF76CE55FFDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0AFF4B92-6E8C-456B-A3F8-BF76CE55FFDF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0AFF4B92-6E8C-456B-A3F8-BF76CE55FFDF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0AFF4B92-6E8C-456B-A3F8-BF76CE55FFDF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -122,5 +128,6 @@ Global
{7EF78F7B-C9C9-4311-B87D-50ED5932CC93} = {639967B0-0544-4C52-94AC-9A3D25E33256}
{34D23554-5482-4B3D-B65F-46DFF5AF1684} = {FA608267-1272-4BD5-B230-0F41A48D18C8}
{28BC5EE0-9227-4124-AA8F-1C0CAA218D12} = {639967B0-0544-4C52-94AC-9A3D25E33256}
{0AFF4B92-6E8C-456B-A3F8-BF76CE55FFDF} = {639967B0-0544-4C52-94AC-9A3D25E33256}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), WebJobs.sln))\tools\NuGetProj.settings.targets"/>
<PropertyGroup>
<NuSpecFile>$(MSBuildProjectName).nuspec</NuSpecFile>
<NuGetPackageId>Microsoft.Azure.WebJobs.Host.TestCommon</NuGetPackageId>
<NuGetPackageVersion>$(WebJobsPackageVersion)</NuGetPackageVersion>
<NuGetPackSymbols>false</NuGetPackSymbols>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.Azure.WebJobs.Host.TestCommon\WebJobs.Host.TestCommon.csproj">
<Project>{4A832C21-66EA-4DE4-8124-F27F8900CBA9}</Project>
<Name>WebJobs.Host.TestCommon</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<NuGetContent Include="$(WebJobsRootPath)\test\Microsoft.Azure.WebJobs.Host.TestCommon\bin\$(Configuration)\Microsoft.Azure.WebJobs.Host.TestCommon.dll">
<Destination>lib\net45\Microsoft.Azure.WebJobs.Host.TestCommon.dll</Destination>
</NuGetContent>
</ItemGroup>
<Import Project="$(WebJobsToolsPath)NuGetProj.targets"/>
<Target Name="BeforeBuild">
<PropertyGroup>
<!-- Define properties you want to use inside your nuspec file. -->
<NuSpecProperties>NuGetPackageId=$(NuGetPackageId);NuGetPackageVersion=$(NuGetPackageVersion);PackageEULA=$(WebJobsPackageEULA);WebJobsPackageVersion=$(WebJobsPackageVersion)</NuSpecProperties>
</PropertyGroup>
</Target>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>$NuGetPackageId$</id>
<title>Microsoft.Azure.WebJobs.Host.TestCommon</title>
<version>$NuGetPackageVersion$</version>
<authors>Microsoft</authors>
<copyright>&#169; Microsoft Corporation. All rights reserved.</copyright>
<summary>Microsoft.Azure.WebJobs.Host.TestCommon is a test library for writing WebJobs in Microsoft Azure.</summary>
<description>Microsoft.Azure.WebJobs.Host.TestCommon is a test library for writing WebJobs in Microsoft Azure.</description>
<language>en-US</language>
<projectUrl>http://go.microsoft.com/fwlink/?LinkID=320972</projectUrl>
<licenseUrl>$PackageEULA$</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<tags>Microsoft Azure WebJobs Jobs Storage Table Blob Queue windowsazureofficial Web Test</tags>
<dependencies>
<dependency id="Microsoft.Azure.WebJobs" version="[$WebJobsPackageVersion$]" />
<dependency id="Newtonsoft.Json" version="5.0.6"/>
<dependency id="WindowsAzure.Storage" version="4.0.1"/>
</dependencies>
</metadata>
</package>
42 changes: 42 additions & 0 deletions test/Packages/Packages.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SkipCopyBuildProduct>true</SkipCopyBuildProduct>
<ProjectGuid>{0AFF4B92-6E8C-456B-A3F8-BF76CE55FFDF}</ProjectGuid>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\tools\NuGetProj.settings.targets">
<Link>NuGetProj.settings.targets</Link>
</None>
<NuGetProject Include="..\Microsoft.Azure.WebJobs.Host.TestCommon.NuGet\WebJobs.Host.TestCommon.nuproj">
<Link>Microsoft.Azure.WebJobs.Host.TestCommon.NuGet\WebJobs.Host.TestCommon.nuspec</Link>
</NuGetProject>
<NuGetSpec Include="..\Microsoft.Azure.WebJobs.Host.TestCommon.NuGet\WebJobs.Host.TestCommon.nuspec ">
<Link>Microsoft.Azure.WebJobs.Host.TestCommon.NuGet\WebJobs.Host.TestCommon.nuspec </Link>
</NuGetSpec>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="Build">
<MSBuild Projects="@(NuGetProject)" Targets="Build" />
</Target>
<Target Name="Clean">
<MSBuild Projects="@(NuGetProject)" Targets="Clean" />
</Target>
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

0 comments on commit 72b357f

Please sign in to comment.