diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config new file mode 100644 index 0000000..67f8ea0 --- /dev/null +++ b/.nuget/NuGet.Config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe new file mode 100644 index 0000000..324daa8 Binary files /dev/null and b/.nuget/NuGet.exe differ diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets new file mode 100644 index 0000000..3f8c37b --- /dev/null +++ b/.nuget/NuGet.targets @@ -0,0 +1,144 @@ + + + + $(MSBuildProjectDirectory)\..\ + + + false + + + false + + + true + + + false + + + + + + + + + + + $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) + + + + + $(SolutionDir).nuget + + + + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + + + + $(MSBuildProjectDirectory)\packages.config + $(PackagesProjectConfig) + + + + + $(NuGetToolsPath)\NuGet.exe + @(PackageSource) + + "$(NuGetExePath)" + mono --runtime=v4.0.30319 "$(NuGetExePath)" + + $(TargetDir.Trim('\\')) + + -RequireConsent + -NonInteractive + + "$(SolutionDir) " + "$(SolutionDir)" + + + $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) + $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols + + + + RestorePackages; + $(BuildDependsOn); + + + + + $(BuildDependsOn); + BuildPackage; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MongoDB.ClassMap.TestApp.sln b/MongoDB.ClassMap.TestApp.sln index bc3af4b..16632cb 100644 --- a/MongoDB.ClassMap.TestApp.sln +++ b/MongoDB.ClassMap.TestApp.sln @@ -1,8 +1,17 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.ClassMap.TestApp", "MongoDB.ClassMap.TestApp\MongoDB.ClassMap.TestApp.csproj", "{90EE474C-DF79-4DA4-A642-D8348AE58E5A}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{B1A4CC95-08D5-414B-8901-0FE930D10D98}" + ProjectSection(SolutionItems) = preProject + .nuget\NuGet.Config = .nuget\NuGet.Config + .nuget\NuGet.exe = .nuget\NuGet.exe + .nuget\NuGet.targets = .nuget\NuGet.targets + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/MongoDB.ClassMap.TestApp/Domain/MyClass.cs b/MongoDB.ClassMap.TestApp/Domain/MyClass.cs index 36b4694..127a116 100644 --- a/MongoDB.ClassMap.TestApp/Domain/MyClass.cs +++ b/MongoDB.ClassMap.TestApp/Domain/MyClass.cs @@ -3,7 +3,6 @@ public class MyClass { public string Id { get; set; } - public string SomeProperty { get; set; } public string SomeOtherProperty { get; set; } } diff --git a/MongoDB.ClassMap.TestApp/MongoDB.ClassMap.TestApp.csproj b/MongoDB.ClassMap.TestApp/MongoDB.ClassMap.TestApp.csproj index f17f476..5fe0227 100644 --- a/MongoDB.ClassMap.TestApp/MongoDB.ClassMap.TestApp.csproj +++ b/MongoDB.ClassMap.TestApp/MongoDB.ClassMap.TestApp.csproj @@ -11,6 +11,8 @@ MongoDB.ClassMap.TestApp v4.5 512 + ..\ + true AnyCPU @@ -33,10 +35,13 @@ - ..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Bson.dll + ..\packages\MongoDB.Bson.2.0.1\lib\net45\MongoDB.Bson.dll - ..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Driver.dll + ..\packages\MongoDB.Driver.2.0.1\lib\net45\MongoDB.Driver.dll + + + ..\packages\MongoDB.Driver.Core.2.0.1\lib\net45\MongoDB.Driver.Core.dll @@ -48,18 +53,24 @@ - + + - - - + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +