visual-studio-2008

Syntax highlighter with selective attribute highlight - VS Addin

十年热恋 提交于 2019-12-11 06:55:31
问题 Is there any VS Adding for highlighting particular code block or attribute from whole code ? Thanks, Piyush 回答1: Yes, there is a thing which can help you - Visual Assist X addIn from http://www.wholetomato.com/. It has many features, including highlighting a symbol under cursor (if I understand your question correctly): 来源: https://stackoverflow.com/questions/2668071/syntax-highlighter-with-selective-attribute-highlight-vs-addin

WPF designer won't load with entity framework

烂漫一生 提交于 2019-12-11 06:55:22
问题 I have been having real problems getting the WPF designer to work in VS 2008 when i use the entity framework. I have a user control that gets data from an entity model. The user control designer loads fine but the main window throws the following error "Could not create an instance of type 'CampaignList". When i compile the project there is no problem. I have started using a workaround where i detect when it is in design mode and don't create an "Entities" object when in design mode. However

problems when make a web service as an alternative to dll

别来无恙 提交于 2019-12-11 06:54:08
问题 Q: Recently , i face some problems, i have a dll common among a lot of applications,and any change to this dll require to build it, copy and paste it in each bin folder of these applications ,and add the new reference so i decided to convert this dll to a web service in stead to overcome this overload.. I make a web service application contains set of web services(mapping to each class). I face some problems here: In the original dll, there are classes use methods exist in other classes in

VS2008 XAML Designer exception “Key cannot be null” when using default styles from a ResourceDictionary

强颜欢笑 提交于 2019-12-11 06:53:11
问题 I'm using a shared ResourceDictionary to define default styles and having major conflicts with the XAML Designer in Visual Studio 2008. Key cannot be null appears for all attempts to show the XAML design view. The dictionary is merged into App.xaml (to be used by all windows) and has a number of styles setting the defaults for controls, so they are defined as shown below without a key . If you add an x:Key attribute to the styles, they are no longer applied by default. I don't want to have to

Changing property stubs for Interface refactoring

拥有回忆 提交于 2019-12-11 06:50:01
问题 Is it possible to change the stub used to implement interfaces in Visual Studio 2008? For instance, when I choose either Implement interface 'IMyInterface' or Explicitly implement interface 'IMyInterface' Instead of a number of properties that look like this: public string Comment { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } I'd like my properties to use the C# 3.0 auto-implemented properties and look like this: public string Comment {get;set;}

Is it possible to add just Xamarin support to existing Visual Studio 2008 installation?

十年热恋 提交于 2019-12-11 06:48:43
问题 I already have a fully functional Visual Studio 2008 installed on my system, complete with C# and VB .Net. Now I need to just add Xamarin support to my existing installation. Is there a way to do this, without having to download Visual Studio again? When I try to download Xamarin, it gives me a "Visual Studio Community 2017 Installer" with so many language components, that it is really difficult to identify the bare minimum I would need to create a Xamarin project. Appreciate all guidance and

Invoking standard “File changed outside Visual Studio” dialog

不羁岁月 提交于 2019-12-11 06:48:33
问题 I have succesfuly created custom single view editor in my VSPackage. One of many things I had to cope with was reacting to situation when edited file was changed outside Visual Studio - "standard" editors in Visual Studio display dialog with options like "yes", "yes to all" (reload content) etc., so if more files had changed, only one dialog is displayed. However, the only thing I can do in my VSPackage so far is display custom dialog when the file had changed. It is not pretty - when file

System.TypeLoadException with multiple projects in solution

我们两清 提交于 2019-12-11 06:39:51
问题 I have created a VS2008 solution with 3 projects in it (Class Library, Windows Application, and Web Application). I am using objects that I define in the Class Library in both the Windows application and the web application. This works great for the Windows application, but when I go to create an object in the code behind of a web page, I get a System.TypeLoadException: Could not load type 'Nutz.MusicMaster.Song' from assembly 'Nutz, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

VS2008 DataSet Wizard doesn't match tables for updating

可紊 提交于 2019-12-11 06:27:38
问题 first question ever on this site. I've been having a real stubborn problem using Visual Studio 2008 and I'm hoping someone has figured this out before. I have 2 libraries and 1 project that use strongly typed datasets (MSSQL backend) that I generated using the "Configure DataSet with Wizard" option on in Data Sources. I've had them working just fine for awhile and I've written a lot of code in the non-designer file for the row classes. I've also specified a lot of custom queries using the

Visual Studio ASHX files debugging

亡梦爱人 提交于 2019-12-11 06:23:44
问题 I have a ashx file in a non web project in VS2008. The type of web project (stsdev that is used with Share Point) deploys the ashx file to the server. I can navigate to the file and it is there. In VS2008 when I try and put a break point in the ashx code it will not let me. This means when I connect to the WP3.exe process to remotely debug it nothing will be fired. What steps can I take to get this to debug? 回答1: The link here covers it well: http://www.myrocode.com/post/2009/06/03/Custom