visual-studio-2008

How do I prevent 'Publish Web' from overwriting config files?

纵饮孤独 提交于 2019-12-18 12:54:37
问题 When I publish my Asp.Net MVC website to the production server (via VS2008), the web.config & castle.xml files are overwritten. The content of these files is obviously different between my local dev environment and the production server. How do I prevent these files from being published? 回答1: In Visual Studio solution explorer, go to your web.config file's properties. Make sure "Build Action" is "None" and "Copy to Output Directory" is "Do not copy". If you ever want to update it in the

English Error Messages in German Visual Studio 2008 / ASP.NET

為{幸葍}努か 提交于 2019-12-18 12:28:22
问题 This might be a bit weird question, but I'll give it a shot: HELP, my Visual Studio 2008 / ASP.NET is giving me GERMAN error messages. Besides the fact that translations tend to be not as good as the original text, I can't search for those and find relevant answers to my problems on the internet. So: How do I switch my German Visual Studio 2008 Standard Edition to English locals? Update - Just to make it clear: I am a German developer, working with a German Windows Vista... I also have a

How to Drawing Text with Outline onto Images?

断了今生、忘了曾经 提交于 2019-12-18 12:00:40
问题 I have been searching and looking for Drawing text with outline onto images? Here my code private static void tulisnamafile(string imagepath, string textnya) { Image image = Image.FromStream(new MemoryStream(File.ReadAllBytes(imagepath))); Bitmap newImage = new Bitmap(640, 380); using (Graphics g = Graphics.FromImage(newImage)) { // Draw base image g.DrawImageUnscaled(image, 0, 0); //Static is HERE SolidBrush brushing = new SolidBrush(Color.White); Font font = new Font(("Comic Sans MS"), 20

Python IDE built into Visual Studio 2008?

自作多情 提交于 2019-12-18 11:26:48
问题 Hi I develop in Visual Studio 2008 a lot and would like to find an addin like vsphp which enables intellisense and debugging in Visual Studio. Is IronStudio what I am looking for? As far as I understand IronStudio is a Plugin for .NET. If there is no Plugin for Visual Studio 2008 whats a great IDE for a python newbee who loves Visual Studio (hate netbeans and eclipse sorry just don't feel the love) Also if IronPython Studio is an IDE do I want the Isolated or Integrated Version? I don't seem

What's the difference between gtest.lib and gtest_main.lib?

天涯浪子 提交于 2019-12-18 11:20:53
问题 Google's C++ Test Framework has two output libraries: one is gtest.lib and the other one is gtest_main.lib. According to Nik Reiman's answer on how to setup gtest with Visual Studio, we should link to gtest_main.lib but I'm linking to gtest.lib and the sample test cases that I have are running fine. What's the difference between the two libraries and does it matter which one I link to? 回答1: the only reasonable difference is that gtest_main.lib provides a default implementation of a test

Windows Server 2008 as development machine - step by step

折月煮酒 提交于 2019-12-18 10:36:18
问题 I have found many tutorials about using Windows Server 2003 as a development machine, and very little information about Windows Server 2008 for the same purpose. For a nicer experience, I have followed the steps from Convert your Windows Server 2008 to a Workstation. I am searching for the requirements and installation order for IIS 7 with IIS 6 compatibility mode, .NET Framework 3.5 SP1 (does it require the installation of .NET Framework 3.0 feature, or can be installed directly), SQL Server

View all TODO items in Visual Studio using GhostDoc

廉价感情. 提交于 2019-12-18 10:31:53
问题 I'm also using GhostDoc in Visual Studio 2008. How do I view all to-do items and if that's a function already in Visual Studio or in GhostDoc (the documentation tool that I use)? 回答1: If you are referring to TODOs that are defined with the // TODO comments, open the Task List and set it to the Comments filter. Also be careful with GhostDoc. Always read the comment that was generated. I remember that older versions would generate comments like: "Toes the string" for a method like ToString().

In visual studio, is there a way to step back to see what the few lines executed before were?

扶醉桌前 提交于 2019-12-18 10:25:12
问题 In visual studio, is there a way to step back to see what the few lines executed before were? I hit an unhandled exception in my code, and what I would like to do is step back (without re-executing) so I could see the class/method that called the method that threw the exception. This is in C# 回答1: Debug -> Windows -> Call Stack (Ctrl + Alt + C is default bindings (I think)) Will show you the history of execution, you can double click events to go to definition, however you cannot step back in

SSD drives and Visual Studio IDE. Big improvements? Real usage stories, no theory

回眸只為那壹抹淺笑 提交于 2019-12-18 10:00:26
问题 I want to go for Windows 7 + Intel SSD drives to speed up my Visual Studio 2008 development cycle. The areas I want to speed up are: Compile/build times Openening files for winforms/webforms General Visual Studio "sluggishnes" for Windows and web I'm not interested in the startup time of Visual Studio. Also cost per GB is not an issue. I want speed. Has anyone tried this ( SSD drive + Visual Studio ) already and what can you tell about the speedups/downs? I know the theory about SSDs but

SSD drives and Visual Studio IDE. Big improvements? Real usage stories, no theory

拈花ヽ惹草 提交于 2019-12-18 10:00:04
问题 I want to go for Windows 7 + Intel SSD drives to speed up my Visual Studio 2008 development cycle. The areas I want to speed up are: Compile/build times Openening files for winforms/webforms General Visual Studio "sluggishnes" for Windows and web I'm not interested in the startup time of Visual Studio. Also cost per GB is not an issue. I want speed. Has anyone tried this ( SSD drive + Visual Studio ) already and what can you tell about the speedups/downs? I know the theory about SSDs but