Skip to content

Commit 334315c

Browse files
committed
migrated Examples project to NuGet
1 parent 0947013 commit 334315c

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ build
2121
*.cache
2222

2323
*~
24-
24+
src/packages
25+
*.ncrunchsolution
2526
*.swp
2627
TestResult.xml

src/Examples.FirstAutomappedProject/Examples.FirstAutomappedProject.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,11 @@
7272
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
7373
</PropertyGroup>
7474
<ItemGroup>
75-
<Reference Include="NHibernate, Version=2.0.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
76-
<SpecificVersion>False</SpecificVersion>
77-
<HintPath>..\..\tools\NHibernate\NHibernate.dll</HintPath>
75+
<Reference Include="Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
76+
<HintPath>..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll</HintPath>
77+
</Reference>
78+
<Reference Include="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
79+
<HintPath>..\packages\NHibernate.3.3.3.4000\lib\Net35\NHibernate.dll</HintPath>
7880
</Reference>
7981
<Reference Include="System" />
8082
<Reference Include="System.Core">
@@ -119,6 +121,9 @@
119121
<Install>true</Install>
120122
</BootstrapperPackage>
121123
</ItemGroup>
124+
<ItemGroup>
125+
<None Include="packages.config" />
126+
</ItemGroup>
122127
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
123128
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
124129
Other similar extension points exist, see Microsoft.Common.targets.

src/Examples.FirstProject/Examples.FirstProject.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,11 @@
7272
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
7373
</PropertyGroup>
7474
<ItemGroup>
75-
<Reference Include="NHibernate, Version=2.0.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
76-
<SpecificVersion>False</SpecificVersion>
77-
<HintPath>..\..\tools\NHibernate\NHibernate.dll</HintPath>
75+
<Reference Include="Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
76+
<HintPath>..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll</HintPath>
77+
</Reference>
78+
<Reference Include="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
79+
<HintPath>..\packages\NHibernate.3.3.3.4000\lib\Net35\NHibernate.dll</HintPath>
7880
</Reference>
7981
<Reference Include="System" />
8082
<Reference Include="System.Core">
@@ -132,6 +134,9 @@
132134
<Install>true</Install>
133135
</BootstrapperPackage>
134136
</ItemGroup>
137+
<ItemGroup>
138+
<None Include="packages.config" />
139+
</ItemGroup>
135140
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
136141
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
137142
Other similar extension points exist, see Microsoft.Common.targets.

src/packages/repositories.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<repositories>
3+
<repository path="..\Examples.FirstAutomappedProject\packages.config" />
4+
<repository path="..\Examples.FirstProject\packages.config" />
35
<repository path="..\FluentNHibernate.Specs\packages.config" />
46
</repositories>

0 commit comments

Comments
 (0)