Answer Questions
FA65 MSBuild VSS Integration
Hi, I want to retrieve the latest version of source code from CVS through MSBuild. What modifications should i make in the .csproj file (I am developing c# application in visual studio environment) to get this working. It would be great if you can give some insights into this through sample codes or help documents. thanks, -rajesh Hi, I would ideally want to get the latest version of source code if there are any changes commited by any of the users. Basically i want to know how to get the latest code from VSS through MSBuild. I may not build the project from VS rather from VS Command Prompt. thanks, -rajesh There are custom tasks available that you can use to ...Show All
Alexey Nayda Debugging nightmare - Help!
I am going insane over this. I have a W2003 R2 server with IIS 6 and VS.Net 2005 installed. The application server works fine. The problem is debugging. I load a simple project. NOT on a remote workstation, I load VS.Net ON THE SERVER and run it there. I go to start debugging and I get the error: "The debugger could not be started on the web server. The debugger cannot connect to the remote computer. This may be because the remote computer does not exist or a firewall may be preventing communication to the remote computer." - There is no remote computer. This is all there is. I think it exists. - Since I'm trying to debug on this server, I don't see how a firewall can affect it ...Show All
Caolan ODomhnaill Will Outlook 2003 add-ins, written in VSTO 2005, work in Outlook 2007 and/or VSTO 2005 SE without any code changes?
Hi All We're in the process of deciding which version of VSTO to buy/build to (2005 or 2005 SE) and we came across some technical questions listed below. I've read the following documents (mostly available from the Web page "What's New for Developers in Outlook 2007 " at http://msdn2.microsoft.com/en-us/office/aa905463.aspx ): 1. "Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Beta - Design" by Andrew Whitechapel, September 2006 2. "What's New for Developers in Office Outlook 2007 (parts 1 and 2)" by Randy Byrne, Program Mgr, May 2006 3. "Code Security Changes Available in Outlook 2007" by Ryan Gregg, June 2006. My questions are these: 1 ...Show All
WV John Where I can get Document for VS6
It took me too long to find the MSDN Oct 2001 for VS6. Where can I download It Thanks All. I had get it ! Go to the MSDN and click on Downlaods. There is a link there for SDK Downloads. You don't have to subscribe to anything or pay anything to download the SDK. If you have a slow connection you can get a copy of the SDK sent to you for just postage. If you are an MSDN subscriber you can download it direct from Microsoft... Go to http://msdn2.microsoft.com/en-us/subscriptions/default.aspx Even better, click on this link: MSDN Subscriber Downloads . Y ...Show All
IxxI CRChart from Three D Graphics....
Does anyone have a clear explenation of how the CRChart from Three D Graphics works I am only trying to change the title of a chart in runtime, but it is not clear to me how it is done with these macros, and/or in code. Anyone Ok, Take the popular case of a user who wants to draw a reference line on the y-axis with the value for that line being determined at "runtime". Assume you have created a function called @MyValue that will provide this value. Click on the Chart in CR Designer. Bring up the Chart Expert dialog and go to the TITLES tab. Add the phrase "@Y P2" to the subtitle (or any other title) string. This means "Draw a line on the Y-Axis whose value is determi ...Show All
lidiya Handle exception in Build Event?
I am working on a deployment utility that I am writing in VB.NET, it basically integrates with all our systems (including source safe) and builds all our assemblies. It runs MSBUILD using a System.Diagnostics.Process object. This works great because I can check the ExitCode and if something failed I can take the appropriate measures. The problem is we have a post build event in almost all of our .NET assemblies, and it launches another small .NET executable to do some processing, including copying the file. Sometimes this file copy fails because the target is already in use. I need to know about this. Essentially I need the executable that runs in the post build event to return an exit code to the build, which is then propageted back to ...Show All
Chris Baldwin - MSFT nmake: control characters
Consider the following rule: foo\rbar: @echo $@ Expected output is the target name, i.e. "foo\rbar". On one machine, though, the \r is interpreted as control character (carriage return), producing the output "bar" only (writing "foo", restarting at beginning of line, overwriting with "bar"). Windows XP Pro nmake 8.00.50727.42 A different machine also running XP Pro and the same nmake version shows the correct behaviour. Any ideas which settings to tweak Andreas, This forum covers discussions about MSBuild, rather than NMake. Having said that, have you tried using \\r to escape the backslash Neil Escaping by double backslashes works, bu ...Show All
Matt Turk 0x80040000 Error loading resource string IVSSVersion.get_VSSItem
I am having an intermittent problem with calling the property VSSItem on an IVSSVersion object. Some times getting this property will take a very long time, 5 mins to 1.5 hours, to throw and exception. System.Runtime.InteropServices.COMException (0x80040000): Error loading resource string at SourceSafeTypeLib.IVSSVersion.get_VSSItem() I have not been able to narrow down or identify any contributing factors. Any help is much appreciated. Most of the time it just works. When it does not work it is this way for a at least a few hours and then starts working again. The commandline exe and the gui client do not seem to be effected, they continue to work without error. Thanks, Jay My guess is that the clocks ...Show All
jods Conversion between Message object and function call
I asked yesterday about how to make each class not having its own ServiceHost -- http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1151768&SiteID=1 Since have not gotten a solution (and neither did google), I'm thinking along the lines of having a single "redirector" class that proxies the messages to the right class, by looking at the endpoint address. I have gotten my app to respond to the messages Uri dest = msg.Headers.To; if (dest.Segments.Length < 2 || dest.Segments[0] != "/") throw new Exception("invalid") Type contract = null; object service = null; switch (dest.Segments[1]) { case "IMyService1": obj = _MyService1ImplTransparentProxy; case "IMyService2": obj = _MyService2ImplTranspa ...Show All
Dan Lingman How do I pass credentials in an IIS Hosted WCF Service
How do I pass credentials in an IIS Hosted WCF Service Can I pass the credentials in the client code instead of the client config. What would that look like What do I do to get the Service to accept those credentials Since you're not using a proxy generate by svcutil.exe/Add Service Reference, you should set the credentials on the factory reference directly: factory.Credentials.UserName ..... factory.Credentials.Windows..... If you need help getting started, why not download the first few chapters of my book here: www.thatindigogirl.com . There are labs in there to walk you through these things. BY default wsHttpBinding expects a Windows credential. You have to modify the binding t ...Show All
Gage Crystal Report Data source
Hi All, I have some classes in a project, with things like private CustomerID as Integer private CustomerName as string ...... then the properties for them I have been using them for my datagridviews I need to make some crystal reports and thought I could link the report to the class so I can have the fields that I need to add onto the report and just fill a dataset and link that to the report. I'm not having any luck doing it that way. My question is. Do I have to make a dataset or can it be does the way that I'm trying as I don't want to start creating datasets all over the place Thanks PQSIK I have more or less the same problem as you had, how did you solve yours See my post below: http://forums.mic ...Show All
Joshizzle Proxy authentication in MSBuilder scripts
Hi! I have a proxy authentication problem when using MSBuilder to generate Sandcastle help files. When building the help files, Sandcastle accesses MSDN webservices which its not possible due to the proxy configuration in my company. I solved a similar problem with .NET applications by changing the machine.config to bypass local proxy, but this does not seem to work for MSBuilder. I could of course disable the MSDN acces in sandcastle.config, but I would like to have the MSDN links in my help file. Does anyone have a solution , thanks in advance! Best regards Torben Torben, There was a similar question about HTTP proxies on MSDN and I posted an answer to a similar question here - http:// ...Show All
Vj5 Run BuildProject for particular solution configuration + platform
I've got the following problem using VS2005 Extensibility. I have a solution with several projects for Smart Devices. It means that there are two solution configurations: - Debug - Release and four solution platforms: - Pocket PC 2003 (ARMV4) - Smartphone 2003 (ARMV4) - Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - Windows Mobile 5.0 Smartphone SDK (ARMV4I) In my automation I would like to call DTE.Solution.SolutionBuild.BuildProject method against some of my projects and Release configuration for "Windows Mobile 5.0 Smartphone SDK (ARMV4I" platform. dte.Solution.SolutionBuild.BuildProject("Release", "MyProject.vddproj", true); Unfortunately, it does not work because VS internall ...Show All
exulted Class Designer - Switch into a read only mode.
I use TDD when developing my classes so don't want to use the class designer to generate code, however I do want to use it to view the relationships between classes. I therefore wondered if there's an easy way to lock the class designer, telling it that I want to view my classes but don't have any intention of updating them. This would be useful because at the moment its very easy to accidentally make a change (such as deleting an association when you just meant to hide it) that breaks your code base. Actually, a colleague of mine suggested a workaround that may give you what you want. If you're working with source code control (like Visual Source Safe), you can set an option to be prompted to checkou ...Show All
R. Muti Unable to create a new DSL project from Visual Studio
I have reinstalled Visual Studio and the latest SDK and I start to experience problems while creating a new Domain Specific Language Designer Project. At first, after the project is unfolded I get the error message box saying “ The method or operation is not implemented” . When I press OK, I can work. I still need to run the text template manually because it probably fell before it could complete it. However, the problems are not over yet. When I run the solution, I get an error inside the experimental hive saying: “ The following files were specified on the command line: ..\..\..\Debugging\Debugging.sln. These files could not be found and will not be loaded.” Btw, I have no problems opening DSLs I develo ...Show All
