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

Commit

Permalink
* Better nuget experience (help no longer included in solution, just …
Browse files Browse the repository at this point in the history
…a shortcut is created)
  • Loading branch information
RobThree committed Nov 20, 2015
1 parent 3dd9b8f commit 179a607
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Help/MongoRepositoryDocumentation.shfbproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<SccProvider>SAK</SccProvider>
<SccAuxPath>SAK</SccAuxPath>
<SccLocalPath>SAK</SccLocalPath>
<HelpFileVersion>1.6.9.0</HelpFileVersion>
<HelpFileVersion>1.6.10.0</HelpFileVersion>
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
<HelpFileFormat>HtmlHelp1, Website</HelpFileFormat>
<IndentHtml>False</IndentHtml>
Expand Down
8 changes: 5 additions & 3 deletions MongoRepository.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>MongoRepository</id>
<title>MongoRepository</title>
<version>1.6.9</version>
<version>1.6.10</version>
<authors>tgeek, RobIII</authors>
<owners>tgeek</owners>
<licenseUrl>http://mongorepository.codeplex.com/license</licenseUrl>
Expand All @@ -13,7 +13,7 @@
<tags>mongo mongodb repository</tags>
<iconUrl>http://download-codeplex.sec.s-msft.com/Download?ProjectName=mongorepository&amp;DownloadId=334950&amp;Build=19692</iconUrl>
<releaseNotes>
Updated to MongoCSharp driver 1.10.1
Documentation no longer installs in solution directory, from now on only a shortcut is created.
</releaseNotes>
<summary>
Provides a repository pattern on top of 10gen's MongoDB C# driver.
Expand All @@ -32,6 +32,8 @@
<file src="\MongoRepository\bin\Release\MongoRepository.Net45.XML" target="lib\net45" />
<file src="\MongoRepository\app.config.transform" target="content" />
<file src="\MongoRepository\web.config.transform" target="content" />
<file src="\Help\Output\MongoRepository.chm" target="content" />
<file src="\Help\Output\MongoRepository.chm" target="" />
<file src="install.ps1" target="tools\install.ps1" />
<file src="uninstall.ps1" target="tools\uninstall.ps1" />
</files>
</package>
13 changes: 13 additions & 0 deletions MongoRepository.sln
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ Microsoft Visual Studio Solution File, Format Version 12.00
VisualStudioVersion = 12.0.40629.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepository.Net40", "MongoRepository\MongoRepository.Net40.csproj", "{E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390}"
ProjectSection(ProjectDependencies) = postProject
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepositoryTests", "MongoRepositoryTests\MongoRepositoryTests.csproj", "{7C8276C3-819A-4EA1-BFDA-64C3760B0037}"
ProjectSection(ProjectDependencies) = postProject
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
{CE75B2FE-C027-42F6-8D00-E44CC38BE7C7} = {CE75B2FE-C027-42F6-8D00-E44CC38BE7C7}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D62DDBAF-08C6-4130-890A-888910785B65}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -26,10 +33,16 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepository.Net35", "MongoRepository\MongoRepository.Net35.csproj", "{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoRepository.Net45", "MongoRepository\MongoRepository.Net45.csproj", "{CE75B2FE-C027-42F6-8D00-E44CC38BE7C7}"
ProjectSection(ProjectDependencies) = postProject
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
{E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390} = {E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390}
EndProjectSection
EndProject
Project("{7CF6DF6D-3B04-46F8-A40B-537D21BCA0B4}") = "MongoRepositoryDocumentation", "Help\MongoRepositoryDocumentation.shfbproj", "{08800A8D-1A63-490B-9F1B-695112E272F7}"
ProjectSection(ProjectDependencies) = postProject
{9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC} = {9D7ED6B5-2B34-4EC6-88CF-CDA2F07431AC}
{E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390} = {E2C4A7F9-4B14-46CB-BFCE-AFABFACB3390}
{CE75B2FE-C027-42F6-8D00-E44CC38BE7C7} = {CE75B2FE-C027-42F6-8D00-E44CC38BE7C7}
EndProjectSection
EndProject
Global
Expand Down
4 changes: 2 additions & 2 deletions MongoRepository/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7e3d1784-b1f3-4b33-a303-7facc780917e")]

[assembly: AssemblyVersion("1.6.9.0")]
[assembly: AssemblyFileVersion("1.6.9.0")]
[assembly: AssemblyVersion("1.6.10.0")]
[assembly: AssemblyFileVersion("1.6.10.0")]
11 changes: 11 additions & 0 deletions install.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
param($installPath, $toolsPath, $package, $project)

$helpfile = "MongoRepository.chm";
$helpfolder = "Documentation"
$helpsource = $installPath + "\" + $helpfile

$folder = $project.ProjectItems.Item($helpfolder)
If (-not $folder) {
$folder = $project.ProjectItems.AddFolder($helpfolder)
}
$folder.ProjectItems.AddFromFile($helpsource)
9 changes: 9 additions & 0 deletions uninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
param($installPath, $toolsPath, $package, $project)

$helpfile = "MongoRepository.chm";
$helpfolder = "Documentation"

$project.ProjectItems.Item($helpfolder).ProjectItems.Item($helpfile).Delete();
If ($project.ProjectItems.Item($helpfolder).ProjectItems.Count() -eq 0) {
$project.ProjectItems.Item($helpfolder).Delete()
}

0 comments on commit 179a607

Please sign in to comment.