It seems that the 3 tasks link, mc and rc tasks require link.exe, mc.exe and rc.exe to be in the path when they are run. But these files are supplied with VS.NET, and probably also with the platform SDK. With VS.NET, they get installed to C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin.
Rather than having to add this to the path variable, why not check to see if C++ in vs.net is installed, and if so, for these tasks to try locating these executables? The key HKLM\Software\Microsoft\VisualStudio\7.1\InstallDir might help, but there may be other keys that would be better. Thanks, Bruce -----Original Message----- From: Michael A. Angelo [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 12:24 PM To: 'Gert Driesen'; [EMAIL PROTECTED] Subject: RE: [Nant-users] Attempting MSI build Still getting the error. It may be being caused by the TabImageHost class not being the first class in the NAntAddin.cs file. Here is an article about it: http://support.microsoft.com/?kbid=318603 Here is my DOS Window output: C:\Documents and Settings\DougK\Desktop>nant -f:build.xml installer NAnt 0.85 (Build 0.85.1572.0; net-1.0.win32; nightly; 4/21/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Documents and Settings/DougK/Desktop/build.xml Target(s) specified: installer installer: BUILD FAILED INTERNAL ERROR System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given asse mbly. Make sure "NAnt.Contrib.Schemas.Msi.resources" was correctly embedded or linked into assembly "NAnt.Contrib.Tasks". baseName: NAnt.Contrib.Schemas.Msi locationInfo: <null> resource file name: NA nt.Contrib.Schemas.Msi.resources assembly: NAnt.Contrib.Tasks, Version=0.85.157 2.0, Culture=neutral, PublicKeyToken=null at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo cultur e, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo cultur e, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo cultur e, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo cultur e) at System.Resources.ResourceManager.GetString(String name) at NAnt.Contrib.Tasks.SchemaValidatedTask.InitializeTask(XmlNode TaskNode) at NAnt.Contrib.Tasks.Msi.MsiTask.InitializeTask(XmlNode TaskNode) at NAnt.Core.Task.InitializeElement(XmlNode elementNode) in C:\DOCUME~1\ADMIN I~1\LOCALS~1\Temp\tmpB1.tmp\src\NAnt.Core\Task.cs:line 364 at NAnt.Core.Element.Initialize(XmlNode elementNode) in C:\DOCUME~1\ADMINI~1\ LOCALS~1\Temp\tmpB1.tmp\src\NAnt.Core\Element.cs:line 205 at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target) in C:\DOCUME ~1\ADMINI~1\LOCALS~1\Temp\tmpB1.tmp\src\NAnt.Core\Project.cs:line 1017 at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpB1.tmp \src\NAnt.Core\Target.cs:line 251 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpB1.tmp\src\NAnt.Core\Project.cs:li ne 892 at NAnt.Core.Project.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpB1.tm p\src\NAnt.Core\Project.cs:line 849 at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpB1.tmp\sr c\NAnt.Core\Project.cs:line 917 Please send bug report to [EMAIL PROTECTED] Total time: 0.5 seconds. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Wednesday, April 21, 2004 1:37 PM To: Michael A. Angelo; [EMAIL PROTECTED] Subject: Re: [Nant-users] Attempting MSI build Michael, What version of NAntContrib are you actually using ? Do you build NAntContrib from cvs ? I fixed this issue a few days back, if I'm not mistaken ... Gert ----- Original Message ----- From: "Michael A. Angelo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 7:25 PM Subject: [Nant-users] Attempting MSI build I am getting an error trying to do the MSI build. The following is my dos window during and after the build: C:\Documents and Settings\DougK\Desktop>nant -f:build.xml installer NAnt 0.85 (Build 0.85.1565.0; net-1.0.win32; nightly; 4/14/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Documents and Settings/DougK/Desktop/build.xml Target(s) specified: installer installer: BUILD FAILED INTERNAL ERROR System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given asse mbly. Make sure "NAnt.Contrib.Schemas.Msi.resources" was correctly embedded or linked into assembly "NAnt.Contrib.Tasks". baseName: NAnt.Contrib.Schemas.Msi locationInfo: <null> resource file name: NA nt.Contrib.Schemas.Msi.resources assembly: NAnt.Contrib.Tasks, Version=0.85.155 4.0, Culture=neutral, PublicKeyToken=null at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo cultur e, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo cultur e, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo cultur e, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo cultur e) at System.Resources.ResourceManager.GetString(String name) at NAnt.Contrib.Tasks.SchemaValidatedTask.InitializeTask(XmlNode TaskNode) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp310.tmp\src\Tasks\SchemaValidatedT ask. cs: line 99 at NAnt.Contrib.Tasks.Msi.MsiTask.InitializeTask(XmlNode TaskNode) in C:\DOCU ME~1\ADMINI~1\LOCALS~1\Temp\tmp310.tmp\src\Tasks\Msi\MsiTask.cs:line 301 at NAnt.Core.Task.InitializeElement(XmlNode elementNode) in C:\DOCUME~1\ADMIN I~1\LOCALS~1\Temp\tmp4A8.tmp\src\NAnt.Core\Task.cs:line 364 at NAnt.Core.Element.Initialize(XmlNode elementNode) in C:\DOCUME~1\ADMINI~1\ LOCALS~1\Temp\tmp4A8.tmp\src\NAnt.Core\Element.cs:line 205 at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target) in C:\DOCUME ~1\ADMINI~1\LOCALS~1\Temp\tmp4A8.tmp\src\NAnt.Core\Project.cs:line 1017 at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp4A8.tm p\src\NAnt.Core\Target.cs:line 251 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp4A8.tmp\src\NAnt.Core\Project.cs:l ine 892 at NAnt.Core.Project.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp4A8.t mp\src\NAnt.Core\Project.cs:line 849 at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp4A8.tmp\s rc\NAnt.Core\Project.cs:line 917 Please send bug report to [EMAIL PROTECTED] Total time: 1.3 seconds. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op,ick _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users This message was scanned for viruses!! ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
