visual-studio-express

Automatically generate C# wrapper class from dll in Visual Studio 2010 Express?

佐手、 提交于 2019-12-03 07:38:11
问题 I was told by a colleague of mine that Visual Studio allows one to point to a .dll and auto-magically generate a C# wrapper class. Is this really possible? And if so, how does one go about achieving this? I've browsed the web, but have failed to come up with anything! Thanks all! Figured I'd share these resources as well, How to: Create COM Wrappers And courtesy of @Darin, Consuming Unmanaged DLL Functions 回答1: 3 cases: The DLL represents a managed assembly => you directly reference it in

How to add resources in separate folders?

淺唱寂寞╮ 提交于 2019-12-03 05:19:28
问题 When I try to add a resource at the resource designer by clicking "Add an existing item",the item is placed in the folder "Resource". The problem is that if I create a new directory in the Resource directory and place the resources there,I get a compiler error that the files cannot be found. I can't put all resources in one folder,because I have to add 2500 images and some of them match their names. 回答1: You do not need to add the images under the Resources folder. You can add the images to

how to display toolbox on the left side of window of Visual Studio Express for windows phone 7 development?

喜欢而已 提交于 2019-12-03 04:50:28
问题 I am new to Visual Studio development. Occasionally I hide the toolbox on the left side of window of Visual Studio Express. But then, sometimes, I would like to use it. How does one reactivate and display it? 回答1: Ctrl - Alt - X is the keyboard shortcut I use, although that may because I have Resharper installed - otherwise Ctrl W , X . From the menu: View -> Toolbox . You can easily view/change key bindings using Tools -> Options Environment -> Keyboard . It has a convenient UI where you can

How do I create a MRU in V 2010Express C# in the simplest way?

蹲街弑〆低调 提交于 2019-12-02 01:49:32
问题 First of all I am a newbie in C# Programming, and I need to create a simple MRU as fast as i could. Well the thing is I've tried looking at some online examples but however I found them to be quite a bit too confusing... So is there anyway that anyone can create a "Recently Used" section in the toolstripmenuitem without going into those complicated codes?? E.g I will not be able to understand this stuff... Registry key: KEY_CURRENT_USER\Software\Microsoft\VCExpress\9.0\FileMRUList Code:

Microsoft Visual Studio: How to keep the console open without manually reading input?

淺唱寂寞╮ 提交于 2019-12-01 17:14:18
I'm writing some C++ with Microsoft Visual Studio 2010 Express, and I'm wondering if there is a way to display command output somewhere in the IDE instead of an external console window, or at least keep that window open. Reading something from STDIN would work for a console application, but this is a unit test case and I don't want to modify the generated main function. Is there another way? Ctrl + F5 for quick test. The key combination keeps the console open until you close it. I've found a solution that is not really elegant, but at least it works. I'm using a fixture in my unit testing

Microsoft Visual Studio: How to keep the console open without manually reading input?

五迷三道 提交于 2019-12-01 16:13:54
问题 I'm writing some C++ with Microsoft Visual Studio 2010 Express, and I'm wondering if there is a way to display command output somewhere in the IDE instead of an external console window, or at least keep that window open. Reading something from STDIN would work for a console application, but this is a unit test case and I don't want to modify the generated main function. Is there another way? 回答1: Ctrl + F5 for quick test. The key combination keeps the console open until you close it. 回答2: I

How to disable exception assistant and unhandled exception popup in Visual Studio 2008 Express

眉间皱痕 提交于 2019-12-01 03:20:18
I am using Visual Studio 2008 Express and am writing unit tests where there are many expected unhandled exceptions. This cause numerous exception assistant popups to display when running these tests in the debugger. I have disabled the exception assistant in the VS options, but a different unhandled exception dialog pops up instead. I know it is possible to get rid of these with Visual Studio Professional, but how do you do this with the express edition? By the way, I am using Assert.Throws instead of the ExpectedException attribute (NUnit), which causes this, but I want to use the Assert

How to connect to SqlExpress for Entity Framework using Visual Studio 2010 Express?

丶灬走出姿态 提交于 2019-12-01 03:03:51
I'm trying to use the Visual Studio 2010 Express editions to set up an ASP.NET MVC 2 Web Application using SqlExpress + Entity Framework as the data access. I have both the "C# Edition" and "Web Developer Edition" installed. If I try to add a data source using the "C# edition", I'm missing the "Microsoft SQL Server" data source type. Visual Studio 2010 Express Screenshot http://dl.dropbox.com/u/4163528/images/StackOverflow/2010Express.png but Visual Studio 2008 Professional has it. Visual Studio 2008 Professional Screenshot http://dl.dropbox.com/u/4163528/images/StackOverflow/2008Professional

Has the Batch Build option been removed in Visual Studio 2012 Express?

旧城冷巷雨未停 提交于 2019-12-01 02:29:21
I just recently switched from Visual C++ 2010 Express to Visual Studio 2012 Express for Desktop. Since I use it often, I soon found myself looking for the Batch Build... option under the Build menu (or Solution Explorer → <solution>'s right-click menu). At work, I have Visual Studio 2012 Professional and the Batch Build... option is where it was in Visual Studio 2010. Has this feature been cut from the Express editions? Yelmond It turns out the Batch Build... feature still exists in the Express edition of Visual Studio 2012; it's just been hidden for some reason. To access it, you can either

How to disable exception assistant and unhandled exception popup in Visual Studio 2008 Express

一世执手 提交于 2019-11-30 23:40:29
问题 I am using Visual Studio 2008 Express and am writing unit tests where there are many expected unhandled exceptions. This cause numerous exception assistant popups to display when running these tests in the debugger. I have disabled the exception assistant in the VS options, but a different unhandled exception dialog pops up instead. I know it is possible to get rid of these with Visual Studio Professional, but how do you do this with the express edition? By the way, I am using Assert.Throws