Why do these files end up in \bin\...?

Posts   
 
    
JimFoye avatar
JimFoye
User
Posts: 656
Joined: 22-Jun-2004
# Posted on: 16-Dec-2005 01:26:23   

SD.LLBLGen.Pro.DQE.SqlServer.NET11.xml SD.LLBLGen.Pro.ORMSupportClasses.NET11.xml

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 16-Dec-2005 11:01:23   

JimFoye wrote:

SD.LLBLGen.Pro.DQE.SqlServer.NET11.xml SD.LLBLGen.Pro.ORMSupportClasses.NET11.xml

That's VS.NET simple_smile . Every assembly referenced in your project gets placed in the bin folder, unless you specify copy local = false. If the assembly has a .xml file as well, the .xml file is placed in the bin folder as well. The nice thing is that through the .xml file you get tooltip intellisense in VS.NET. So if you use a method from a class in ORMSupportClasses, and press cntrl-space, the tooltip will show the comments from the reference manual, which are located in the .xml file.

They're not needed for deployment, just for intellisense.

Frans Bouma | Lead developer LLBLGen Pro
JimFoye avatar
JimFoye
User
Posts: 656
Joined: 22-Jun-2004
# Posted on: 16-Dec-2005 17:18:33   

Thanks for the explanation.

[Edit] Wait - you mean all intellisense isn't coming from reflection?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 16-Dec-2005 18:38:15   

JimFoye wrote:

Thanks for the explanation.

[Edit] Wait - you mean all intellisense isn't coming from reflection?

The types of course come from reflection, but if you press ctrl-space you get a tooltip for a method call (for example) or when you browse a list of properties after you pressed '.' you get a tooltip with extra info, that info is coming from the xml files simple_smile

Frans Bouma | Lead developer LLBLGen Pro
JimFoye avatar
JimFoye
User
Posts: 656
Joined: 22-Jun-2004
# Posted on: 16-Dec-2005 19:06:53   

Otis wrote:

JimFoye wrote:

Thanks for the explanation.

[Edit] Wait - you mean all intellisense isn't coming from reflection?

The types of course come from reflection, but if you press ctrl-space you get a tooltip for a method call (for example) or when you browse a list of properties after you pressed '.' you get a tooltip with extra info, that info is coming from the xml files simple_smile

Ok, that makes sense, and now that I think about it, I was indeed expecting that extra info to come from an .xml file somewhere. But seems like VSS should be looking for that xml file in the original directory of the assembly, not copying it to \bin... and looking at it there. That seems kind of strange. What about before I compile for the first time? No extra info?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 16-Dec-2005 19:08:45   

I have no idea. I also found it pretty silly that these were copied to the output folder... I don't know how to prevent it btw.

Frans Bouma | Lead developer LLBLGen Pro
JimFoye avatar
JimFoye
User
Posts: 656
Joined: 22-Jun-2004
# Posted on: 16-Dec-2005 20:45:33   

Don't worry, I'm not blaming you for Microsoft's silliness.

Sometimes I just wish I was Bill Gates, and I could pick up the phone and yell at somebody to knock some silly s*** off. Also it would be nice to have some money.