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: Tasks
Group: cvs
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: James Hebben (hebbja)
Assigned to: Gert Driesen (drieseng)
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-07-11 08:23

Message:
Logged In: YES 
user_id=442220

Does, or did, your machine have VS.NET installed?

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2005-06-30 17:28

Message:
Logged In: YES 
user_id=707851

Apparently, the MSHTML primary interop assembly is not 
installed, or definitely not registered correctly on your system 
for development purposes.

If you take a look at my registry branch for the MSHTML 
typelib, you'll notice that it contains 
a "PrimaryInteropAssemblyName" value, which appears to be 
missing from your branch.

I'm closing this bug report now. If you have any reason to 
believe that this is a bug in NAnt, then add additional 
information and reopen this bug report.

----------------------------------------------------------------------

Comment By: James Hebben (hebbja)
Date: 2005-06-22 10:00

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: 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


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to