visual-studio-express

Is there a need to convert a Visual Studio Express solution to a Visual Studio Professional solution?

半世苍凉 提交于 2019-12-07 09:55:24
问题 I've been using Visual Studio Express for a good while now, but after comparing it with Visual Studio Professional, I've decided to 'upgrade' to Visual Studio Professional, which is easy since I can just grab it for free from DreamSpark (I have a student account there). I know that solutions that were developed in VS Express can be opened and worked on in VS Professional, but is it better, or even possible, to convert my solutions so that they show up as VS Professional solutions? Or, will

Is it possible using C# to check if hardware virtualization enabled?

此生再无相见时 提交于 2019-12-07 03:50:28
Couldn't find an answer, so I thought I ask for myself. Using C#, how can I check if the CPU has hardware virtualization enabled? Hyper-V, for example. It's not in the Win32_Processor class, and my attempt to connect to the MSVM_ComputerSystem was met with utter failure. Keeps telling me there's an invalid namespace. Code below. ManagementObjectSearcher vm = new ManagementObjectSearcher(@"\\.\root\virtualization", "select * from MSVM_Computersystem"); ManagementObjectCollection vmCollection = vm.Get(); foreach (ManagementObject mo in vmCollection) { cpuVirtual = mo["EnabledState"].ToString();

Debugging Nunit tests in Visual Studio C# Express 2010

六月ゝ 毕业季﹏ 提交于 2019-12-07 03:07:47
问题 I've followed this advice to get debugging working for NUnit tests. http://www.blackwasp.co.uk/NUnitCSharpExpress.aspx However, i have several tests that do Assert.Throws<...> , which causes the debugger to break when the exception i'm testing for occurs, when really i want it to break if an exception occurs outside of those calls. How can i get the debugger to ignore exceptions caused from within these kinds of methods? EDIT: I've event tried the below, which doesn't work! [Test] public void

Visual C# 2010 Express: Specify default access modifier for new classes?

陌路散爱 提交于 2019-12-06 22:11:27
问题 Whenever I create new classes using Visual Studio 2010 Express C# it creates them with no access modifier. 9 times out of 10 I want my new classes to be public. How can I have Visual Studio create empty class templates with the "public" modifier by default? 回答1: The trick is to create a new item template named Class. Then when you do Add > New Class, your template will be selected by default rather than the built-in Class template. (I am not sure if this behaviour is guaranteed but it Works

Can I use Visual Studio Express Edition for WSS 3.0 development?

僤鯓⒐⒋嵵緔 提交于 2019-12-06 15:01:25
问题 I understand that the answer is "yes - but...", and I'm just trying to get some sense of what I won't be able to do with Express Edition (relating directly to Sharepoint development). I haven't found much on the web about this, and I'm guessing that's to be taken as a sign that it's probably not recommended. 回答1: If the Wikipedia article is to be believed then there are a couple of problems. No debugging of running processes (e.g. ASP.NET) The ability to attach the debugger to an already

How to deploy VS2008 express desktop project?

谁说胖子不能爱 提交于 2019-12-06 08:20:46
问题 i was wondering how could i deploy/make it into an installer for an app which is created using vs 2008 express. i know that the setup and deployment feature is only available via the full version of visual studio right? So are there any add ons or perhaps additional free/or non-free if it has to come to that which i can use to do this? or is the best tool for the job is the old visual studio installer from the vs 6.0 days? :) thanks Updates : After some googling, i found this link on using

Mvvm Light and Visual C# Express?

安稳与你 提交于 2019-12-05 18:56:06
Does MVVM Light work with Visual C# Express? Can't seem to get any of the templates showing up. At this point, I do not support Visual C# express for MVVM Light templates. I only support express editions for the Windows Phone and for Windows 8 (Visual Studio 11 for WinRT). I will consider supporting Visual C# express in a further revision of the installer. Unfortunately supporting new versions of Visual Studio is quite a lot of work to update the MSI... Eric Spirau It's quite easy to take the templates and move them to the personal template directory and they appear in visual studio 2010

What are good tools for identifying potentially duplicated code for C# Express users? [closed]

强颜欢笑 提交于 2019-12-05 10:12:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . see also "Any tools to check for duplicate VB.NET code?" A friend of mine only has access to the Express editions of Visual Studio and I am trying to help him refactor to remove a lot of duplication. 回答1: You could take a look at Simian or DuplicateFinder. Neither have a dependency on the IDE, although you can

Debugging Nunit tests in Visual Studio C# Express 2010

南楼画角 提交于 2019-12-05 06:16:57
I've followed this advice to get debugging working for NUnit tests. http://www.blackwasp.co.uk/NUnitCSharpExpress.aspx However, i have several tests that do Assert.Throws<...> , which causes the debugger to break when the exception i'm testing for occurs, when really i want it to break if an exception occurs outside of those calls. How can i get the debugger to ignore exceptions caused from within these kinds of methods? EDIT: I've event tried the below, which doesn't work! [Test] public void InstanciatingWithNullParameterThrowsException() { try { Assert.Throws<ArgumentNullException>(() => new

Visual C# 2010 Express: Specify default access modifier for new classes?

寵の児 提交于 2019-12-05 01:34:01
Whenever I create new classes using Visual Studio 2010 Express C# it creates them with no access modifier. 9 times out of 10 I want my new classes to be public. How can I have Visual Studio create empty class templates with the "public" modifier by default? The trick is to create a new item template named Class. Then when you do Add > New Class, your template will be selected by default rather than the built-in Class template. (I am not sure if this behaviour is guaranteed but it Works On My Machine (TM).) To create the template: Right-click in your project and choose Add > Class. You can