Bugs item #1220999, was opened at 2005-06-15 08:10
Message generated for change (Comment added) made by hebbja
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1220999&group_id=31650
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: James Hebben (hebbja)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution task may fail when Visual Studio is not installed
Initial Comment:
I have a solution that has a project that contains a
reference to MSHTML. This reference is marked in the
project has a primary interop assembly reference:
<Reference
Name = "MSHTML"
Guid = "{3050F1C5-98B5-11CF-BB82-
00AA00BDCE0B}"
VersionMajor = "4"
VersionMinor = "0"
Lcid = "0"
WrapperTool = "primary"
/>
This causes nAnt to fail isf Visual Studio (2003) is not
installed on the machine. The following is the output:
NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/working/Continuous
Build/projects/TestNantSolutionTaskFails/test.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: default
default:
[solution] Starting solution build.
BUILD FAILED
Couldn't find Primary Interop Assembly "MSHTML",
referenced by project "TestNant
SolutionTaskFails".
Total time: 0.2 seconds.
----------------------------------------------------------------------
>Comment By: James Hebben (hebbja)
Date: 2005-06-22 09:59
Message:
Logged In: YES
user_id=442220
I have attached a zip file containing .reg file and a .log file,
with the MSHTML registry TypeLib information and the nAnt -
debug output data respectively.
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2005-06-16 07:47
Message:
Logged In: YES
user_id=707851
Can you provide a small extract of the relevant parts of your
registry ?
Can you run NAnt in debug mode (NAnt.exe -debug -
buildfile:<your build file) and attach that output to this bug
report ?
Thanks !
----------------------------------------------------------------------
Comment By: James Hebben (hebbja)
Date: 2005-06-16 07:42
Message:
Logged In: YES
user_id=442220
MSHTML is a standard COM component that is installed on
the machine. {3050F1C5-98B5-11CF-BB82-
00AA00BDCE0B} (referred to in the project) is the TypeLib ID
and it is correctly in the registry.
Microsoft.mshtml.dll (the primary interp assembly for the
MSHTML type library ) is installed by the .NET 1.1 SDK.
(See this reference:
http://www.kbalertz.com/kb_815727.aspx)
As far as I can see everything that is required by nAnt is
available on the machine without installing VS.NET. As far as
I am aware, the solution task does not use VS.NET to
perform its work.
Why should I need to install VS.NET to get this to work
correctly?
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2005-06-15 17:02
Message:
Logged In: YES
user_id=707851
Ofcourse you need to install third party components that you
project references.
Why would this by a NAnt issue ? Am I missing something
here ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1220999&group_id=31650
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers