visual-studio-2008

ASP.NET MVC - Easy way to update the strongly typed view, when model adds additional fields?

Existing Model, Controller and View, all working well. Due to a requirement change, there is suddenly a change in the db schema, need to add a few new fields. Database is updated, model (ADO.NET Entity) is refreshed from database and new fields are picked up. Controller is OK since it is working with the "set" and keying off the PK. ...

ENU enconters a problem while middle of Visual Studio 2008 setpu

"ENU enconters a problem during setup .So setpu dit'n compleate correctly" I got these error while the visual studio 2008 installing So pls help me ........ System Configuration OS:XP sp2 ram:1gb HDD:80gb thanks&regards Ram ...

Changing CR/LF output type in Visual Studio

Hi all: I have a c# project in my Visual studio 2008 which when built, outputs a bunch of files in a temp directory for other programs to use i.e. JsTestDriver, JsCoverage, etc (all a bit Unix-related). Trouble is, everytime when the files were generated, they seem to contain weird return carriage/line feed which upsets the programs th...

is it possible to run Visual-studio 2008 on mini laptop ?

hi is it possible to run Visual-studio 2008 on mini laptop ? procesor: Intel ® Atom N270 1.6GHz memory: 1GB DDR2 HD: 160GB SATA thank's in advance ...

NHibernate one to many problem

Hi I'm trying to map some tables using Nhibernate and it generally works apart from when it comes to one-to-many classes. I have a Visits table where each visit has many Inspection records. The mapping file for Visits contains the following: <bag name="Inspections" lazy="false" fetch="select" cascade="none" inverse="true"> ...

AES encryption problem in Debug and Release mode

Hello There, I am using AES encryption algorithm (Rijndael implementation). I am using MS Visual Studio 2008 IDE for my development work. I could see a strange problem in my Debug and Release mode. When I encrypt a string in Debug mode it generates different bytes than Release mode. But fortunately decrypting will result same string. I ...

Will Visual Studio 2003 and 2008 fail gracefully if I uninstall the MSDN library

I use google as my primary reference so I don't need a local copy of MSDN; and am trying to free up a few GB of disk space. Before I pull the plug I'd like to make sure that my fatfingering the F1 key won't end up freezing visual studio up for even longer than it does with MSDN installed. ...

How to dump only the first object address with !DumpHeap (.load sos)

I habe a few million objects hanging around in memory. I want to find the gcroots for them so I need an object address. !DumpHeap however dumps all objects which is taking longer than i had the patience to wait. How can i limit its output to only one object address? I am using Visual Studio 2008 btw. ...

Error in Visual Studio 2008 with SSRS 2005 report projects

Has anyone found a good workaound for opening or editing an SSRS 2005 report project with Visual Studio 2008 yet? Will the SQL server 2008 tools be the migration path for these report projects in the future? I really dont want to have to keep VS2005 installed forever just to update SSRS reports. After an upgrade to VS2008 an existing ...

UPdating dataset

Visual Studio 2003 C# SQL Server 2000 I have a dataset on my form. I have added some fields to the database table that this dataset uses, how do i update my dataset to show these extra fields? Thanks ...

How do I make WebDev clean up its tooltray "tracks"?

After I've shut down a VS 2008 web project, well, a lot of times, I see many instances of the WebDev icon in the "tooltray" / system notification area: These are no longer active instances; they were shut down by VS. When I mouse over any of these, Windows Vista "conveniently" collapses the tray for me. This makes life miserable if t...

How to resolve fatal error LNK1000: Internal error during IncrBuildImage?

I am trying to recompile solution file for memcached project on Windows 7 64 bit with Visual Studio 2008 and got the following error: 1>LINK : fatal error LNK1000: Internal error during IncrBuildImage 1> Version 9.00.21022.08 1> ExceptionCode = C0000005 1> ExceptionFlags = 00000000 1> ExceptionAddress = ...

How can I remove connections in Visual Studio "Copy Web Site" tool?

Visual Studio 2008 has a Copy Web Site tool that remembers previous FTP locations that files have been copied to. There is a "Connections" drop down where they are listed. I'd like to remove some old listings from that, but I can't find where they're stored. I've looked at the solution file, and there's nothing there. John ...

How to override the IIS virtual directory in an MSI install

I created an MSI to install a WCF web service. It's running fine, but when I run the MSI, it defaults to install as MyCompany.RCT.WCFWebServicesSetup instead of MyCompany.RCT.WCFWebServices. 1) I would prefer to force the name of the virtual directory, and not even let the user change it, or 2) I would at least like to provide the...

How to debug failure of a custom action in an MSI/Setup project

For a custom action, I'm setting to Name to XmlPreprocess.exe (a CodePlex utility) and arguments to: /x:"[SETTINGSFILE]" /i:"[TARGETDIR]web.config" /e:[ENVIRONMENTBUTTON] [CUSTOMSETTINGS] >[TARGETDIR]XmlPreProcess.log SETTINGSFILE is supposed to be coming from a custom form page I added, and ENVIRONMENTBUTTON is the value of one of my...

Solution file opens up precompiled code in Inetpub

Gentlemen: I have a folder that contains ASPX code and it's codebehind (C#) as well as a solution file. The compiled version of the application resides in the inetpub directory. Whenever I open the solution in Visual Studio, VS warns me that it is attempting to open a precompiled website and asks me if I want to continue. If I clic...

The project file has been moved renamed or not on your computer

I get this error when i try to load a VS 2008 project from TFS (Source control) The project file has been moved renamed or not on your computer After i click OK the project says "unavailable". What is the problem? how do i resolve this? i never had this problem before. Some blogs said to delete the .suo file. But i cant locate the .suo...

Visual Basic in VS2003/2008

Hi All, I have a VB6.0 application, created by someone in this company before me. Now I have to make some changes in it, is it possible to compile a VB6 project in VS2003 or VS2008?? If yes, then how? Do I need to do something special for that. If no, Can I install VB6 as seperate app on my machine where I have both VS2003 and VS2008 i...

Get my Event to show up in the Properties window

I am making a custom Listbox (for the compact framework). I have made an event (OnDrawItem). I would like to know how to get my custom event to show up in the event list in the properties window in Visual Studio. I am using C# and Visual Studio 2008. Here is an example of my class with the event: class OwnerDrawnListBox<T> : System....

GSL-GNU in Visual studio

I have visual studio 2008, I want to integrate GSL library in my project, kindly give me some guidelines so that I can make it possible. I have added the GSL library but the following error come. Error 1 error LNK2028: unresolved token (0A000010) "extern "C" void __cdecl gsl_matrix_set(struct gsl_matrix *,unsigned int,unsigned int,do...