Answer Questions
blaflen How does one add an item to the source code document context menu?
I am trying to write an add-in that adds a bunch of useful code-generation capabilities to the C# source code document window. I would like to have quick access to these code-generation options from the context menu. I need to be able to display contextual options that depend on what CodeElement was right-clicked, in a sub menu off of the main context menu. Is this possible with Visual Studio 2005 If so, where can I start looking for document ...Show All
Jasmine Lee Is InheritanceMapping implemented with a visual designer?
Hi all, Is there any documentation on using a visual designer to create DLinq inhertance classes 'DLinq Overview for CSharp Developers.doc' did not seem to indicate how the visual designer is integrated with Linq beyond a class diagram of classes. I was expecting a SqlServer schema visual designer that simultaneously edits table and class definitions. Thanks, Rana Ian Hi Rana, there is a DLinq Des ...Show All
KC GSR Source Control on database objects...
Hello, I want to ask what are the possible scenarios on VSS 2005 + VS2005 Team Suite to source control dababase objects (SQL 2000) Is it still limited to stores procedures as VSS 6.0d + VS2003 do SQL 2005 instead Thanks. Hello, VS 2005 does not have support for stored procedure version control through the server explorer. The recommended way is to use database projects to generate scripts for your SQL S ...Show All
VVPrasad Odd problem when passing an array using a callback
Is there any problem is attempting to have a callback method that has an array as argument public interface class ISomeCallback { [OperationContract(IsOneWay = true)] void OnSomeEvent(array<int>^ pNumbers); } I find that this works fine as long as the array is under 550 in length, but if the array is bigger, then the call never completes, it just hangs. Both server and client hang! Anything I am doing wrong Have you tri ...Show All
MSpencer Vis Studio help suddently stopped working correctly
Yesterday I was happily using the documentation / help. Today, when I use the index, the results shown in the 'Index Results for...' window at the bottom are either empty or unrelated. I have no idea what happened. Half an hour later... I have reinstalled MSDN 2005 and the help is working correctly again. Weird... thanks for reporting this. We have caught and fixed a couple merge issues w ...Show All
imaginative_moin Worry about LazyLoading
ForExample if we had a PERSON class with 50 attributeTypes and the class had compositon and aggregation relationships with 10 other classes. How will DLinQ deal with "Lazy Loading" if I only need 2 attributeTypes from PERSON class and 2 more related attributeTypes Can it create an optimized SQL sentence that I get the FASTEST result from my RDBMS Or does it load all the 50 attributeTypes and relations OOP in a Logical ...Show All
Peter Evans 'Catch' visual studio's menu/toolbar action (like save)
I'm lost. I've been trying to find something I actually understand but without success. So I'm going this one last go via this post before throwing in the towel. Maybe someone here can show me the light, or at least give me a somewhat better idea what I'm looking for. Our application is now running inside visual studio (using vsip), complete with a tool-, and editorwindow. I would really like to have our stuff react to the menu/buttons of vis ...Show All
West How to differentiate between tool window close event and tool window auto hide event
Hi I observed that closing a tool window as well as auto hiding the window is throwing the same value (of 10) to IVsWindowFrameNotify::OnShow(FRAMESHOW frameshow) function. Basically, I need to differentiate them. So how can I know if the toolwindow is closed vs autohidden. Is there any workaround. or is a known MS bug. I am working on VS 2002 IDE/ VC++. Thanks Aswini Kumar Hi Aswini, There really is no dif ...Show All
Niklas_ Version Help Please Crystal Reports for Visual Studio
What regular version of CR can open .rpt files built in CR for VS 2003 9.1.5 Is it the identical version number We have sent the reports off for translation and they want to know what version they were built in and when I tell them "CR for VS 2003 9.1.5", they reply that they know that they were built in VS but they want to know what version of CR Didn't I just tell them that Help Please Hello Lisa, ...Show All
JBlog0000 Could not resolve reference
Hi, i have build a msbuild project for automated building and making setup. yesterday it was working quite allright but today when i run it...i am getting this warning: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "BfcObjects". Check to make sure the assembly exists on disk. If this reference is required by your code, you ...Show All
MichaelGaertner trying to troubleshoot: WinFX service, Axis2 RC1 client using netTcpBinding and tcp transport respectively
I have a simple WinFX service that uses a bindingConfiguration on the netTcpBinding to turn off security. I can easily call this from a WinFX client, but I'm trying to communicate from an Axis2 RC1 client over TCP. The request is coming in [I can see if in SvcTraceViewer], I'm getting a System.ServiceModel.ProtocolException, which contains a System.IO.InvalidDataException. The innerException is: Expected record type 'Version', found '60'. at Sy ...Show All
RalphTrent refresh the reading pane
Hello, Basically i'm writing a vsto add-in that modifies the emails that are presented to the user. i do this by retreiving the htmlbody property, manipulating it, and then setting it again to the new document. Most of the time, this works okay and you see the modified document. however approx 1/3 of the time, the reading pane is not refreshed and the old document is displayed. Somewhere else somebody suggested that you use the .close() method, ...Show All
Nick111 can't find the Immediate window
Hi I am working in VS 2005 and I just can't find the immediate window while debugging. I can see only the command window but where is the immediate window There is nothing like immediate in the Debug-Windows menu. Help please. Thanks Gregg. It works. I am guessing that you picked a profile that hides this window. Try: Tools->Im ...Show All
eiger Can't use "Edit & Continue" feature due to error PRJ0046
I just converted a C++ project from Visual Studio 6 to 2005 and I find that I can not use "Edit and Continue". Edit and Continue worked fine in the VS 6 project. In VS 2005 I stop execution at a break point, edit some code, and choose "Apply Code Changes". VS 2005 respond with the error below: "Project : error PRJ0046 : Could not spawn command line because the one specified was empty." MSDN has the following i ...Show All
Nick Rumble IDEBuildLogger
I'm logging messages in my custom Task using the built-in TaskLoggingHelper object Log. When I call Log.LogError and Log.LogWarning I get the opposite in the output window. The error's say they are warning's and the warning's say they are error's. It seems that the suspect code is in the AddToErrorList method of the IDEBuildLogger class on line 181 where IsWarning is being set. It's being set to true if the priority is High which is only set to ...Show All
