written to same location and other things.
I need help . I can't find a way of selecting the OutputPath, I just get
either can't find node or "Expression must evaluate to a node-set."
Code
xDoc.Load(vbProjFile)
Dim Query As String =
"VisualStudioProject/VisualBasic/Build/Settings/Config/*[@Name='Release']"
Dim node As XmlNode = xDoc.SelectSingleNode(Query)
If node Is Nothing Then
Throw New Exception("Error Can't find node " + Query)
End If
console.writeline (xDoc.Attributes.GetNamedItem("OutPutPath").Value)
<VisualStudioProject>
<VisualBasic
ProjectType = "Local"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{E82A62F9-2B3E-45AF-8689-3BBE7DABF3DD}"
<Build>
<Settings
ApplicationIcon = "GeneralToxicology1-256.ico"
AssemblyKeyContainerName = ""
AssemblyName = "InLifeUI"
AssemblyOriginatorKeyFile = ""
AssemblyOriginatorKeyMode = "None"
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"
DefaultTargetSchema = "IE50"
DelaySign = "false"
OutputType = "WinExe"
OptionCompare = "Binary"
OptionExplicit = "On"
OptionStrict = "On"
RootNamespace = "Instem.Provantis.InLife.UI"
StartupObject = "Instem.Provantis.InLife.UI.Main"
<Config
Name = "Debug"
BaseAddress = "285212672"
ConfigurationOverrideFile = ""
DefineConstants = ""
DefineDebug = "true"
DefineTrace = "true"
DebugSymbols = "true"
IncrementalBuild = "true"
Optimize = "false"
OutputPath = "bin\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "1"
/>