I believe the problem lies with the implementation of
IVsEnumDependencies, here is a link to my current code:
http://www.codeplex.com/NBusiness/SourceControl/FileView.aspx?itemId=272704&changeSetId=22187
Which is exactly the same as what it was supplied as. It calls into
the Next method and the parameter values are:
uint elements = 1,
IVsDependency[] dependencies = { null },
out uint elementsFetched = 0;
The method essentially does nothing since there are no items in my
dependency list. It returns VSConstants.S_FALSE, changing it so it
returns VSConstants.S_TRUE doesn't seem to change anything. It appears
that it is expecting a dependency but I just don't have any.
There is an assembly that is referenced but it is not by project and
therefore is not in my dependency list. So why is it saying it can't
get the dependencies when A.) There are no dependencies and B.) it's
getting my IVsEnumDependencies object and calling it correctly?
Very frustrating, especially from out of the box code this convoluted,
if anyone can help I'd be eternally grateful!
And it only occurs when creating a PROJECT reference to my custom
library. Making an assembly reference works fine. I'm guessing that I
need to listen for project references in the solution for web projects
somehow. I'm betting they're different than listening for project
references from non-web projects somehow. Very frustrating :-/
Ah ha, this seems to be a bug with IronPython as well. I'll report it
on the official project page at codeplex.
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=276380
This is the exact problem I have been encountering. Hopefully it will
be fixed in the next version of the SDK, or some work around will be
posted. It's just an annoyance for now.
justncase80 wrote:
Could not get dependencies for project reference
11-May-07
Previous Posts In This Thread:
On Friday, May 11, 2007 12:44 AM
justncase80 wrote:
On Friday, May 11, 2007 6:38 PM
justncase80 wrote:
The plot thickens...
The plot thickens... this problem only occurs when referencing the
custom project from a web project. If I reference it from a console
application then it works fine... ugh.
On Friday, May 11, 2007 6:56 PM
justncase80 wrote:
Re: Could not get dependencies for project reference
On May 11, 5:38 pm, justncase80 <justncas...@gmail.com> wrote:
And it only occurs when creating a PROJECT reference to my custom
library. Making an assembly reference works fine. I'm guessing that I
need to listen for project references in the solution for web projects
somehow. I'm betting they're different than listening for project
references from non-web projects somehow. Very frustrating :-/
On Saturday, May 12, 2007 11:37 AM
justncase80 wrote:
Re: Could not get dependencies for project reference
Ah ha, this seems to be a bug with IronPython as well. I will report it
on the official project page at codeplex.
On Saturday, May 12, 2007 3:50 PM
justncase80 wrote:
Re: Could not get dependencies for project reference
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=276380
Submitted via EggHeadCafe - Software Developer Portal of Choice
DataContractSerializer Basics
http://www.eggheadcafe.com/tutorials/aspnet/ad947ce6-cd3e-4647-b69c-94d2f3b1b265/datacontractserializer-ba.aspx