Skip to content

Commit afbe125

Browse files
committed
updated all csprojs to ref nuget packages instead of local lib folder
added nuspec files for each csproj
1 parent b5b68c2 commit afbe125

16 files changed

Lines changed: 245 additions & 35 deletions

src/ServiceStack.Logging.Elmah/ServiceStack.Logging.Elmah.csproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,16 @@
3636
</PropertyGroup>
3737
<ItemGroup>
3838
<Reference Include="Elmah">
39-
<HintPath>..\..\lib\Elmah.dll</HintPath>
39+
<HintPath>..\packages\elmah.corelibrary.1.2.1\lib\Elmah.dll</HintPath>
40+
</Reference>
41+
<Reference Include="ServiceStack.Common">
42+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Common.dll</HintPath>
4043
</Reference>
4144
<Reference Include="ServiceStack.Interfaces">
42-
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
45+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Interfaces.dll</HintPath>
46+
</Reference>
47+
<Reference Include="ServiceStack.Text">
48+
<HintPath>..\packages\ServiceStack.Text.3.4.6\lib\ServiceStack.Text.dll</HintPath>
4349
</Reference>
4450
<Reference Include="System" />
4551
<Reference Include="System.Web" />
@@ -49,6 +55,10 @@
4955
<Compile Include="ElmahLogFactory.cs" />
5056
<Compile Include="Properties\AssemblyInfo.cs" />
5157
</ItemGroup>
58+
<ItemGroup>
59+
<None Include="packages.config" />
60+
<None Include="ServiceStack.Logging.Elmah.nuspec" />
61+
</ItemGroup>
5262
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5363
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
5464
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<summary>Elmah logging integration for ServiceStack, the Opensource .NET and Mono REST Web Services Framework</summary>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>$description$</description>
12+
<projectUrl>https://github.com/ServiceStack/ServiceStack.Logging</projectUrl>
13+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
14+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
15+
<tags>servicestack log logging elmah</tags>
16+
<language>en-US</language>
17+
<copyright>servicestack.net 2012 and contributors</copyright>
18+
<dependencies>
19+
<dependency id="elmah.corelibrary" />
20+
<dependency id="ServiceStack.Common" />
21+
</dependencies>
22+
</metadata>
23+
</package>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="elmah.corelibrary" version="1.2.1" />
4+
<package id="ServiceStack.Common" version="3.4.3" />
5+
<package id="ServiceStack.Text" version="3.4.6" />
6+
</packages>

src/ServiceStack.Logging.EventLog/ServiceStack.Logging.EventLog.csproj

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,18 @@
6262
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
6363
</PropertyGroup>
6464
<ItemGroup>
65+
<Reference Include="ServiceStack.Common">
66+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Common.dll</HintPath>
67+
</Reference>
68+
<Reference Include="ServiceStack.Interfaces">
69+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Interfaces.dll</HintPath>
70+
</Reference>
71+
<Reference Include="ServiceStack.Text">
72+
<HintPath>..\packages\ServiceStack.Text.3.4.6\lib\ServiceStack.Text.dll</HintPath>
73+
</Reference>
6574
<Reference Include="System" />
6675
<Reference Include="System.Data" />
6776
<Reference Include="System.Xml" />
68-
<Reference Include="ServiceStack.Interfaces, Version=1.0.4132.8321, Culture=neutral, PublicKeyToken=null">
69-
<SpecificVersion>False</SpecificVersion>
70-
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
71-
</Reference>
7277
</ItemGroup>
7378
<ItemGroup>
7479
<Compile Include="EventLogFactory.cs" />
@@ -102,6 +107,10 @@
102107
<Install>false</Install>
103108
</BootstrapperPackage>
104109
</ItemGroup>
110+
<ItemGroup>
111+
<None Include="packages.config" />
112+
<None Include="ServiceStack.Logging.EventLog.nuspec" />
113+
</ItemGroup>
105114
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
106115
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
107116
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<summary>Windows Event Log integration for ServiceStack, the Opensource .NET and Mono REST Web Services Framework</summary>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>$description$</description>
12+
<projectUrl>https://github.com/ServiceStack/ServiceStack.Logging</projectUrl>
13+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
14+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
15+
<tags>servicestack log logging eventlog</tags>
16+
<language>en-US</language>
17+
<copyright>servicestack.net 2012 and contributors</copyright>
18+
<dependencies>
19+
<dependency id="ServiceStack.Common" />
20+
</dependencies>
21+
</metadata>
22+
</package>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="ServiceStack.Common" version="3.4.3" />
4+
<package id="ServiceStack.Text" version="3.4.6" />
5+
</packages>

src/ServiceStack.Logging.Log4Net/ServiceStack.Logging.Log4Net.csproj

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,22 @@
6262
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
6363
</PropertyGroup>
6464
<ItemGroup>
65-
<Reference Include="System" />
66-
<Reference Include="System.Data" />
67-
<Reference Include="System.Xml" />
68-
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821">
65+
<Reference Include="log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
6966
<SpecificVersion>False</SpecificVersion>
70-
<HintPath>..\..\lib\log4net.dll</HintPath>
67+
<HintPath>..\packages\log4net.1.2.11\lib\net35-full\log4net.dll</HintPath>
7168
</Reference>
72-
<Reference Include="ServiceStack.Interfaces, Version=1.0.4132.8321, Culture=neutral, PublicKeyToken=null">
73-
<SpecificVersion>False</SpecificVersion>
74-
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
69+
<Reference Include="ServiceStack.Common">
70+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Common.dll</HintPath>
71+
</Reference>
72+
<Reference Include="ServiceStack.Interfaces">
73+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Interfaces.dll</HintPath>
74+
</Reference>
75+
<Reference Include="ServiceStack.Text">
76+
<HintPath>..\packages\ServiceStack.Text.3.4.6\lib\ServiceStack.Text.dll</HintPath>
7577
</Reference>
78+
<Reference Include="System" />
79+
<Reference Include="System.Data" />
80+
<Reference Include="System.Xml" />
7681
</ItemGroup>
7782
<ItemGroup>
7883
<Compile Include="Log4NetFactory.cs" />
@@ -106,6 +111,10 @@
106111
<Install>false</Install>
107112
</BootstrapperPackage>
108113
</ItemGroup>
114+
<ItemGroup>
115+
<None Include="packages.config" />
116+
<None Include="ServiceStack.Logging.Log4Net.nuspec" />
117+
</ItemGroup>
109118
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
110119
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
111120
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<summary>log4Net logging integration for ServiceStack, the Opensource .NET and Mono REST Web Services Framework</summary>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>$description$</description>
12+
<projectUrl>https://github.com/ServiceStack/ServiceStack.Logging</projectUrl>
13+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
14+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
15+
<tags>servicestack log logging log4net</tags>
16+
<language>en-US</language>
17+
<copyright>servicestack.net 2012 and contributors</copyright>
18+
<dependencies>
19+
<dependency id="log4net" version="1.2.10" />
20+
<dependency id="ServiceStack.Common" />
21+
</dependencies>
22+
</metadata>
23+
</package>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="log4net" version="1.2.11" />
4+
<package id="ServiceStack.Common" version="3.4.3" />
5+
<package id="ServiceStack.Text" version="3.4.6" />
6+
</packages>

src/ServiceStack.Logging.Log4Netv129/ServiceStack.Logging.Log4Netv129.csproj

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,22 @@
6262
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
6363
</PropertyGroup>
6464
<ItemGroup>
65+
<Reference Include="ServiceStack.Common">
66+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Common.dll</HintPath>
67+
</Reference>
68+
<Reference Include="ServiceStack.Interfaces">
69+
<HintPath>..\packages\ServiceStack.Common.3.4.3\lib\ServiceStack.Interfaces.dll</HintPath>
70+
</Reference>
71+
<Reference Include="ServiceStack.Text">
72+
<HintPath>..\packages\ServiceStack.Text.3.4.6\lib\ServiceStack.Text.dll</HintPath>
73+
</Reference>
6574
<Reference Include="System" />
6675
<Reference Include="System.Data" />
6776
<Reference Include="System.Xml" />
6877
<Reference Include="log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905">
6978
<SpecificVersion>False</SpecificVersion>
7079
<HintPath>..\..\lib\log4net.1.2.9.dll</HintPath>
7180
</Reference>
72-
<Reference Include="ServiceStack.Interfaces, Version=1.0.4132.8321, Culture=neutral, PublicKeyToken=null">
73-
<SpecificVersion>False</SpecificVersion>
74-
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
75-
</Reference>
7681
</ItemGroup>
7782
<ItemGroup>
7883
<Compile Include="Log4NetFactory.cs" />
@@ -106,6 +111,10 @@
106111
<Install>false</Install>
107112
</BootstrapperPackage>
108113
</ItemGroup>
114+
<ItemGroup>
115+
<None Include="packages.config" />
116+
<None Include="ServiceStack.Logging.Log4Netv129.nuspec" />
117+
</ItemGroup>
109118
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
110119
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
111120
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

0 commit comments

Comments
 (0)