Fix #2282 - dynamically determine framework path when scaffolding project references

This commit is contained in:
Shaun Walker
2022-07-15 15:59:55 -04:00
parent 310d1ed485
commit 6012275c7b
4 changed files with 7 additions and 7 deletions

View File

@ -85,7 +85,7 @@ else
private List<Template> _templates;
private string _template = "-";
private string[] _versions;
private string _reference = Constants.Version;
private string _reference = "local";
private string _minversion = "2.0.0";
private string _location = string.Empty;

View File

@ -151,7 +151,7 @@
var template = _templates.FirstOrDefault(item => item.Name == _template);
_minversion = template.Version;
}
GetLocation();
GetLocation();
}
private void GetLocation()