Skip to content
Snippets Groups Projects
Commit beedcbf7 authored by Bensong Liu's avatar Bensong Liu
Browse files

bug fix

parent 9bf211c7
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,10 @@ func ParseDependencies(csprojPath string) (dependencies []dependencyItem, err er
if subNode != nil {
hintPath := subNode.OutputXML(false)
endPos := strings.Index(hintPath, ")")
if endPos == -1 {
log.Println("DEBUG: skip parsing this envName because hintPath is invalid: " + hintPath)
continue
}
envName = hintPath[2:endPos] // GOT
// Guess version from HintPath may cause problem. We should guess version from project targetFramework.
......
......@@ -10,7 +10,7 @@ import (
// Some options here. Would be improved in beta release.
const DEDUCT_PKGNAME_FROM_VARNAME = true
const USE_PROJECT_NETVER_INSTEAD_OF_HINTPATH_NETVER = false
const OPENXT_VERSION = "1.0.3-1b"
const OPENXT_VERSION = "1.0.3b-2"
func print_help_and_exit() {
println("Usage: openxt <subcommand> [options...]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment