visual-studio-2010-beta-2

Install Visual Studio 2010 Beta 2 beside VS2008

拜拜、爱过 提交于 2020-01-14 16:36:14
问题 I am too paranoid to install VS2010 Beta 2 on my production machine beside VS2008 without hearing from people who have already took the plunge. I know MS says it's OK, but that does not necessarily mean it will work. Has anyone successfully installed VS2010 Beta 2 (preferably Ultimate edition) on their production machine with no negative consequences? 回答1: I have installed VS2010 beta 2 in my machine, together with VS2008, and it seems to work fine. There were two compelling reasons for me to

Getting an ASP.MVC2/VS2010 application to work in IIS 7.5

馋奶兔 提交于 2019-12-28 03:30:09
问题 I've recently downloaded beta 2 of VS2010 and started playing with ASP.NET MVC2. Initial development was done with Casini, but now I wanted to run the application from IIS 7.5 (I'm running Windows 7). I've installed the IIS6 metabase compatiblity and I run VS2010 as administrator so I can use the "Create Virtual Directory" button from the "Web" tab of the project settings. This created the web application entry in IIS, but it doesn't work. When I go to the main page (http://localhost/MyMvcApp

Does T4MVC work with Visual Studio 2010 Beta 2 and .Net 4?

末鹿安然 提交于 2019-12-24 06:01:58
问题 I cannot get the current build of T4MVC (2.6.02) to work with an ASP.NET MVC 2 project compiled against .NET 4 in VS2010 Beta 2. There is one error: The C# 2.0 and C# 3.5 compilers are no longer supported. Templates will always be compiled with the version 4 compiler instead of 'v3.5' as specified. Which is easily fixed by changing <#@ template language="C#v3.5" debug="true" hostspecific="true" #> to <#@ template language="C#" debug="true" hostspecific="true" #> And then the .generated.cs

How can I get my TCP listener service to terminate correctly?

ε祈祈猫儿з 提交于 2019-12-24 04:50:06
问题 I'm writing a Windows service which starts a TCP listener. The core code works fine, but I'm having several problems with the mechanics of a Windows service. Right now, when my service starts up, it creates a thread and starts the TCP listener in the thread. Then, when the service stops, it terminates that thread: Public Class txnSocketService Inherits System.ServiceProcess.ServiceBase Private listenerThread As Thread Public Sub New() Me.ServiceName = "txnSocketService" Me.CanStop = True Me

Visual Studio 2010 Beta 2 + ClearType

放肆的年华 提交于 2019-12-22 08:27:09
问题 I was wondering: are you satisfied with the text-rendering in the Visual Studio 2010 editor (Beta 2)? On my primary monitor it looks very blurred, even when using font size 12! When using font size 10 or 11 it's horrible. Can the WPF text rendering mode be set explicitly for VS code window? EDIT: I am using Windows 7 x64 and my primary monitor is a Benq G2412HD. What's kind of strange is that the font seems to be nicer on the secondary monitor, which is a 4 year old 19' TFT. EDIT: I tried

Change shortcut for 'switch to markup' in Visual Studio 2010

不打扰是莪最后的温柔 提交于 2019-12-20 09:06:21
问题 How do I switch the shortcut for 'toggle to markup'? Shift + F7 is toggle to designer. In Visual Studio 2008 I can toggle between the code-behind and the markup with F7 . I got used to it and want to have the same shortcut in Visual Studio 2010 Beta2. How can I achieve that? 回答1: In 2008 you could go into Tools --> Options --> Keyboard and in the Press Shortcut keys field you could type a shortcut and it would tell you what its currently mapped to. In 2008 its mapped to View.ToggleDesigner.

Is there a TFS query macro for the current iteration?

大城市里の小女人 提交于 2019-12-13 12:52:39
问题 Is there a way in TFS in VS2010 to specify that a particular iteration is the current one, and then return that for use in queries similar to the way @Project works? If not is there a way to do sub-queries in TFS work item queries? 回答1: I'm afraid that there is not such a macro. I personally just have a few "X in current iteration" team queries and then edit those queries to point to the new iteration path at the start of each iteration. 回答2: Looks like Microsoft listened. @CurrentIteration

Why is performance is slow when 2010 Cassini serves static files?

时光怂恿深爱的人放手 提交于 2019-12-12 18:09:24
问题 When running a site in debug mode on 2010 I get incredible slow performance when cassini serves static files. According to Firebug it takes about 1 seconds for each request to resolve on 20 2kb images. I haven't changed any settings, just have done a straight up install followed by converting a couple of projects. Rebooted the computer, reloaded IIS without solving anything. I did have a different problem which I asked about on stackoverflow.com: Exception when VS 2010 ASP.NET Development

devIL causes program to be unable to start correctly

橙三吉。 提交于 2019-12-12 16:45:28
问题 I just tried to use devIL and ULIT to help me with opengl texture loading. However, whenever the program starts, I get the error: "The application was unable to start correctly (0xc000007b). Click OK to close the application." What happened? I'm using the Visual C++ 2010 RC, windows 7 64-bit. 回答1: It may happen if you attempt to run a 64-bit application, but Windows finds only the 32-bit version of some dependent DLL. You can fix this by making sure all the 64-bit dependency DLLs can be found

Install .NET 4.0 dll to the GAC

杀马特。学长 韩版系。学妹 提交于 2019-12-10 15:27:33
问题 I have a visual C# 2010 express install. Built a .NET 4.0 dll that is signed. Now I need to get it into the GAC. Im on 64bit vista. Anyone know if there is a gacutil supporting the 4.0 framework yet? Any other suggestions on getting it into the GAC? I have tried drag and drop into C:\Windows\assembly, whenever I do, it appears to copy; however, it is not copied and does not produce any error message. I cannot create a setup/deployment project as it appears the express editions of visual