Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit 179a607

Browse files
committed
* Better nuget experience (help no longer included in solution, just a shortcut is created)
1 parent 3dd9b8f commit 179a607

File tree

6 files changed

+41
-6
lines changed

6 files changed

+41
-6
lines changed

Help/MongoRepositoryDocumentation.shfbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<SccProvider>SAK</SccProvider>
3838
<SccAuxPath>SAK</SccAuxPath>
3939
<SccLocalPath>SAK</SccLocalPath>
40-
<HelpFileVersion>1.6.9.0</HelpFileVersion>
40+
<HelpFileVersion>1.6.10.0</HelpFileVersion>
4141
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
4242
<HelpFileFormat>HtmlHelp1, Website</HelpFileFormat>
4343
<IndentHtml>False</IndentHtml>

MongoRepository.nuspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<id>MongoRepository</id>
55
<title>MongoRepository</title>
6-
<version>1.6.9</version>
6+
<version>1.6.10</version>
77
<authors>tgeek, RobIII</authors>
88
<owners>tgeek</owners>
99
<licenseUrl>http://mongorepository.codeplex.com/license</licenseUrl>
@@ -13,7 +13,7 @@
1313
<tags>mongo mongodb repository</tags>
1414
<iconUrl>http://download-codeplex.sec.s-msft.com/Download?ProjectName=mongorepository&amp;DownloadId=334950&amp;Build=19692</iconUrl>
1515
<releaseNotes>
16-
Updated to MongoCSharp driver 1.10.1
16+
Documentation no longer installs in solution directory, from now on only a shortcut is created.
1717
</releaseNotes>
1818
<summary>
1919
Provides a repository pattern on top of 10gen's MongoDB C# driver.
@@ -32,6 +32,8 @@
3232
<file src="\MongoRepository\bin\Release\MongoRepository.Net45.XML" target="lib\net45" />
3333
<file src="\MongoRepository\app.config.transform" target="content" />
3434
<file src="\MongoRepository\web.config.transform" target="content" />
35-
<file src="\Help\Output\MongoRepository.chm" target="content" />
35+
<file src="\Help\Output\MongoRepository.chm" target="" />
36+
<file src="install.ps1" target="tools\install.ps1" />
37+
<file src="uninstall.ps1" target="tools\uninstall.ps1" />
3638
</files>
3739
</package>

MongoRepository.sln

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ Microsoft Visual Studio Solution File, Format Version 12.00
44
VisualStudioVersion = 12.0.40629.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepository.Net40", "MongoRepository\MongoRepository.Net40.csproj", "{E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390}"
7+
ProjectSection(ProjectDependencies) = postProject
8+
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
9+
EndProjectSection
710
EndProject
811
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepositoryTests", "MongoRepositoryTests\MongoRepositoryTests.csproj", "{7C8276C3-819A-4EA1-BFDA-64C3760B0037}"
12+
ProjectSection(ProjectDependencies) = postProject
13+
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
14+
{CE75B2FE-C027-42F6-8D00-E44CC38BE7C7} = {CE75B2FE-C027-42F6-8D00-E44CC38BE7C7}
15+
EndProjectSection
916
EndProject
1017
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D62DDBAF-08C6-4130-890A-888910785B65}"
1118
ProjectSection(SolutionItems) = preProject
@@ -26,10 +33,16 @@ EndProject
2633
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepository.Net35", "MongoRepository\MongoRepository.Net35.csproj", "{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}"
2734
EndProject
2835
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepository.Net45", "MongoRepository\MongoRepository.Net45.csproj", "{CE75B2FE-C027-42F6-8D00-E44CC38BE7C7}"
36+
ProjectSection(ProjectDependencies) = postProject
37+
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
38+
{E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390} = {E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390}
39+
EndProjectSection
2940
EndProject
3041
Project("{7CF6DF6D-3B04-46F8-A40B-537D21BCA0B4}") = "MongoRepositoryDocumentation", "Help\MongoRepositoryDocumentation.shfbproj", "{08800A8D-1A63-490B-9F1B-695112E272F7}"
3142
ProjectSection(ProjectDependencies) = postProject
43+
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
3244
{E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390} = {E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390}
45+
{CE75B2FE-C027-42F6-8D00-E44CC38BE7C7} = {CE75B2FE-C027-42F6-8D00-E44CC38BE7C7}
3346
EndProjectSection
3447
EndProject
3548
Global

MongoRepository/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
// The following GUID is for the ID of the typelib if this project is exposed to COM
2323
[assembly: Guid("7e3d1784-b1f3-4b33-a303-7facc780917e")]
2424

25-
[assembly: AssemblyVersion("1.6.9.0")]
26-
[assembly: AssemblyFileVersion("1.6.9.0")]
25+
[assembly: AssemblyVersion("1.6.10.0")]
26+
[assembly: AssemblyFileVersion("1.6.10.0")]

install.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$helpfile = "MongoRepository.chm";
4+
$helpfolder = "Documentation"
5+
$helpsource = $installPath + "\" + $helpfile
6+
7+
$folder = $project.ProjectItems.Item($helpfolder)
8+
If (-not $folder) {
9+
$folder = $project.ProjectItems.AddFolder($helpfolder)
10+
}
11+
$folder.ProjectItems.AddFromFile($helpsource)

uninstall.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$helpfile = "MongoRepository.chm";
4+
$helpfolder = "Documentation"
5+
6+
$project.ProjectItems.Item($helpfolder).ProjectItems.Item($helpfile).Delete();
7+
If ($project.ProjectItems.Item($helpfolder).ProjectItems.Count() -eq 0) {
8+
$project.ProjectItems.Item($helpfolder).Delete()
9+
}

0 commit comments

Comments
 (0)