Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

NuGet package updates, Added NLog.Schema package.

  • Loading branch information...
commit 41191bb96bb4dddd98c3d2f08bc5d2d1c2f3f1e9 1 parent c5a4b17
@jkowalski authored
View
35 src/NLog.proj
@@ -45,7 +45,7 @@
<WebsiteDir Condition="'$(WebsiteDir)' == ''">$(BaseOutputDirectory)\bin\$(Configuration)\Website</WebsiteDir>
<LastTestRunSummary>$(BaseOutputDirectory)\bin\LastTestRunSummary.cmd</LastTestRunSummary>
<BuildInfoFile>$(BaseOutputDirectory)\obj\BuildInfo.cs</BuildInfoFile>
- <NuGetTool>c:\apps\nuget\NuGet.exe</NuGetTool>
+ <NuGetTool>NuGet.exe</NuGetTool>
<NuGetBuildPath>$(BaseOutputDirectory)\obj\$(Configuration)\NuGet</NuGetBuildPath>
</PropertyGroup>
@@ -438,7 +438,7 @@
<MSBuild Projects="$(MSBuildProjectFile)" Targets="PostProcessSingleDoc" Properties="DocBuildDir=$(BaseOutputDirectory)\bin\$(Configuration)\Documentation" />
</Target>
- <Target Name="NuGetPackage" DependsOnTargets="NuGetBasePackage;NuGetExtendedPackage;NuGetConfigPackage">
+ <Target Name="NuGetPackage" DependsOnTargets="NuGetBasePackage;NuGetExtendedPackage;NuGetConfigPackage;NuGetSchemaPackage">
</Target>
<Target Name="NuGetBasePackage">
@@ -486,18 +486,37 @@
<Target Name="NuGetConfigPackage">
<ItemGroup>
- <NuGetConfigFiles Include="NuGet/NLog.Config/**" />
- </ItemGroup>
+ <NuGetConfigFiles Include="NuGet/NLog.Config/**" />
+ </ItemGroup>
- <!-- prepare static files -->
- <RemoveDir Directories="$(NuGetBuildPath)\NLog.Config" />
- <Copy SourceFiles="@(NuGetConfigFiles)" DestinationFolder="$(NuGetBuildPath)\NLog.Config\%(RecursiveDir)" />
+ <!-- prepare static files -->
+ <RemoveDir Directories="$(NuGetBuildPath)\NLog.Config" />
+ <Copy SourceFiles="@(NuGetConfigFiles)" DestinationFolder="$(NuGetBuildPath)\NLog.Config\%(RecursiveDir)" />
+ <Copy SourceFiles="$(BaseOutputDirectory)\bin\$(Configuration)\NLog.xsd"
+ DestinationFolder="$(NuGetBuildPath)\NLog.Config\content" />
- <!-- package -->
+ <!-- package -->
<MakeDir Directories="$(NuGetOutputPath)" />
<Exec Command='"$(NuGetTool)" pack NLog.Config.nuspec -OutputDirectory "$(NuGetOutputPath)"' WorkingDirectory="$(NuGetBuildPath)\NLog.Config" />
</Target>
+ <Target Name="NuGetSchemaPackage">
+ <ItemGroup>
+ <NuGetSchemaFiles Include="NuGet/NLog.Schema/**" />
+ </ItemGroup>
+
+ <!-- prepare static files -->
+ <RemoveDir Directories="$(NuGetBuildPath)\NLog.Schema" />
+ <Copy SourceFiles="@(NuGetSchemaFiles)" DestinationFolder="$(NuGetBuildPath)\NLog.Schema\%(RecursiveDir)" />
+ <Copy SourceFiles="$(BaseOutputDirectory)\bin\$(Configuration)\NLog.xsd"
+ DestinationFolder="$(NuGetBuildPath)\NLog.Schema\content" />
+
+ <!-- package -->
+ <MakeDir Directories="$(NuGetOutputPath)" />
+ <Exec Command='"$(NuGetTool)" pack NLog.Schema.nuspec -OutputDirectory "$(NuGetOutputPath)"' WorkingDirectory="$(NuGetBuildPath)\NLog.Schema" />
+ </Target>
+
+
<Target Name="Installer">
<PropertyGroup>
<CommonInstallerProperties>Configuration=$(Configuration);BuildLabel=$(BuildLabel);BuildVersion=$(BuildVersion)</CommonInstallerProperties>
View
2  src/NuGet/NLog.Config/NLog.Config.nuspec
@@ -3,7 +3,7 @@
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>NLog.Config</id>
<title>NLog Configuration</title>
- <version>2.0</version>
+ <version>2.0.0.0</version>
<authors>Jaroslaw Kowalski</authors>
<owners>Jaroslaw Kowalski</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
View
2  src/NuGet/NLog.Extended/NLog.Extended.nuspec
@@ -3,7 +3,7 @@
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>NLog.Extended</id>
<title>NLog for Extended Profile</title>
- <version>2.0</version>
+ <version>2.0.0.0</version>
<authors>Jaroslaw Kowalski</authors>
<owners>Jaroslaw Kowalski</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
View
20 src/NuGet/NLog.Schema/NLog.Schema.nuspec
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+ <id>NLog.Schema</id>
+ <title>NLog Schema for Intellisense(TM)</title>
+ <version>2.0.0.0</version>
+ <authors>Jaroslaw Kowalski</authors>
+ <owners>Jaroslaw Kowalski</owners>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <summary>Enables Intellisense(TM) when editing NLog.config.</summary>
+ <description>Enables Intellisense(TM) when editing NLog configuration file.</description>
+ <language>en-US</language>
+ <iconUrl>http://nlog-project.org/NConfig.png</iconUrl>
+ <projectUrl>http://nlog-project.org/</projectUrl>
+ <licenseUrl>https://raw.github.com/jkowalski/NLog/master/LICENSE.txt</licenseUrl>
+ <dependencies>
+ <dependency id="NLog.Config" version="2.0.0.0" />
+ </dependencies>
+ </metadata>
+</package>
Please sign in to comment.
Something went wrong with that request. Please try again.