зеркало из https://github.com/mono/nuget.git
Changes made to NuGetExtension.csproj and NuGetExtension.Tests.csproj
and more for being able to automate builds on the CI
This commit is contained in:
Родитель
796999bab7
Коммит
39476c59d0
|
@ -19,10 +19,12 @@
|
|||
<Reference Include="Microsoft.WebMatrix.Core, Version=8.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\Microsoft.WebMatrix.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.WebMatrix.Extensibility, Version=8.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\Microsoft.WebMatrix.Extensibility.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Moq">
|
||||
<HintPath>..\packages\Moq.4.1.1309.1617\lib\net40\Moq.dll</HintPath>
|
||||
|
@ -85,4 +87,5 @@
|
|||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(AdditionalSettingsImport)" Condition="Exists('$(AdditionalSettingsImport)')" />
|
||||
</Project>
|
|
@ -10,10 +10,12 @@
|
|||
<Reference Include="Microsoft.WebMatrix.Core, Version=8.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\Microsoft.WebMatrix.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.WebMatrix.Extensibility, Version=8.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\Microsoft.WebMatrix.Extensibility.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="NuGet.Core, Version=1.6.30117.9648, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
@ -149,6 +151,7 @@
|
|||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(AdditionalSettingsImport)" Condition="Exists('$(AdditionalSettingsImport)')" />
|
||||
<!-- Build package out of nuspec -->
|
||||
<PropertyGroup>
|
||||
<MajorVersion>2</MajorVersion>
|
||||
|
@ -162,10 +165,16 @@
|
|||
<PackageVersion>$(MajorVersion).$(MinorVersion).0</PackageVersion>
|
||||
</PropertyGroup>
|
||||
<Target Name="BeforeBuild">
|
||||
<PropertyGroup>
|
||||
<NuGetExe>..\lib\NuGet.exe</NuGetExe>
|
||||
<PackageSources>https://www.nuget.org/api/v2/</PackageSources>
|
||||
</PropertyGroup>
|
||||
<Message Text="Restoring NuGet packages for all the projects in NuGetExtension.sln" Importance="High" />
|
||||
<Exec Command="$(NuGetExe) restore -source "$(PackageSources)"" WorkingDirectory="..\" />
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
<PropertyGroup>
|
||||
<NuGetExe>..\..\..\..\NuGet.exe</NuGetExe>
|
||||
<NuGetExe>..\..\..\..\lib\NuGet.exe</NuGetExe>
|
||||
</PropertyGroup>
|
||||
<Exec Command="$(NuGetExe) pack NuGetPackageManager.NuSpec -NoPackageAnalysis -Version $(PackageVersion)" WorkingDirectory="$(OutputPath)" />
|
||||
</Target>
|
||||
|
|
|
@ -1,16 +1,19 @@
|
|||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<version>2.5</version>
|
||||
<authors>Outercurve Foundation</authors>
|
||||
<owners>outercurve</owners>
|
||||
<id>NuGetPackageManager</id>
|
||||
<title />
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>
|
||||
This is the extension for NuGet Package Manager</description>
|
||||
<summary />
|
||||
</metadata>
|
||||
<metadata>
|
||||
<id>NuGetPackageManager</id>
|
||||
<version>2.5</version>
|
||||
<authors>Outercurve Foundation</authors>
|
||||
<owners>Outercurve Foundation</owners>
|
||||
<licenseUrl>http://nuget.codeplex.com/license</licenseUrl>
|
||||
<projectUrl>http://nuget.codeplex.com</projectUrl>
|
||||
<copyright>© Outercurve Foundation. All rights reserved.</copyright>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>
|
||||
This is the extension for NuGet Package Manager
|
||||
</description>
|
||||
<summary />
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="NuGetExtension.dll" target="content\NuGetPackageManager\NuGetExtension.dll" />
|
||||
<file src="NuGet.Core.dll" target="content\NuGetPackageManager\NuGet.Core.dll" />
|
||||
|
|
Двоичный файл не отображается.
Загрузка…
Ссылка в новой задаче