Visual Studio 2010 & .NET Framework 4 Beta 2 Announcements ForumAnnouncements about Visual Studio 2010 & .NET Framework 4 Beta 2. For discussions and feedback please see the following three forum categories: .NET Framework 4 Beta 2, Microsoft Visual Studio 2010 Beta 2, and Microsoft Visual Studio Team System and Visual Studio 2010 Beta2 ALM Features© 2009 Microsoft Corporation. All rights reserved.Thu, 26 Nov 2009 13:37:13 Z5f0635ef-7618-4d08-8898-443e568615b0http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f1a3a585-d9ea-4ff7-bf19-f83a8c57e95fhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f1a3a585-d9ea-4ff7-bf19-f83a8c57e95fBob Randolphhttp://social.msdn.microsoft.com/Profile/en-US/?user=Bob%20RandolphVisual Web designer 2010 Express /Windows XP Home SP3/This is my error when i run debug, it occurs twice, once for the page file I am working on and once for site master:<br/> <br/> Error    1    Unable to load referenced library 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Temporary ASP.NET Files\website2\d87108fa\_shadow\e779b6fe\3852257074\30043656\App_Web_site.master.cdcab7d2.nattq5gy.dll': The system cannot find the file specified.    <br/> <br/> I know it must be something simple that I've overlooked. I don't know what to try to get rid of the error.Thu, 26 Nov 2009 13:37:13 Z2009-11-26T13:37:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f97def75-a7cd-44b9-9b58-cac25ff009d1http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f97def75-a7cd-44b9-9b58-cac25ff009d1mmahtabi2hotmail.comhttp://social.msdn.microsoft.com/Profile/en-US/?user=mmahtabi2hotmail.commmahtabi888759393Wed, 25 Nov 2009 20:59:32 Z2009-11-25T20:59:32Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/1b4942c9-4a32-4801-aafa-62666ea6ec34http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/1b4942c9-4a32-4801-aafa-62666ea6ec34Nedster657http://social.msdn.microsoft.com/Profile/en-US/?user=Nedster657VWD 2010 source editor issuesHi,<br/>I can't seem to find the NavigateTo function in VWD2010 and also the source window doesn't seem to include the member comboboxes used to navigation methods and attributes when editing classes.<br/><br/>Apologies if a dumb question, but can't find any other issues on this and not sure what I'm doing wrong. VWD 2008 works fine.<br/><br/>Thanks in advance,<br/>Sean.Wed, 25 Nov 2009 11:28:56 Z2009-11-25T11:28:57Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/ceea3836-8228-4f42-a19a-1c5e5b730c5ahttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/ceea3836-8228-4f42-a19a-1c5e5b730c5aExcelMonkeyhttp://social.msdn.microsoft.com/Profile/en-US/?user=ExcelMonkeyVisual Studio 2010 Beta vs Visual Studio 2008 ProHi I was just about to upgrade from the Express Version of VS 2008 to the Pro version.  Then the Beta for 2010 was released.  I am upgrading as I want the increased functionality, and certain third party controls are not supported in the Express Version.<br/><br/>Here is my question:  should I purchase the 2008 Pro and then upgrade to the 2010 equivalent when its released.  Or should I simply use the 2010 Beta and then convert to it Pro equivalent?<br/><br/>I am guessing that one of the issues that I may run into is incompatibility of these third party controls in the Beta.  I am also not sure what version the Beta is expressed in (i.e. full version). <br/><br/>Thanks<br/><br/>EMTue, 24 Nov 2009 23:15:27 Z2009-11-24T23:15:27Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/08d3fe36-1cc8-4699-a396-fcd418371104http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/08d3fe36-1cc8-4699-a396-fcd418371104lpszDanhttp://social.msdn.microsoft.com/Profile/en-US/?user=lpszDanI see in VS 2010 a possibility to generate code for embedded platform, does it work?<span style="font-family:'MS Shell Dlg';font-size:13px;white-space:pre">I see in VS 2010 a possibility to generate code for embedded platform, does it work?</span> <div><span style="font-family:'MS Shell Dlg', Arial, Helvetica, sans-serif;font-size:small"><span style="font-size:13px;white-space:pre">I see I can select ARM7 platform for example, and some other. This is embedded microcontroller with ARM7 instruction set. So does it work is it supported?</span></span></div> <div><span style="font-family:'MS Shell Dlg', Arial, Helvetica, sans-serif;font-size:small"><span style="font-size:13px;white-space:pre">Thanks</span></span></div> <div><span style="font-family:'MS Shell Dlg', Arial, Helvetica, sans-serif;font-size:small"><span style="font-size:13px;white-space:pre">Dan</span></span></div>Fri, 20 Nov 2009 06:25:00 Z2009-11-24T10:04:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/b94d989c-26f8-44dd-aa1e-07b1f7e0db40http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/b94d989c-26f8-44dd-aa1e-07b1f7e0db40DonBaechtelhttp://social.msdn.microsoft.com/Profile/en-US/?user=DonBaechtelCan Not Create New SQL Server Database with VS2010 B2 Ultimate Server ExplorerOn my Windows Server 2008 system, If I use the VS2010 B2 Ultimate Server Explorer pane, I can see my SQL Server instance running. If I choose Create New SQL Server Database from the Data Connections, No server shows up in the Server Name list box even if I hit the list expand button or the Refresh button.<br/><br/>How do I get a list of runn SQL Servers and create a new SQL database using the Server Explorer in VS2010 B2 Ultimate?<br/><br/>Why are no servers listed if the SQL Server instance is show running?<br/>Sun, 15 Nov 2009 21:12:18 Z2009-11-23T20:54:28Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/5a5bc2f9-8c55-45bc-adfb-e1b0cb4a7089http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/5a5bc2f9-8c55-45bc-adfb-e1b0cb4a7089Red4Con1http://social.msdn.microsoft.com/Profile/en-US/?user=Red4Con1recompile FSharp.Core.dll<p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small">Has anyone got this error?</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small">Error FS0231: The F#-compiled DLL 'C:\Program Files\...\...\FSharp.Core.dll' needs to be recompiled to be used with this version of F#</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small">Session termination detected. Press Enter to restart.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small">Help how do I recompile FSharp.Core.dll?</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small"> </span></p><hr class="sig">Peace be with you!Mon, 23 Nov 2009 01:11:46 Z2009-11-23T01:11:46Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/dda43761-8490-41fe-8de1-a643465d3bbehttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/dda43761-8490-41fe-8de1-a643465d3bbeGreg Webhttp://social.msdn.microsoft.com/Profile/en-US/?user=Greg%20WebToolbox - Can't Add items In Beta 2<p>Beta 2, in a Silverlight Project.  I click on Add Tab in the toolbox.  This works.  I then try to choose items.  I get a buzy icon for a few seconds, then VS freezes.  When I try to shut it down, a dialog appears that says a modal dialog is open, but it not visible to me.  Tried this many times, same result each time. <br/><br/>This is running on Windows 7, 64 bit.<br/></p>Mon, 23 Nov 2009 00:09:12 Z2009-11-23T00:09:12Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/0f0460e3-7951-43ec-a706-cf4a9ad429a9http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/0f0460e3-7951-43ec-a706-cf4a9ad429a9old_exponent_formathttp://social.msdn.microsoft.com/Profile/en-US/?user=old_exponent_format.NET 4 Client Profile vs. Add Reference dialogHello All ,<br/><br/>I have an intresting issue with B2 Proffesional and &quot;Add Reference&quot; dialog.<br/>There are 2 assemblies: first one is unmanaged assembly that is placed in GAC_32,<br/>and second one is C# assembly that has System.Drawing, mscorlib, System, System.Web and System.Windows.Forms references that is in GAC_MSIL<br/><br/>If project uses &quot;.NET Framework 4 Client Profile&quot;, the first assembly only is available in Add Reference dialog.<br/>Is there any chance to see both assemblies in default Add Reference dialog if client profile is used?<br/>or may i add own references to the client profile?<br/><br/>Note: i have no issues when platform is set to &quot;.NET Framework 4&quot;<br/><br/>Thanks!Mon, 16 Nov 2009 08:23:03 Z2009-11-23T06:27:52Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/57f64fca-d2f3-4e01-b51a-88ad87f6085dhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/57f64fca-d2f3-4e01-b51a-88ad87f6085dgarthwhttp://social.msdn.microsoft.com/Profile/en-US/?user=garthwHistorical Debugger (IntelliTrace0<p>Has the limitation on 'historical debugging' (i.e. Intellitrace in Beta 2)  only running on 32-bit versions .. been fixed<br/>in Beta 2.</p> <p>Is beta 2 fully functional on Windows 2008 R2??</p>Thu, 19 Nov 2009 22:25:36 Z2009-11-19T22:25:37Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/ea8c818c-9f11-4a4a-b5b3-eea08acd3faahttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/ea8c818c-9f11-4a4a-b5b3-eea08acd3faaTheo Zographoshttp://social.msdn.microsoft.com/Profile/en-US/?user=Theo%20ZographosIs .NET 3.5 SP1 installed by default ?Hello,<br/>I installed Visual Studio 2010 on a PC side by side with Visual Studio 2008. <br/><br/>In the Application tab in the Application properties menu, and in the Target framework list, it contains .NET Framework 3.5.<br/><br/>Is it .NET Framework 3.5 SP1  or just 3.5 ?<br/><br/>Moreover, in the 'Install other frameworks' option and the webpage that ensues (<a href="http://msdn.microsoft.com/en-us/netframework/aa569263.aspx">http://msdn.microsoft.com/en-us/netframework/aa569263.aspx</a>)  it gives the option to install .NET Framework 3.5 SP1, leading someone to conclude that 3.5 SP1 is NOT currently installed. Which is it?Tue, 17 Nov 2009 13:28:38 Z2009-11-23T04:26:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/e5b1eec2-7fd2-4508-9d1d-ffc8a7df8490http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/e5b1eec2-7fd2-4508-9d1d-ffc8a7df8490Tim Bayerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tim%20BayerSmtpClient.Send throws exception in .net 4, same code works in .net 3.5I tried running this code:<br/> <pre lang="x-c#"> SmtpClient client = new SmtpClient(&quot;mail.server.com&quot;); client.UseDefaultCredentials = true; client.Send(&quot;from@email.com&quot;, &quot;from@email.com&quot;, &quot;Subject&quot;, &quot;Body&quot;);</pre> It works prefect in 3.5 in 4 I get an SmtpException that has an inner exception stating &quot;{&quot;Index and count must refer to a location within the string.\r\nParameter name: count&quot;}&quot;.  I have no idea what it's talking about,  it looks like it is doing some string parsing, but everything I'm passing in is in the correct format?<br/><br/>Anyone else tried this?Tue, 27 Oct 2009 17:03:17 Z2009-11-20T14:25:32Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/428d0da6-a4bf-40cf-a6a6-6bcecf1797d2http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/428d0da6-a4bf-40cf-a6a6-6bcecf1797d2How to use my .lib files in vs2010http://social.msdn.microsoft.com/Profile/en-US/?user=How%20to%20use%20my%20.lib%20files%20in%20vs2010How to use my *.lib files in vs2010I want to use opencv library in vs2010. In vs2008 i can set my project like that:  tools-&gt;options-&gt;VC++ directories-&gt;include directories-&gt;C:\Program Files\OpenCV\include\opencv;tools-&gt;options-&gt;VC++ directories-&gt;library directories-&gt;F:\CMakeOpenCV\lib\Release;F:\CMakeOpenCV\lib\Debug; and in project-&gt;property-&gt;configuration properties-&gt;linker-&gt;AdditionalDependencies-&gt;*.lib<br/>How to include the .lib files in vs2010 just like in vs2008.Wed, 18 Nov 2009 15:22:08 Z2009-11-19T23:49:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/893e768e-285e-4cb3-a485-081d274e7266http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/893e768e-285e-4cb3-a485-081d274e7266SG_VSTShttp://social.msdn.microsoft.com/Profile/en-US/?user=SG_VSTSUnable to run distributed tests with 2 agentsHi,<br/>I have installed the vs2010 test agents on 2 machines. The controller exists on a third machine.<br/>I have also given each of the agent a weighting of 50 each and not 100.<br/>However when I initiate the test run, the tests are run on only one agent.<br/><br/>How can I have both the agents executing the tests similtaneously?<br/><br/>Thanks<hr class="sig">++SG++ Thu, 19 Nov 2009 17:25:07 Z2009-11-19T17:25:08Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/845386ba-8aed-46f5-a570-7c0e02684fc2http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/845386ba-8aed-46f5-a570-7c0e02684fc2B. Clay Shannonhttp://social.msdn.microsoft.com/Profile/en-US/?user=B.%20Clay%20ShannonCan I create a new project via the command line?Sorry if this is a re-post -- the one I tried earlier seemed to &quot;hang&quot;...<br/><br/>Every time (today) that I try &quot;File | New | Project...&quot; VS2010 Beta 2 crashes ignominiously. I even rebooted twice. I submitted a bug report about it this morning.<br/><br/>Is there a way to create a new project via the command line?<hr class="sig">Writer / Photographer / Musician - http://www.lulu.com/blackbirdcravenTue, 10 Nov 2009 21:48:46 Z2009-11-19T14:45:48Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/a76a143f-256f-43ec-938e-7f2f55c18410http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/a76a143f-256f-43ec-938e-7f2f55c18410fara2000http://social.msdn.microsoft.com/Profile/en-US/?user=fara2000An error message: ResGen.exe" exited with code -1073741701When I try to execute my wpf application(VS2010  c#) I get the following message:<br/> ResGen.exe&quot; exited with code -1073741701<br/><br/><br/>Any body can help me handle that? <br/>Thanks in advance!Mon, 16 Nov 2009 19:45:16 Z2009-11-19T01:36:40Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/010a5958-4b9b-46a4-af85-2c1f50d1b62dhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/010a5958-4b9b-46a4-af85-2c1f50d1b62dLitePipehttp://social.msdn.microsoft.com/Profile/en-US/?user=LitePipeError building a x32 project under Windows 7 x64<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">The operating system is Windows 7 64 bit.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">Hardware is a 4 processor 64 bit Dell workbook.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">The application, LitePipe Management is currently a desktop production application built in  Visual Studio 2008.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">The install of Visual Studio 2010 beta went without problem.  When attempting to build the project the following error message is displayed:</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#0070c0;font-size:10pt"><span style="font-family:Calibri">File 'mscorcfg.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'<br/></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#0070c0;font-size:10pt"><span style="font-family:Calibri"><br/></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">Additional information.<br/></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">I can run without error a production copy of the LitePipe program without errors.<br/> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">When I attempted to run the LitePipe (32) on the 64 bit Windows 7 it would not allow the use of the app.config file.  All application entries that were in this file had to be put in the registry so the same build could work running under Windows 7 (32) or (64).  There may have been a more elegant way to solve this problem, but this is my current solution.  </span></p><hr class="sig">We are new to .NetMon, 16 Nov 2009 23:38:39 Z2009-11-19T01:27:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/d4e9e45c-2c9e-46ff-9f4f-73836bbfbcdchttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/d4e9e45c-2c9e-46ff-9f4f-73836bbfbcdcBorek Bernardhttp://social.msdn.microsoft.com/Profile/en-US/?user=Borek%20BernardIs the new WPF font rendering enabled in VS 2010 beta 2?WPF 4 beta 2 should have the &quot;fixed&quot; font rendering built in. My question is, is the new, fixed mode enabled in the current bits (VS2010 beta 2)? I don't mean in WPF itself but for the Visual Studio shell and editor itself.Fri, 30 Oct 2009 18:54:52 Z2009-11-19T01:06:45Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f6c3ade4-96c5-42ac-b3f1-fe1772330922http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f6c3ade4-96c5-42ac-b3f1-fe1772330922Mark Pillerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mark%20PillerVisual Studio deployment project fails with error (Unable to find module file 'c:\program files\common files\merge modules\crystal_managed2003.msm' )I am trying Visual Studio 2010 Beta 2 and everything seems to be working quite well except for one remaining stumbling block. <div><br/></div> <div>When I run my deployment project (which is supposed to build an MSI file), it errors out with the following message:</div> <div><br/></div> <div> <div>Unable to find module file 'c:\program files\common files\merge modules\crystal_managed2003.msm'</div> <div><br/></div> <div>The strange part is my project has nothing to do with Crystal Reports and exactly the same project runs just fine under Visual Studio 2005 and 2008. I checked the directory referenced in the error and the mentioned file is not there ( I am not sure if it should've come with the installation of VS2010 or not).</div> <div><br/></div> <div>Is this a known issue? Can anyone shed some light on it?</div> <div><br/></div> <div>Thanks,</div> <div>Mark</div> <div><br/></div> </div>Wed, 18 Nov 2009 21:32:17 Z2009-11-19T00:43:45Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/11dc954a-e330-4991-9573-6fcdaf31d42dhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/11dc954a-e330-4991-9573-6fcdaf31d42ddavid.exehttp://social.msdn.microsoft.com/Profile/en-US/?user=david.exeA project with "Register for COM interop" enabled requires an application restart to build correctly.If you have a project with the &quot;Register for COM interop&quot; option enabled, then the build will fail unless Visual Studio 2010 is restarted with Administrator privileges.  It seems like the simplest way to always start the app with sufficient privileges is to check &quot;Run as Administrator&quot; in the Compatibility tab of the shortcut's properties panel.<br/> <br/> But checking this option causes a UAC prompt to appear on application startup.  This new behavior is pretty annoying, but I suppose it has more to do with running on Windows 7 than with running Visual Studio 2010.  Nevertheless, I would think that the &quot;Register for COM interop&quot; option would cause Visual Studio 2010 to automatically elevate during the build without causing the UAC prompt since that's what the developer wants to happen and they've already stated as much by checking the box.<br/> <br/> At the very least, enabling &quot;Register for COM interop&quot; should cause an icon and message to appear warning the developer that they'll have to restart the application for the build to complete successfully.<br/> <br/> Does anyone know of a better solution to this than hitting a UAC speedbump on every startup?<br/> <br/>Wed, 18 Nov 2009 23:09:04 Z2009-11-18T23:09:04Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/38370a16-d0e4-46c8-ae9c-8e7884865eb2http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/38370a16-d0e4-46c8-ae9c-8e7884865eb2Deepakranjanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Deepakranjanconsole application problem<strong>I am using visual studio .net 2005 and while running a console application the display window is not coming to an halt position it is coming for 1 sec or less then the code window is coming so i cannot see my output properly.<br/>please suggest me what to do..............<br/><br/>waiting</strong>Wed, 18 Nov 2009 13:46:23 Z2009-11-18T13:58:37Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/318914a2-c80f-4131-a5f5-1c30d2f72df0http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/318914a2-c80f-4131-a5f5-1c30d2f72df0dr_doosehttp://social.msdn.microsoft.com/Profile/en-US/?user=dr_dooseunknown error message in vs 10 beta 2I just installed beta2 and cannot run it because of the following error.<br/><br/>Locating source for 'f:\dd\vb\runtime\msvbalib\Strings.vb'. Checksum: MD5 {14 e5 e 7f 4b 9f 8b 5 25 c9 c4 8b f7 2e bb 8b}<br/>The file 'f:\dd\vb\runtime\msvbalib\Strings.vb' does not exist.<br/>Looking in script documents for 'f:\dd\vb\runtime\msvbalib\Strings.vb'...<br/>Looking in the projects for 'f:\dd\vb\runtime\msvbalib\Strings.vb'.<br/>The file was not found in a project.<br/>Looking in directory 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vc7\atlmfc'...<br/>Looking in directory 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vc7\crt'...<br/>Looking in directory 'C:\'...<br/>Looking for source using source server...<br/>Source was found using source server: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\SymbolCache\src\source\dotnetfx35sp1_3053\1.3\DEVDIV\depot\DevDiv\releases\whidbey\netfxsp\vb\runtime\msvbalib\Strings.vb\1\Strings.vb<br/>The debugger will not ask the user to find the file: f:\dd\vb\runtime\msvbalib\Strings.vb.<br/>The debugger could not locate the source file 'f:\dd\vb\runtime\msvbalib\Strings.vb'.<br/><br/>What does it mean and how do I get rid of it?<br/><br/>Thanks<br/>Dick RooseWed, 04 Nov 2009 09:34:06 Z2009-11-17T23:20:37Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/52177da5-0ca1-411e-9202-f63528b9e5dehttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/52177da5-0ca1-411e-9202-f63528b9e5deSG_VSTShttp://social.msdn.microsoft.com/Profile/en-US/?user=SG_VSTSCodedUITest UIMapDesigner.vb does not retain changes made !<p>Hi,<br/>I am using vs 2010 beta 2 ultimate for creating coded ui tests.<br/>I recorded a test and made changes to the UIMap.Designer.vb file to parameterize my own data which is passed from the coded UI test file.<br/>Here is an example<br/><br/><em><strong>Dim username As String = TestContext.DataRow(&quot;LDAP&quot;)<br/>Dim serialno As String = TestContext.DataRow(&quot;SERIALNO&quot;)<br/>Dim filecode As String = TestContext.DataRow(&quot;FILECODE&quot;)<br/>Me.UIMap.CreateNewEquipment(username, serialno, filecode)</strong><br/><br/></em>I receive it in UIMapDesigner.vb like --<br/><br/><em><strong>Public Sub CreateNewEquipment(ByVal username As String, ByVal serialno As String, ByVal filecode As String)<br/></strong></em><br/>I then make the necessary changes for text fileds etc to use the passed param values.<br/>I save/build and execute.<br/><br/>The tests run perfect.<br/><br/>The problem comes when I now record another test (functionality) and go back to the UIMap.Designer.vb.<br/><br/>I find that all the changes I had done are removed and back to default like before I started the editing!!!<br/><br/>How can i save the changes made so that they dont get overwritten by adding new coded ui tests?<br/><br/>Thanks<br/></p><hr class="sig">++SG++ Thu, 12 Nov 2009 20:58:24 Z2009-11-17T15:24:46Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/8a00ed1d-7bb7-4590-bb7c-734aa63dffc6http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/8a00ed1d-7bb7-4590-bb7c-734aa63dffc6dr_doosehttp://social.msdn.microsoft.com/Profile/en-US/?user=dr_dooseHow do I access Technical Support?Hi All,<br/>When I try to contact Technical Support I get the following error message:<br/><br/>The following error occured:<br/><br/>Unknown API error<br/><br/>My browser is trying to access Technical Support at URL 127.0.0.1<br/><br/>Can someone help?<br/><br/>Thanks<br/>dc_rooseWed, 04 Nov 2009 09:50:02 Z2009-11-17T02:14:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f804aceb-7513-409c-9088-817531c9c45bhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/f804aceb-7513-409c-9088-817531c9c45bmarian trifanhttp://social.msdn.microsoft.com/Profile/en-US/?user=marian%20trifanMultiple error <div><strong>Dear people , can help me with this error:</strong></div> <div><br/></div> <div>Consultez la fin de ce message pour plus de détails sur l'appel du débogage</div> <div>juste-à-temps (JIT) à la place de cette boîte de dialogue.</div> <div><br/></div> <div>************** Texte de l'exception **************</div> <div>System.InvalidCastException: La conversion de la chaîne &quot;&lt;br /&gt;</div> <div>&lt;b&gt;Warning&lt;/b&gt;:  mysql_co&quot; en type 'Double' n'est pas valide. ---&gt; System.FormatException: Le format de la chaîne d'entrée est incorrect.</div> <div>   à Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)</div> <div>   à Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)</div> <div>   --- Fin de la trace de la pile d'exception interne ---</div> <div>   à Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)</div> <div>   à Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)</div> <div>   à CPAX20.utilities.Dec(String strCode)</div> <div>   à CPAX20.Form1.tmrLink_Tick(Object sender, EventArgs e)</div> <div>   à System.Windows.Forms.Timer.OnTick(EventArgs e)</div> <div>   à System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message&amp; m)</div> <div>   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</div> <div><br/></div> <div><br/></div> <div>************** Assemblys chargés **************</div> <div>mscorlib</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4200 (NetFxQFE.050727-4200)</div> <div>    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll</div> <div>----------------------------------------</div> <div>CPAX2</div> <div>    Version de l'assembly : 1.0.0.0</div> <div>    Version Win32 : 1.0.0.0</div> <div>    CodeBase : file:///C:/Program%20Files/Common%20Files/alg.exe</div> <div>----------------------------------------</div> <div>Microsoft.VisualBasic</div> <div>    Version de l'assembly : 8.0.0.0</div> <div>    Version Win32 : 8.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll</div> <div>----------------------------------------</div> <div>System</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll</div> <div>----------------------------------------</div> <div>System.Windows.Forms</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll</div> <div>----------------------------------------</div> <div>System.Drawing</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll</div> <div>----------------------------------------</div> <div>System.Runtime.Remoting</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll</div> <div>----------------------------------------</div> <div>System.Management</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll</div> <div>----------------------------------------</div> <div>System.Xml</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll</div> <div>----------------------------------------</div> <div>mscorlib.resources</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4200 (NetFxQFE.050727-4200)</div> <div>    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll</div> <div>----------------------------------------</div> <div>System.Configuration</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll</div> <div>----------------------------------------</div> <div>System.Core</div> <div>    Version de l'assembly : 3.5.0.0</div> <div>    Version Win32 : 3.5.30729.1 built by: SP</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll</div> <div>----------------------------------------</div> <div>Microsoft.mshtml</div> <div>    Version de l'assembly : 7.0.3300.0</div> <div>    Version Win32 : 7.0.3300.0</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll</div> <div>----------------------------------------</div> <div>System.resources</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_fr_b77a5c561934e089/System.resources.dll</div> <div>----------------------------------------</div> <div>Microsoft.VisualBasic.resources</div> <div>    Version de l'assembly : 8.0.0.0</div> <div>    Version Win32 : 8.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_fr_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll</div> <div>----------------------------------------</div> <div>System.Windows.Forms.resources</div> <div>    Version de l'assembly : 2.0.0.0</div> <div>    Version Win32 : 2.0.50727.4016 (NetFxQFE.050727-4000)</div> <div>    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll</div> <div>----------------------------------------</div> <div><br/></div> <div>************** Débogage JIT **************</div> <div>Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette</div> <div>application ou cet ordinateur (machine.config) doit avoir la valeur</div> <div>jitDebugging définie dans la section system.windows.forms.</div> <div>L'application doit également être compilée avec le débogage</div> <div>activé.</div> <div><br/></div> <div>Par exemple :</div> <div><br/></div> <div>&lt;configuration&gt;</div> <div>    &lt;system.windows.forms jitDebugging=&quot;true&quot; /&gt;</div> <div>&lt;/configuration&gt;</div> <div><br/></div> <div>Lorsque le débogage juste-à-temps est activé, les exceptions non gérées</div> <div>seront envoyées au débogueur JIT inscrit sur l'ordinateur</div> <div>plutôt que d'être gérées par cette boîte de dialogue.</div>Sun, 15 Nov 2009 09:00:33 Z2009-11-15T09:00:34Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/ec7b6337-bdef-46fd-89b3-d7f235df268bhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/ec7b6337-bdef-46fd-89b3-d7f235df268bLentonatorhttp://social.msdn.microsoft.com/Profile/en-US/?user=LentonatorSupport for Higher DPI displaysHello, <div><br/></div> <div>I'm currently running Windows 7 Professional and just installed Visual Studio 2010 Ultimate Beta 2.</div> <div><br/></div> <div>My system settings have my twin, 1680x1050 displays running at 120dpi.</div> <div><br/></div> <div>However, I've noticed that like VS10's predecessors, it has no non 96dpi support. All the icons look grainy and unprofessional, which is a shame since many developers are using high resolution screens and will want to increase the dpi to make it easier to see.</div> <div><br/></div> <div>I would like to recommend that the creators of VS10 add multiple dpi support (at least 96, 120, and 144) similar to how Windows 7 supports it. As I understand, getting higher resolution icons is a good first step.</div> <div><br/></div> <div>Thanks</div>Sat, 14 Nov 2009 17:13:08 Z2009-11-14T17:13:08Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/8a225e27-fc29-4880-8016-9a41ecf92f0fhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/8a225e27-fc29-4880-8016-9a41ecf92f0ftoywayhttp://social.msdn.microsoft.com/Profile/en-US/?user=toywayError in MS Visual 2010 Beta 2Hi,<br/> <br/> I'm not able to compile even a simple code. Below is the error. I think it is because before ths 2010 installation I had MS Visual C++ EE, and now tehre is something messed up.<br/> Any advices how to fix the problem?<br/> <br/> 1&gt;------ Build started: Project: test2, Configuration: Debug Win32 ------<br/> 1&gt;Build started 11/12/2009 7:27:28 AM.<br/> 1&gt;_PrepareForBuild:<br/> 1&gt;  Creating &quot;Debug\test2.unsuccessfulbuild&quot; because &quot;AlwaysCreate&quot; was specified.<br/> 1&gt;GenerateTargetFrameworkMonikerAttribute:<br/> 1&gt;Skipping target &quot;GenerateTargetFrameworkMonikerAttribute&quot; because all output files are up-to-date with respect to the input files.<br/> 1&gt;ClCompile:<br/> 1&gt;  stdafx.cpp<br/> 1&gt;  AssemblyInfo.cpp<br/> 1&gt;  test2.cpp<br/> 1&gt;  Generating Code...<br/> 1&gt;  .NETFramework,Version=v4.0.AssemblyAttributes.cpp<br/> 1&gt;C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Microsoft.Common.Targets(1754,9): error MSB4018: The &quot;GenerateResource&quot; task failed unexpectedly.<br/> 1&gt;C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Microsoft.Common.Targets(1754,9): error MSB4018: System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)<br/> 1&gt;C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Microsoft.Common.Targets(1754,9): error MSB4018:    at Microsoft.Build.Shared.NativeMethodsShared.InprocTracking.StartTrackingContextWithRoot(String intermediateDirectory, String taskName, String rootMarker)<br/> 1&gt;C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Microsoft.Common.Targets(1754,9): error MSB4018:    at Microsoft.Build.Utilities.FileTracker.StartTrackingContextWithRoot(String intermediateDirectory, String taskName, String rootMarkerResponseFile)<br/> 1&gt;C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Microsoft.Common.Targets(1754,9): error MSB4018:    at Microsoft.Build.Tasks.GenerateResource.Execute()<br/> 1&gt;C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Microsoft.Common.Targets(1754,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()<br/> 1&gt;C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006\Microsoft.Common.Targets(1754,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean&amp; taskResult)<br/> 1&gt;<br/> 1&gt;Build FAILED.<br/> 1&gt;<br/> 1&gt;Time Elapsed 00:00:08.28<br/> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br/>Thu, 12 Nov 2009 15:38:29 Z2009-11-12T15:38:31Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/51693861-f147-488d-a9f6-11dce5614a87http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/51693861-f147-488d-a9f6-11dce5614a87Randy Xuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Randy%20XuThe GuidanceAutomationExtensions 2008 can not be used after I installed the VS2010B2Pro<p>I had installed VS2008, GuidanceAutomationExtensions 2008 and VsSDK 2008 to my computer before. Now I want to install the VS2010B2Pro. After the installation,  When I opened a VS2008 solution with the VS2008, I found that I can not use the GuidanceAutomationExtensions 2008. I am sure that the GuidanceAutomationExtensions 2008 can be used before the VS2010B2Pro installation. Who can tell me the reason?</p>Mon, 09 Nov 2009 02:29:37 Z2009-11-12T06:25:31Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/cc60c97f-0519-4352-8eba-021312d61a27http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/cc60c97f-0519-4352-8eba-021312d61a27wallyh010http://social.msdn.microsoft.com/Profile/en-US/?user=wallyh010Editor Window Close Button LocationThe editor window close button used to be located at the top right-hand corner and was easy to use.  Now that the close button is located on the window tab itself, the mouse cursor position has to be changed after closing each window which is annoying.  Why not put the editor window close button in both places; on the window's tab and in the top right-hand corner of the window set.Tue, 03 Nov 2009 21:57:17 Z2009-11-12T00:10:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/321f4a00-fd03-4a94-bbe2-51da25405443http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/321f4a00-fd03-4a94-bbe2-51da25405443VVOhttp://social.msdn.microsoft.com/Profile/en-US/?user=VVODebugging HLSL code in Visual Studio <p class=MsoNormal>Visual Studio 2003 debugger allow to debug HLSL code (i.e. set breakpoints, inspect variables, etc.). This feature was removed in the subsequent versions of Visual Studio. Is there any chance to have it back? PIX for windows (in DXSDK) is not actually a debugger for HLSL code since you can debug the code after the application had finished. And I found no way to debug mixed Direct3D 9 and Direct3D 10 code in the same time ( my app uses WPF 3.51 which is based on Direct3D 9 and it hosts my Direct3D 10 code for display )</p> <p class=MsoNormal> </p> <p class=MsoNormal>Cheers,</p> <p class=MsoNormal>Stefan</p>Wed, 11 Nov 2009 14:00:04 Z2009-11-11T14:00:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/c422be69-d69d-46a9-964d-9aea064c840dhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/c422be69-d69d-46a9-964d-9aea064c840dAshwinGKhttp://social.msdn.microsoft.com/Profile/en-US/?user=AshwinGKLive Session: .NET Framework 4 Basics - SKU, Installation, Application Compatibility [11/12 10AM PST]<p>Join us live on Nov 12th , Thursday 10 AM PST to learn more about .NET Framework 4. You will learn more about Client Profile and Full, what scenarios to use each of these, Installation. We will also cover Application compatibility of .NET Framework 4. <a href="http://www.satter.org/">Rabi Satter</a>, Sr. PM and SKU owner of .NET Framework will be the presenter.<br/><br/> <table class=MsoNormalTable style="width:281.25pt" border=0 cellspacing=0 cellpadding=0 width=375> <tbody> <tr style="height:4pt"> <td style="padding-bottom:1.5pt;padding-left:0in;padding-right:0in;background:white;height:4pt;padding-top:0in;border:#f0f0f0" valign=top> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:'Tahoma','sans-serif';color:black;font-size:6.5pt">Attendee URL:</span></p> </td> <td style="padding-bottom:1.5pt;padding-left:0in;padding-right:0in;background:white;height:4pt;padding-top:0in;border:#f0f0f0"> <p class=MsoNormal style="margin:0in 0in 0pt"><span style=""></span><span style="font-family:'Tahoma','sans-serif';color:black;font-size:9pt"></span></p> </td> <td style="padding-bottom:1.5pt;padding-left:0in;padding-right:0in;background:white;height:4pt;padding-top:0in;border:#f0f0f0" valign=top> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:'Tahoma','sans-serif';color:black;font-size:6.5pt"><a href="https://www.livemeeting.com/cc/0000000379_103/join?id=76P755&amp;role=attend&amp;pw=p,/zk2K|M"><span style=""><span style="font-family:Times New Roman;color:#0000ff">https://www.livemeeting.com/cc/0000000379_103/join?id=76P755&amp;role=attend&amp;pw=p%2C%2Fzk2K%7CM</span></span></a></span></p> </td> </tr> </tbody> </table> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri"><span style="font-size:10pt">(866) 500-6738 #198585<span style="">  </span></span><span style="font-family:'Lucida Console';font-size:10pt"></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt"><span style="font-family:Calibri">Participant Passcode: 198585<span style="">  </span></span></span><span style="font-family:'Lucida Console';font-size:10pt"></span></p> <p> </p>Tue, 10 Nov 2009 17:56:52 Z2009-11-10T17:56:53Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/7fdf861d-e3de-4601-b2a8-35932fceb0d0http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/7fdf861d-e3de-4601-b2a8-35932fceb0d0Sorporbearhttp://social.msdn.microsoft.com/Profile/en-US/?user=SorporbearMicrosoft.Build.BuildEngine.GlobalEngine.GetLoadedProject not working<p>I used this to load a project open inside Visual Studio (with the full path of the project file), and it works in VS2008 but not in VS2010 beta2. Is there any changes to get the MSBuild project with VS2010? Here is the code:</p> <pre lang="x-c#">Microsoft.Build.BuildEngine.Project msp = Microsoft.Build.BuildEngine.Engine.GlobalEngine.GetLoadedProject(p.FullName); </pre> <p><br/>Thanks!<br/><span style="font-size:x-small;font-family:Consolas"><span style="font-size:x-small;font-family:Consolas"><font face=Consolas size=2><font face=Consolas size=2> <p> </p> </font></font></span><font face=Consolas size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;font-family:Consolas"></span></p>Thu, 05 Nov 2009 23:43:15 Z2009-11-09T23:21:29Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/bb36ed4e-6a1b-4167-8f6d-17905a99bf88http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/bb36ed4e-6a1b-4167-8f6d-17905a99bf88ScottJohnson345Kforcehttp://social.msdn.microsoft.com/Profile/en-US/?user=ScottJohnson345KforceTest - UI Web Test<p>Using Visual Studio 2010 beta 2 and Windows 7 I am creating a web UI test. Many times I get an error on combos and hyperlinks and the error states it cannot find the control. It is not always consistent as sometimes it works. What can I do to fix the problem. Does anybody else have this probem? When the test is long, it almost always fails, but if I break it into smaller tests, I can get farther.<br/><br/>Scott</p>Mon, 09 Nov 2009 21:27:32 Z2009-11-09T21:27:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/b6ca98fe-23d2-4608-9445-1984b9d77c35http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/b6ca98fe-23d2-4608-9445-1984b9d77c35Spirit Duhttp://social.msdn.microsoft.com/Profile/en-US/?user=Spirit%20DuIs there any tutorial to teach writing coded UI test by hand without a builder?<span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;font-size:13px;color:#333333;line-height:16px">Is there any tutorial to teach writing coded UI tests without a builder? The action recorder is good, but the generated codes are too difficult to read anyway and too complicated to me. I tried to launch a AUT (Calculator) by calling ApplicationUndeTest.Launch() method, and then trying to find a button to click. The calculator is actually launched, but the Mouse.Click() alway throw a null reference exception. Here is my codes:</span> <div><span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;color:#333333;font-size:small"><span style="font-size:13px;line-height:16px"><br/></span></span></div> <div><span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;color:#333333;font-size:small"><span style="font-size:13px;line-height:16px"> <div style="color:Black;background-color:White"> <pre><span style="color:Blue">using</span> System; <span style="color:Blue">using</span> System.Text; <span style="color:Blue">using</span> System.Collections.Generic; <span style="color:Blue">using</span> System.Linq; <span style="color:Blue">using</span> Microsoft.VisualStudio.TestTools.UnitTesting; <span style="color:Blue">using</span> Microsoft.VisualStudio.TestTools.UITesting; <span style="color:Blue">using</span> Microsoft.VisualStudio.TestTools.UITest.Extension; <span style="color:Blue">namespace</span> TestProject1 { <span style="color:Gray">///</span> <span style="color:Gray">&lt;summary&gt;</span> <span style="color:Gray">///</span><span style="color:Green"> Summary description for GUITest</span> <span style="color:Gray">///</span> <span style="color:Gray">&lt;/summary&gt;</span> [CodedUITest] <span style="color:Blue">public</span> <span style="color:Blue">class</span> GUITest { <span style="color:Blue">private</span> <span style="color:Blue">static</span> <span style="color:Blue">string</span> CALCULATOR_PATH = <span style="color:#A31515">&quot;C:\\Windows\\System32\\calc.exe&quot;</span>; <span style="color:Blue">private</span> <span style="color:Blue">static</span> <span style="color:Blue">string</span> CALCULATOR_ALTERNATE_PATH = <span style="color:#A31515">&quot;%SystemRoot%\\System32\\calc.exe&quot;</span>; <span style="color:Blue">private</span> ApplicationUnderTest _application; <span style="color:Blue">private</span> UITestControl _window; <span style="color:Blue">private</span> TestContext _context; <span style="color:Gray">///</span> <span style="color:Gray">&lt;summary&gt;</span> <span style="color:Gray">///</span><span style="color:Green"> Gets or sets the test context which provides information about and functionality for the current test run.</span> <span style="color:Gray">///</span> <span style="color:Gray">&lt;/summary&gt;</span> <span style="color:Blue">public</span> TestContext TestContext { <span style="color:Blue">get</span> { <span style="color:Blue">return</span> _context; } <span style="color:Blue">set</span> { _context = value; } } <span style="color:Gray">///</span> <span style="color:Gray">&lt;summary&gt;</span> <span style="color:Gray">///</span><span style="color:Green"> Launch Calculator before each test method</span> <span style="color:Gray">///</span> <span style="color:Gray">&lt;/summary&gt;</span> [TestInitialize()] <span style="color:Blue">public</span> <span style="color:Blue">void</span> MyTestInitialize() { _application = ApplicationUnderTest.Launch(CALCULATOR_PATH, CALCULATOR_ALTERNATE_PATH); _window = <span style="color:Blue">new</span> UITestControl(_application); _window.TechnologyName = <span style="color:#A31515">&quot;MSAA&quot;</span>; _window.SearchConfigurations.Add(SearchConfiguration.VisibleOnly); _window.SearchProperties.Add(WinProperties.Window.ControlType, <span style="color:#A31515">&quot;Window&quot;</span>); _window.SearchProperties[WinProperties.Window.Name] = <span style="color:#A31515">&quot;小算盤&quot;</span>; } <span style="color:Green">// Use TestCleanup to run code after each test has run</span> [TestCleanup()] <span style="color:Blue">public</span> <span style="color:Blue">void</span> MyTestCleanup() { <span style="color:Blue">if</span> (_application != <span style="color:Blue">null</span>) { _application.Close(); } Playback.Cleanup(); } [TestMethod] <span style="color:Blue">public</span> <span style="color:Blue">void</span> TestMethod1() { ClickButtonByText(_window, <span style="color:#A31515">&quot;1&quot;</span>); ClickButtonByText(_window, <span style="color:#A31515">&quot;2&quot;</span>); ClickButtonByText(_window, <span style="color:#A31515">&quot;3&quot;</span>); ClickButtonByText(_window, <span style="color:#A31515">&quot;+&quot;</span>); ClickButtonByText(_window, <span style="color:#A31515">&quot;3&quot;</span>); ClickButtonByText(_window, <span style="color:#A31515">&quot;2&quot;</span>); ClickButtonByText(_window, <span style="color:#A31515">&quot;1&quot;</span>); ClickButtonByText(_window, <span style="color:#A31515">&quot;=&quot;</span>); } <span style="color:Blue">private</span> <span style="color:Blue">void</span> ClickButtonByText(UITestControl window, <span style="color:Blue">string</span> text) { UITestControl control = <span style="color:Blue">new</span> UITestControl(window); control.TechnologyName = <span style="color:#A31515">&quot;MSAA&quot;</span>; control.SearchConfigurations.Add(SearchConfiguration.VisibleOnly); control.SearchProperties.Add(WinProperties.Button.ControlType, <span style="color:#A31515">&quot;Button&quot;</span>); control.SearchProperties[WinProperties.Button.Name] = text; System.Console.WriteLine(control); Mouse.Click(control, control.GetClickablePoint()); } } } </pre> </div> The exception stack trace</span></span></div> <div><span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;color:#333333;font-size:small"><span style="font-size:13px;line-height:16px"><br/></span></span></div> <div><span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;color:#333333;font-size:small"><span style="font-size:13px;line-height:16px"> <pre>Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyValue(String propertyName) Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetProperty(String propertyName) Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyInternal[T](String propertyName) Microsoft.VisualStudio.TestTools.UITesting.UITestControl.get_BoundingRectangle() Microsoft.VisualStudio.TestTools.UITesting.UITestControl.CaptureImage() Microsoft.VisualStudio.TestTools.UITesting.Playback.CaptureScreenShot(UITestControl control) Microsoft.VisualStudio.TestTools.UITesting.Playback.GetUITestControlString(UITestControl control) Microsoft.VisualStudio.TestTools.UITesting.Playback.AddUITestControlDescriptionToException(SystemException exception, IPlaybackContext context) Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, IPlaybackContext context) Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, String actionName, UITestControl uiControl) Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, String actionName, Object parameterValue, UITestControl uiControl) Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyValue(String propertyName) Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetProperty(String propertyName) Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyInternal[T](String propertyName) Microsoft.VisualStudio.TestTools.UITesting.UITestControl.get_BoundingRectangle() Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetClickablePoint() TestProject1.GUITest.ClickButtonByText(UITestControl window, String text) in d:\documents\visual studio 2010\Projects\TestProject1\TestProject1\GUITest.cs: line 76 TestProject1.GUITest.TestMethod1() in d:\documents\visual studio 2010\Projects\TestProject1\TestProject1\GUITest.cs: line 59 </pre> <br/></span></span></div>Sun, 08 Nov 2009 02:08:19 Z2009-11-08T02:08:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/2c7455e3-86ab-499e-9563-4a2486d62699http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/2c7455e3-86ab-499e-9563-4a2486d62699DirkRhttp://social.msdn.microsoft.com/Profile/en-US/?user=DirkRIntelliSense for javascript doesn't work.<p>Hello,</p> <p>1) javascript intellisense doesn't work anymore. I use <br/><em><br/>/// &lt;reference path=&quot;../../MicrosoftAjax.debug.js&quot; /&gt;<br/>/// &lt;reference path=&quot;../../MicrosoftMvcAjax.debug.js&quot; /&gt;<br/></em><br/>at the beginning of the .js file. In Beta 1, all works fine.  In aspx files (using &lt;script&gt; tag) the same behavior.</p> <p>2) Views in a MVC project show the message:<br/><br/><em> Warning 1 Validation ($SCHEMA$): Element 'h2' is not supported. ...\Views\Home\Index.aspx 10 6 #</em><br/><br/> This happens when opening the demo page Home/Index.aspx page from the MVC 2.0 project template<br/><br/> In Beta 1, all works fine.</p> <p>I did a repair install but no improvement.<br/></p>Tue, 20 Oct 2009 17:29:42 Z2009-11-07T04:53:39Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/e4c4e9e3-9484-4030-90cf-2de9293ea76ahttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/e4c4e9e3-9484-4030-90cf-2de9293ea76acheckoutsreehttp://social.msdn.microsoft.com/Profile/en-US/?user=checkoutsreeCan somebody help me in writing data to excel 2007 using c#.net?<p>Hi,<br/>I need assistance in writing data to excel 2007 using c#.net. Previously in vsts 2010 beta 1 release, i wrote code for the same which is not working in beta 2. I am not able to add reference to microsoft.excel.library 12.0<br/><br/>please help<br/><br/>Microsoft.Office.Interop.Excel.Application objApp = new Microsoft.Office.Interop.Excel.Application();<br/>            Microsoft.Office.Interop.Excel.Workbook objBook = objApp.Workbooks.Open(&quot;C:\\Result1.xls&quot;,0,false,5,&quot;&quot;,&quot;&quot;,true,&quot;&quot;,&quot;\t&quot;,false,false,0,1,true,1);<br/>            Microsoft.Office.Interop.Excel.Sheets objSheets = objBook.Worksheets;<br/>            Microsoft.Office.Interop.Excel.Worksheet objSheet = (Microsoft.Office.Interop.Excel.Worksheet)objSheets.get_Item(1);</p> <p>            //objSheet.Cells[2, 2] = &quot;PASS&quot;;<br/>            //objSheet.get_Range(&quot;B2&quot;).Interior.Color = System.Drawing.Color.Green;<br/>            //objSheet.get_Range(&quot;B2&quot;).Font.Color = System.Drawing.Color.White;<br/>            //objSheet.get_Range(&quot;B2&quot;).Font.Bold = true;<br/><br/><br/>This code is not working . it reports error as <br/>Error 1 Predefined type 'Microsoft.CSharp.RuntimeBinder.Binder' is not defined or imported TestProject5<br/>Error 2 One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll? C:\Documents and Settings\Administrator\My Documents\Visual Studio 2010\Projects\TestProject5\CodedUITest1.cs 36 65 TestProject5<br/></p>Tue, 03 Nov 2009 10:40:10 Z2009-11-05T19:36:18Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/e284b9d7-5e76-461a-baa1-3bc1423c8ef1http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/e284b9d7-5e76-461a-baa1-3bc1423c8ef1AshwinGKhttp://social.msdn.microsoft.com/Profile/en-US/?user=AshwinGKLive session: What's new in .NET Framework 4 - Managed Extensibility Framework (MEF) <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri"><span style="font-size:small">Come join us to learn more about the Managed Extensibility Framework (MEF) features in .NET Framework 4 from <a href="http://blogs.msdn.com/gblock/">Glenn Block</a> (MEF team)</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <table class=MsoNormalTable style="width:281.25pt" border=0 cellspacing=0 cellpadding=0 width=375> <tbody> <tr style="height:4pt"> <td style="padding-bottom:1.5pt;padding-left:0in;padding-right:0in;background:white;height:4pt;padding-top:0in;border:#f0f0f0" valign=top> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:'Tahoma', 'sans-serif';color:black">Attendee URL:</span></p> </td> <td style="padding-bottom:1.5pt;padding-left:0in;padding-right:0in;background:white;height:4pt;padding-top:0in;border:#f0f0f0"> <p class=MsoNormal style="margin:0in 0in 0pt"> </p> </td> <td style="padding-bottom:1.5pt;padding-left:0in;padding-right:0in;background:white;height:4pt;padding-top:0in;border:#f0f0f0" valign=top> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:'Tahoma', 'sans-serif';color:black"><a href="https://www.livemeeting.com/cc/0000000379_103/join?id=76P755&amp;role=attend&amp;pw=p,/zk2K|M"><span style="color:#0000ff">https://www.livemeeting.com/cc/0000000379_103/join?id=76P755&amp;role=attend&amp;pw=p%2C%2Fzk2K%7CM</span></a></span></p> </td> </tr> </tbody> </table> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> Time: 10 AM PST - October 5th Thursday</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri"><span style="font-size:12pt">Dial in: (866) 500-6738 #198585  </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:12pt"><span style="font-family:Calibri">Participant Passcode: 198585  </span></span></p>Wed, 04 Nov 2009 21:23:50 Z2009-11-04T21:23:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/028aa5d5-29da-4d9b-9f70-89babf2d5fa3http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/028aa5d5-29da-4d9b-9f70-89babf2d5fa3DannyAsherhttp://social.msdn.microsoft.com/Profile/en-US/?user=DannyAsherWhere is the 'Microsoft Visual Studio 2010 Beta 2' Forum?<br/>I can't find the Microsoft Visual Studio 2010 Beta 2 forum? Could someone post a link?<br/><br/>Wed, 04 Nov 2009 19:37:40 Z2009-11-13T14:24:18Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/6892524b-0a4a-4e85-9486-a4774c040b65http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/6892524b-0a4a-4e85-9486-a4774c040b65xaephttp://social.msdn.microsoft.com/Profile/en-US/?user=xaepBlend3 can't open VS2010 projectSeems Blend3 doesn't support .NET4 project, when Blend release a patch or next version?Tue, 03 Nov 2009 08:54:36 Z2009-11-06T22:31:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/55f33c10-d9f1-41b2-8c95-f1b7e419ee1ahttp://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/55f33c10-d9f1-41b2-8c95-f1b7e419ee1abyungilhttp://social.msdn.microsoft.com/Profile/en-US/?user=byungilHow to change(edit) the default [inherited values] list in [Project Properties - VC Directories] ???anyone knows?Wed, 04 Nov 2009 02:35:27 Z2009-11-04T02:35:28Z