Skip to content

Commit

Permalink
Merge pull request #60 from UpendoVentures/tasks/vs2019-pro
Browse files Browse the repository at this point in the history
Adds support for commercial editions of VS 2019
  • Loading branch information
Will Strohl authored Jun 16, 2020
2 parents 8aade1d + 62a15ed commit d1ac0d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion generators/lib/DnnGeneratorBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ module.exports = class DnnGeneratorBase extends Generator {

try {
// TODO: Remove the ones that don't matter
if (fs.existsSync("C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Microsoft\\VisualStudio\\v16.0\\WebApplications")) {
if (fs.existsSync("C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Microsoft\\VisualStudio\\v16.0\\WebApplications") ||
fs.existsSync("C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\MSBuild\\Microsoft\\VisualStudio\\v16.0\\WebApplications") ||
fs.existsSync("C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\MSBuild\\Microsoft\\VisualStudio\\v16.0\\WebApplications")) {
msBuildVersion = "16"; // VS 2019 Community
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-upendodnn",
"version": "1.5.0",
"version": "1.5.1",
"description": "Scaffolds DNN extensions, including Modules (Webforms, SPA, and MVC), Persona Bar, Skin Object, Library, Scheduler, and Hotcakes Commerce projects (based on the generator built by Matt Rutledge).",
"homepage": "https://github.com/UpendoVentures/generator-upendodnn#readme",
"author": {
Expand Down

0 comments on commit d1ac0d0

Please sign in to comment.