Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4-incubating
-
None
Description
The executable paths in npanday-settings.xml make it unnecessary to manually modify the command shell path for executables such as mcs.exe, xsd.exe, etc.
However, resgen.exe is also needed during the NPanday project lifecycle, but is distributed with Windows SDK rather than .Net SDK. To address this, the executable path can be updated for each vendor entry to include a reference to the Window SDK location such that resgen.exe can be found via executablePath at runtime.
When npanday-settings.xml is generated, these executablePath entries are not present, causing issues when resgen.exe cannot be located, while all the other executables can be located successfully.
See below for an example:
<?xml version="1.0" encoding="utf-8"?> <npandaySettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <operatingSystem>Microsoft Windows NT 6.1.7600.0</operatingSystem> <defaultSetup> <vendorName>MICROSOFT</vendorName> <vendorVersion>2.0.50727</vendorVersion> <frameworkVersion>2.0.50727</frameworkVersion> </defaultSetup> <vendors> <vendor> <vendorName>MICROSOFT</vendorName> <vendorVersion>2.0.50727</vendorVersion> <frameworks> <framework> <frameworkVersion>2.0.50727</frameworkVersion> <installRoot>C:\Windows\Microsoft.NET\Framework64\v2.0.50727</installRoot> <executablePaths> <executablePath>C:\Program Files\\Microsoft SDKs\Windows\v6.0A\bin</executablePath> </executablePaths> </framework> </frameworks> </vendor> ... </vendors> </npandaySettings>
Attachments
Attachments
Issue Links
- is part of
-
NPANDAY-123 PATH should not have to be set for both Visual Studio AddIn or mvn command-line to function
- Resolved