visual-studio-2008

Is visual studio 2008 compatible with windows 7 Home Basic/Premium?

Can I install Visual studio 2008 with sp1 on Windows 7 Home Basic/Premium? I want also install silverlight tools and RIA services on window 7? ...

How can i add text field listdictionary elements.

How can i write text field via ",". i try to write rext script with ListDictionary: ld parameters: a,b,c,d i need : Text=a,b,c,d void InsertDataToSql(ListDictionary ld, string TableName) { string Text = "insert into ENG_" + TableName + " VALUES("; string AddText = String.Join(ld, ', '); ...

Are there any good version control programs for a Windows box that do not have to be installed?

On my work machine, I do not have the permissions to install anything, and astoundingly, there are not any version control software packages set up. I am using VS2008, and was hoping to work around depending on SourceSafe. I've talked to the network admin, and all I could get was "We don't have any version control set up." Are there any ...

Visual Studio: How do I get a list of files in a project affected by a given changeset?

Given a changeset number of Visual Studio Team Foundation System 2008, is there an easy way to find out which files in my project/solution were edited in the changeset? ...

Is there a placeholder for classname in Visual Studio 2008?

I'm creating a snippet and I need the current class name to be replaced automatically instead of typing it. Right now it's: using Danel.Nursing.Scheduling.Actions.DataServices.Interfaces; public class $NAME$DataService : AbstractDataService<$NAME$>, I$NAME$DataService { public $NAME$DataService(IRepository<$NAME$> ...

VSC++, virtual method at bad adress, curious bug

Hello, This guy: virtual phTreeClass* GetTreeClass() const { return (phTreeClass*)m_entity_class; } When called, crashed the program with an access violation, even after a full recompile. All member functions and virtual member functions had correct memory adresses (I hovered mouse over the methods in debug mode), but this function h...

Storing SQL Tables for use in visual studio

Greetings. I'm trying to create a windows form application that manipulates data from several tables stored on a SQL server. 1) What's the best way to store the data locally, while the application is running? I had a previous program that only modified one table, and that was set up to use a datagridview. However, as I don't necessari...

Correcting CS0009 Error When Creating Integration Services Project

Tried to open an SSIS project I had been working on today and received this lovely error: Unable to generate temporary class (result=1) error CS0009: Metadata file 'c:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0_b77a5c561934e089\System.XML.dll' could not be opened -- 'No metadata was found.' Anyone know why this happens and how to cor...

How do I correlate build configurations in dependant vcproj files with different names?

I have a solution file that requires a third party library (open source). The containing solution uses the typical configuration names of "Debug" and "release". The 3rd party one has debug and release configs for both DLL and static libs - their names are not "Debug" and "Release". How do I tell the solution to build the dependency fi...

Is possible to generate constant value during compilation?

I would like my classes to be identified each type by an unique hash code. But I don't want these hashed to be generated every time a method, eg. int GetHashCode(), is invoked during runtime. I'd like to use already generated constants and I was hoping there is a way to make the compiler do some come computing and set these constants. Ca...

Configuring subversion for visual studio

I have Visual studio 2008 running on windows-7(x86). I have installed subversion (server+client), tortoise svn and ankhsvn on my system. I could add my solution to subversion's repository using the url: File://c:/svn_repository/ But when I try "svn://localhost" I do not see any repository on my system. My friend who is on the same LAN ...

strange results with /fp:fast

We have some code that looks like this: inline int calc_something(double x) { if (x > 0.0) { // do something return 1; } else { // do something else return 0; } } Unfortunately, when using the flag /fp:fast, we get calc_something(0)==1 so we are clearly taking the wrong code path. This only happens when we use th...

Problem with Command Pattern under Visual Studio 2008 (C++)

Dear All, I've a problem with this pattern under c++ on VS 2008. The same code has been tested in gcc (linux, mac and mingw for widnows) and it works. I copy/paste the code here: class MyCommand { public: virtual void execute() = 0; virtual ~MyCommand () {}; }; class MyOperation { public: virtual void DoIt() {}; //I also...

Moving web service references to other folder

Is it possible to have web service references in other folders than "Service References" without loosing IDE features? I want to have ExternalWebService1 in a folder like ExternalSystem1\WebServices ...

To Search Only title tag for &raquo; using visual studio 2008

i need to update only title tag of my website having around 3000 web pages. i have to replace with Dash if it is present only in title tag. Please help if there is any way in visual studio 2008 to find a Standard HTML (DOM) Tag. i've done this using dreamweaver Advance text search. but on development machine, only visual studio 2008 is ...

I'm having an issue unit testing with a project in Visual Studio Team System 2008

I there, I have completed my project and I'm doing a university subject that involves unit testing. When I right click on my function, it only shows up an options to create a unit test when my CLR support setting is set to safe. Problem is my project will not compile with this setting on?...it needs to be set to pure. How can I work ar...

Visual Studio 2008 closes unexpectedly

I don't know if I can really get an answer to this question, but it really irks me and I would like to know if someone has an idea how to arrive to an answer. I have a pretty large solution in VS 2008 that maybe every week/every other week whenever I click properties to get to the project properties the IDE closes without warning. Afte...

How do you find all the files added to a visual studio project and checked in to TFS from a point in time?

How do you get a list of all new files added to a visual studio project and checked in to TFS? I've tried using TFS sidekicks and view history, but they only show changesets which you have to open up to see the details. I'm simply after a list of new files in a particular branch. Thanks ...

Creating new TFS 2010 project with VS 2008

Is it true that there's no way for Visual Studio 2008 to create a new project on Team Foundation Server 2010? I've managed to make VS2008 connect to my TFS2010 server (the team explorer + sp1 + forward compatibility thing), and yeap, I can see my TFS2010 collections from the VS2008 UI itself. Problem is, I can't seem to find a way to c...

Profiling help required

I have a profiling issue - imagine I have the following code... void main() { well_written_function(); badly_written_function(); } void well_written_function() { for (a small number) { highly_optimised_subroutine(); } } void badly_written_function() { for (a wastefully and unnecessarily large number) ...