visual-studio-2010

Searching for text in an Object watch window in visual studio

落花浮王杯 提交于 2019-12-30 07:54:46
问题 I am using visual studio 2010. I have set a breakpoint and added a watch on a complex object with very deep hierarchy. I was wondering if there was any quick way to search this object tree for a particular string I want. Either as a property/value/method etc. In other words, I just want to say "Does this object have anything like "Foo" in it. I don't care what it is, just tell me if it knows about "Foo". Give me all instances of "Foo"." For example, if I have an object containing 3

will visual studio 2010 support classic asp?

纵然是瞬间 提交于 2019-12-30 07:52:46
问题 I'm using visual studio 2008 for a classic asp application. Will I be able to upgrade to visual studio 2010? 回答1: Yes, classic ASP can be developed just fine in VS2010 as it does in VS2008 SP1. 回答2: I've found this msdn page http://msdn.microsoft.com/en-us/library/ms241740.aspx it says: Although the primary focus of Web debugging in Visual Studio 2010 is ASP.NET, you can also debug legacy ASP Web applications. ASP Web applications consist of scripts, which run on the client in .htm files and

will visual studio 2010 support classic asp?

点点圈 提交于 2019-12-30 07:52:35
问题 I'm using visual studio 2008 for a classic asp application. Will I be able to upgrade to visual studio 2010? 回答1: Yes, classic ASP can be developed just fine in VS2010 as it does in VS2008 SP1. 回答2: I've found this msdn page http://msdn.microsoft.com/en-us/library/ms241740.aspx it says: Although the primary focus of Web debugging in Visual Studio 2010 is ASP.NET, you can also debug legacy ASP Web applications. ASP Web applications consist of scripts, which run on the client in .htm files and

Visual Studio 2010 — are you missing a using directive or an assembly reference?

℡╲_俬逩灬. 提交于 2019-12-30 07:51:57
问题 When I add a reference to my dll in Visual Studio project, I am able to use it, but when I compile my code or try to run it, I get an are you missing a using directive or an assembly reference? _ Error. I am able to confirm that I have the right using statement for my namespace and I am able to confirm that the dll is correctly loaded. Anyone have any idea what I may not have right in this? 回答1: Go to project settings and make sure that you are not compiling the project for a .net version

Sqlite not in list of Visual Studio data source options

£可爱£侵袭症+ 提交于 2019-12-30 07:51:54
问题 Downloaded and ran SQLite setup. Added dll reference to my project In Server Explorer, added new connection, clicked 'Change' for data source and SQLite was one of the options. Connected and used my tables. Then...VS 2010 crashed. When I reloaded my project, my connection wasn't in Server explorer, so tried to add it again. SQLite was not in the list of options. Re-ran SQLite setup, deleted/re-added reference, restarted project...still no SQLite in the list. How can I get SQLite connected in

Build events not honoring multiple command-line arguments

梦想的初衷 提交于 2019-12-30 07:42:06
问题 I have the following as my post-build event in a C# .NET 4.0 project in Visual Studio 2010: call "$(SolutionDir)Publish\Publish.exe" "$(TargetDir)" "\\lithium\c\Photon" call "$(SolutionDir)RemoteControl\RemoteControl.exe" start The problem is that when Publish.exe is executed, there is only one command line argument being passed, which contains the following value: C:\Users\...\bin\Release" \\lithium\c\Photon note: I replaced some folders with an ellipsis, otherwise this is the exact value

Using TagLib in Visual Studio 2010

*爱你&永不变心* 提交于 2019-12-30 07:32:46
问题 EDIT: Yes, I have looked at this post. Unfortunately, it looks like the user ends up using MingW in the end. I am on Windows 7 , 64-bit. I downloaded the most recent version of the TagLib code from the SVN repository. I am using revision 1202935 . I am trying to use TagLib in Visual Studio 2010 . I have gotten TagLib to work with QtCreator/MingW, but I want to start learning the Windows API so I am starting from scratch in Visual Studio 2010 (C++ of course). In VS2010, I have build zlib (both

Using TagLib in Visual Studio 2010

无人久伴 提交于 2019-12-30 07:31:08
问题 EDIT: Yes, I have looked at this post. Unfortunately, it looks like the user ends up using MingW in the end. I am on Windows 7 , 64-bit. I downloaded the most recent version of the TagLib code from the SVN repository. I am using revision 1202935 . I am trying to use TagLib in Visual Studio 2010 . I have gotten TagLib to work with QtCreator/MingW, but I want to start learning the Windows API so I am starting from scratch in Visual Studio 2010 (C++ of course). In VS2010, I have build zlib (both

Why do my tests fail with System.Security.VerificationException?

混江龙づ霸主 提交于 2019-12-30 07:21:12
问题 I'm in the process of migrating one of my projects from VS2008 to VS2010. Now that I converted all of my projects in the solution to .NET 4.0 (Client Profile) when I run the test harness, almost all tests fail with the following exception: System.Security.VerificationException: Operation could destabilize the runtime. I've been unable to determine why this exception occurs. The tests run all fine when I run them in debug mode. The entire solution is available for download here. Can anyone

Target .NET 3.5 C++/CLI in Visual Studio 2010 Beta 2

我怕爱的太早我们不能终老 提交于 2019-12-30 07:10:48
问题 Has anyone had any success converting a VS 2008 C++/CLI (vcproj) project to a VS 2010 project (vcxproj), whilst maintaining .NET 3.5 as the target framework? I haven't been able to do this and get the project to build successfully. The project compiles fine in VS2008 as .NET 3.5, and fine in VS2010 as .NET 4.0, but I am unable to target .NET 3.5 in 2010. The IDE doesn't seem to provide an option for it, and modifying the vcxproj file by adding <TargetFrameworkVersion>v3.5<