visual-studio-2008

Visual Studio 2008 - Start debugging?

眉间皱痕 提交于 2019-12-11 12:39:08
问题 Using VB 2008 When I press the F5 or Start Debugging it does a rebuild even when I have made no changes since the last time. Where is the setting to tell it to only do a rebuild if there are changes? 回答1: F5 should a build and not rebuild, are you sure it's a rebuild? Even you do not make any changes, a 'pseudo' build is still executed, and should be significant faster than a normal build or rebuild. EDIT: My definition of a 'pseudo' build is to check for need to build and/or making sure all

VS 2008 Open Web Site takes forever!

☆樱花仙子☆ 提交于 2019-12-11 12:36:20
问题 Anyone else get this or suffer from this? I am using Vista and VS 2008 and when I goto open a Web Site it literally takes 2~3 minutes for the dialog box to show up. Once i actually select a website it's not a problem but getting to that point hangs VS really bad. 回答1: I wonder if you're hitting an issue similar to this: http://blogs.technet.com/markrussinovich/archive/2006/11/27/532465.aspx Might be worth attaching the debugger to VS to see what it's doing, it may not be the same issue, but

Service and Web Reference crashes Visual Studio

妖精的绣舞 提交于 2019-12-11 12:35:23
问题 When I move the mouse over any of these two or right click any of them Visual Studio crashes with the following message in the event log: Felet uppstod i programmet med namn: devenv.exe, version 9.0.30729.1, tidsstämpel 0x488f2b50 , felet uppstod i modulen med namn: ntdll.dll, version 6.1.7600.16385, tidsstämpel 0x4a5bdb3b Undantagskod: 0xc0000374 Felförskjutning: 0x000cdcbb Process-ID: 0xef4 Programmets starttid: 0x01cb07b7f1bd036d Sökväg till program: C:\Program Files (x86)\Microsoft Visual

ASP.NET MVC: How to avoid circular reference between 2 projects

廉价感情. 提交于 2019-12-11 12:34:31
问题 My application has at least 2 projects, the OrganizationMangement and the ContactManagement. Previously, I referenced ContactManagement because I need to work with a class located in the OrganizationManagement. Now I need to do the reverse but I'm getting the following error " Cannot reference OrganizationManagement ... to avoid circular reference. " I guess the error makes sense. But, how can I avoid that? I mean I need those classes just to transfert data from one project to another. To

How to create a Visual-Studio string visualizer?

谁都会走 提交于 2019-12-11 12:31:51
问题 I was trying to create a visualizer for IDictionary or ICollection Then like the simple visualizer (without dialog; I mean the ususal string visualizer that appears when hovering the variable, see image below), I want to make my custom text, I want to cast the collection to its type's list (I.E. StringCollection to List(Of String) or List) and then I will be able to see it in the visualizer. Or for Dictionaries show to lists visualizers for keys and for values. Any ideas how to implement or

Trying to add ajax TabContainer, getting error “The Controls collection cannot be modified because the control contains code blocks (i.e. <% … %>).”

守給你的承諾、 提交于 2019-12-11 12:17:37
问题 I want to add an ajax:TabContainer to my webpage. I don't get any build errors, but when I try to browse to the page, it gives me the error: "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).". I re-downloaded the Ajax Control Toolkit for the sample sites, opened the solution in VS, ran the sample for the TabContainer, and it worked fine. I thought it was perhaps a different version of the Ajax Control Toolkit - but no. The

Referenced Assembly won't load

[亡魂溺海] 提交于 2019-12-11 12:13:10
问题 I've got a visual studio 2010 project which publishes an assembly called myAssembly.ddl . I then want to reference myAssembly.dll from an existing vs 2008 project. If I try to load the reference it comes up with an yellow exclamation mark next to it, suggesting that the assembly wasn't loaded. However, I'm not getting any error messages during that process. Obviously, if i try to import the namespace in my code it doesn't compile. Converting myAssembly.dll to a .net version 3.5 doesn help.

Building an OpenCV application with Visual Studio 2008 and running it from another computer

无人久伴 提交于 2019-12-11 12:13:07
问题 I've made a simple OpenCV application with Visual Studio 2008 and I've built it in both release mode and debug mode.It works fine from my computer but when I try to run it from another computer which doesn't have OpenCV installed or has another version of Visual Studio with OpenCV it doesn't work. How can I make the app work from a computer which doesn't have either Visual Studio or OpenCV installed ? I'm thinking to add the external dependencies ( lib's and dll's ) into the app's folder,

Run time View of WPF Window doesn't match the Design View of Expression Blend

ⅰ亾dé卋堺 提交于 2019-12-11 12:09:21
问题 Following on from this question, I understand that Visual Studio 2008 doesn't accurately render Designs made on Expression Blend. The additional problem I have is, the View of the Window doesn't match with the Design shown on Blend. I am using Expression Blend 2.0, and Visual Studio 2008(.NET 3.5). Could this have something to do with it? The design is very simple, just some buttons placed next to each other. I understand without the XAML code, it would be difficult to address the exact

Visual Studio Pre build events and batch set

北战南征 提交于 2019-12-11 12:02:17
问题 I'm trying to create call a batch file which sets a bunch of environment variables prior to building. The batch file looks something like this (it's automatically generated before-hand to detect ATI Stream SDK or NVidia CUDA toolkit): set OCL_LIBS_X86="%ATISTREAMSDKROOT%libs\x86" set OCL_LIBS_X64="%ATISTREAMSDKROOT%libs\x86_64" set OCL_INCLUDE="%ATISTREAMSDKROOT%include" However, the rest of the build doesn't seem to have access to these variables, so when I try to reference $(OCL_INCLUDE) in