visual-studio-2008

How to configure Visual Studio 2008 to use IIS Express?

被刻印的时光 ゝ 提交于 2019-12-17 16:10:36
问题 The IIS Express FAQ notes that: You can also manually launch IIS Express from the command line and use it with Visual Studio 2008, using the custom web server option How do I configure the Start Options to get this working? 回答1: The following seems to work for IIS Express launching from the command line: Open the Properties for the web site Select Start Options Under Start Action select Start External Program , put the path to iisexpress.exe ( C:\Program Files (x86)\IIS Express\iisexpress.exe

Why does Visual Studio use such a strange regex syntax

こ雲淡風輕ζ 提交于 2019-12-17 16:01:35
问题 Is there any reason why Visual Studio uses such a strange syntax (for instance in the search/replace dialog)? Instead of writing \s*(\w+) = new Process\(\) I have to write :b*{:a+} = new Process\(\) . I am always struggling with this syntax - especially since the normal .NET syntax is the former one. This is an incomplete comparison between the two syntaxes: What Visual .NET Comment Studio ---------------------------------------------------------------- Tab/Spaces :b \s Either tab or space

Setting the default page for ASP.NET (Visual Studio) server configuration

别来无恙 提交于 2019-12-17 15:54:28
问题 When I build and run my application I get a directory listing in the browser ( also happens for sub folders ), and I have to click on Index.aspx. It's making me crazy. Visual Studio 2008 ASP.NET Development Server 9.0.0.0 回答1: The built-in webserver is hardwired to use Default.aspx as the default page. The project must have atleast an empty Default.aspx file to overcome the Directory Listing problem for Global.asax . :) Once you add that empty file all requests can be handled in one location.

Visual Studio log file

社会主义新天地 提交于 2019-12-17 15:53:47
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 8 years ago . My Visual Studio 2008 Professional gave me the following error: An error has occurred in the application. For more information please see the log file. Its path is listed in the About box. Riiight. I went to the About box, and there is nothing about a log file. And the System Info button has so much information, that I can't even figure out where to look for information on the

Best practices for large solutions in Visual Studio (2008) [closed]

丶灬走出姿态 提交于 2019-12-17 15:02:03
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . We have a solution with around 100+ projects, most of them C#. Naturally, it takes a long time to both open and build, so I am looking

Best practices for large solutions in Visual Studio (2008) [closed]

痞子三分冷 提交于 2019-12-17 15:00:06
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . We have a solution with around 100+ projects, most of them C#. Naturally, it takes a long time to both open and build, so I am looking

How do I force a rebuild when the project configuration changes? [duplicate]

送分小仙女□ 提交于 2019-12-17 14:50:03
问题 This question already has answers here : Why doesn't F5 rebuild project before execution in Visual Studio? (4 answers) Closed 2 years ago . I have several project configurations and I switch between them constantly. However, every time I switch, I have to manually do a rebuild before running. How do I force it to rebuild automatically? 回答1: From the Tools Menu Select Options Select Projects and Solutions Select Build and Run In the combo box below the text that says "On Run, when projects are

How do I force a rebuild when the project configuration changes? [duplicate]

我与影子孤独终老i 提交于 2019-12-17 14:48:45
问题 This question already has answers here : Why doesn't F5 rebuild project before execution in Visual Studio? (4 answers) Closed 2 years ago . I have several project configurations and I switch between them constantly. However, every time I switch, I have to manually do a rebuild before running. How do I force it to rebuild automatically? 回答1: From the Tools Menu Select Options Select Projects and Solutions Select Build and Run In the combo box below the text that says "On Run, when projects are

How do I force a rebuild when the project configuration changes? [duplicate]

二次信任 提交于 2019-12-17 14:48:20
问题 This question already has answers here : Why doesn't F5 rebuild project before execution in Visual Studio? (4 answers) Closed 2 years ago . I have several project configurations and I switch between them constantly. However, every time I switch, I have to manually do a rebuild before running. How do I force it to rebuild automatically? 回答1: From the Tools Menu Select Options Select Projects and Solutions Select Build and Run In the combo box below the text that says "On Run, when projects are

Prevent users from resizing the window/form size

为君一笑 提交于 2019-12-17 13:51:13
问题 User can change form size. I do not find a property of form that do not allow user to change form size. 回答1: Set the FormBorderStyle to another value like FixedSingle or FixedDialog . 回答2: Change FormBorderStyle to FixedDialog , FixedSingle , or Fixed3D . Also, if you do not want them to maximize the form set Maximize to False. 回答3: There are a few of workarounds for this: Set maximum size property to a value you prefer. If you do not want the application window to be shrunk as well, then set