diff --git a/.nuget/packages.config b/.nuget/packages.config index 1137507..96f56b2 100644 --- a/.nuget/packages.config +++ b/.nuget/packages.config @@ -1,5 +1,4 @@  - diff --git a/appveyor.yml b/appveyor.yml index d2174e8..20b9097 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,9 +22,16 @@ notifications: cache: - packages -> **\packages.config -before_build: +install: - nuget restore +build: + parallel: true + verbosity: detailed + +after_build: + - echo nuget pack -OutputDirectory "bin\$(configuration)" -Version $(GitBuildVersionSimple) -Properties "Configuration=$(configuration);CommitId=$(APPVEYOR_REPO_COMMIT)" pkg\vswhere\vswhere.nuspec + test_script: - tools\test.cmd -v diff --git a/inc/Common.Cpp.targets b/inc/Common.Cpp.targets index f86966e..6d0b3f4 100644 --- a/inc/Common.Cpp.targets +++ b/inc/Common.Cpp.targets @@ -3,6 +3,7 @@ GenerateVersionInfo; + SetCloudVersionVariables; $(BuildDependsOn) @@ -48,4 +49,8 @@ + + + + diff --git a/pkg/vswhere/vswhere.nuproj b/pkg/vswhere/vswhere.nuproj deleted file mode 100644 index 372d5ac..0000000 --- a/pkg/vswhere/vswhere.nuproj +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Debug - AnyCPU - - - Release - AnyCPU - - - - - Tools - BuiltProjectOutputGroup;BuiltProjectOutputGroupDependencies; - - - - - tools\LICENSE.txt - - - - - - - 87c09ce6-ba2d-4fc3-92e4-44253e87cb69 - $(SolutionDir)bin\$(Configuration)\ - - - $(SolutionDir)packages\NuProj.0.11.14-beta\tools\ - $(MSBuildExtensionsPath)\NuProj\ - $(VersionDependsOn);GetPackageVersion - - - - vswhere - 1.0.0 - Visual Studio Locator - Microsoft Corporation - Microsoft Corporation - Locate Visual Studio 2017 and newer installations - Locate Visual Studio 2017 and newer installations - - - https://github.com/Microsoft/vswhere - https://github.com/Microsoft/vswhere/raw/develop/LICENSE.txt - Copyright (C) Microsoft Corporation. All rights reserved. - vs vs2017 visualstudio - false - - - - $(BuildVersionSimple) - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - \ No newline at end of file diff --git a/pkg/vswhere/vswhere.nuspec b/pkg/vswhere/vswhere.nuspec new file mode 100644 index 0000000..58d320f --- /dev/null +++ b/pkg/vswhere/vswhere.nuspec @@ -0,0 +1,28 @@ + + + + vswhere + $Version$ + Visual Studio Locator + Microsoft Corporation + Microsoft Corporation + false + https://github.com/Microsoft/vswhere/tree/$CommitId$/LICENSE.txt + https://github.com/Microsoft/vswhere + Locate Visual Studio 2017 and newer installations + Locate Visual Studio 2017 and newer installations + Copyright (C) Microsoft Corporation. All rights reserved. + vs vs2017 visualstudio + true + + + + + + + + + + + + \ No newline at end of file diff --git a/vswhere.sln b/vswhere.sln index b02da29..8780fbc 100644 --- a/vswhere.sln +++ b/vswhere.sln @@ -19,10 +19,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution README.md = README.md EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pkg", "pkg", "{A2C0B2B6-0E25-4A8D-96F6-9F44C615AE00}" -EndProject -Project("{FF286327-C783-4F7A-AB73-9BCBAD0D4460}") = "vswhere", "pkg\vswhere\vswhere.nuproj", "{87C09CE6-BA2D-4FC3-92E4-44253E87CB69}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x86 = Debug|x86 @@ -41,10 +37,6 @@ Global {4CCF39CB-4794-44E2-AA57-D215F13CF606}.Debug|x86.Build.0 = Debug|Win32 {4CCF39CB-4794-44E2-AA57-D215F13CF606}.Release|x86.ActiveCfg = Release|Win32 {4CCF39CB-4794-44E2-AA57-D215F13CF606}.Release|x86.Build.0 = Release|Win32 - {87C09CE6-BA2D-4FC3-92E4-44253E87CB69}.Debug|x86.ActiveCfg = Debug|Any CPU - {87C09CE6-BA2D-4FC3-92E4-44253E87CB69}.Debug|x86.Build.0 = Debug|Any CPU - {87C09CE6-BA2D-4FC3-92E4-44253E87CB69}.Release|x86.ActiveCfg = Release|Any CPU - {87C09CE6-BA2D-4FC3-92E4-44253E87CB69}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -53,6 +45,5 @@ Global {210864F0-9A29-4479-B830-B802EE3F4D92} = {20C5861F-C1E5-4BFB-B082-209793FBDCA5} {76268871-D5A5-46BD-9805-41DB1C3072D1} = {2F0C5F28-FD43-4045-85E8-BBD98B6B66B5} {4CCF39CB-4794-44E2-AA57-D215F13CF606} = {20C5861F-C1E5-4BFB-B082-209793FBDCA5} - {87C09CE6-BA2D-4FC3-92E4-44253E87CB69} = {A2C0B2B6-0E25-4A8D-96F6-9F44C615AE00} EndGlobalSection EndGlobal