visual-studio-2008

Can anyone suggest a good book for learning C# 3 and Visual Studio 2008?

Can anyone suggest a good book for learning C# 3 and Visual Studio 2008? ...

Directory security locked down on Visual Studio 2008 publish

I have an ASP.NET 3.5 Web App, built in Visual Studio 2008. When I go to publish, all it says at the bottom is "Publish Failed.". When I go to the directory, both the App_Data and bin folders have had their security altered, and all of the security groups removed. In order to destroy the folders, the serverops team needs to reboot the se...

How does Entity Framework work with recursive hierarchies? Include() seems not to work with it.

I have an Item. Item has a Category. Category has ID, Name, Parent and Children. Parent and Children are categories also. When I do a linq to entities query for a specific Item, it doesn't return the related Category, unless I use the Include("Category") method. But it doesn't bring the full category, with its parent and children. I co...

Missing Properties option in VS 2008

Hi, in trying to fix a different problem in VS 2008 I've been instructed to go to the 'web' tab which is found by right clicking on the project in the solution explorer and going to 'properties'. However, when I right click on what I believe to be the project in the solutions explorer there is no 'properties' option available. Instead ...

Visual Studio 2008 sp1 vc++ project works in 32 bit mode, but not 64 bit

I have a project that runs perfectly well under windows 7, x86 installation. On the same machine, but in a different drive, I've installed windows 7, x64, and visual studio 2008 sp1 on both. The project compiles and runs under win32. When I try to compile the project under x64, I get nothing, and everything gets 'skipped'. Furthermor...

C# Making a delegate available to a class

I would like to make a delegate available to an entire class. The point of this is to allow a called method from an external class' backgroundWorker to continually report back through all of it's methods (ExternalClass.Run(); calls ExternalClass.Method2(); ExternalClass.Method3(); etc and they all need to send several progress reports. I...

In VS2008, for FTP Publishing of a website, is there a way to save FTP Logon password?

I like the Visual Studio 2008 IDE integrated (not command line) feature to choose to publish an ASP.NET website to my webserver via FTP. I'm able to store my FTP username but I don't see any option to store my FTP password and so I must type it in each time I publish. Is there an equivalent to the "Remember password" functionality foun...

Vb.net Visual Studio 2008 log4net multiple modules, same app.config different loggers, dont work

I have 2 console apps projects in the same directory but different projects. There is some common code in the App_Code directory and a common app.config which gets build into seperate .exe.config files. One module (VScanDemonStarter) starts up and writes to one logger with its own appender going to a seperate file. It uses an process.s...

Macro expansion in Visual Studio macro or add in

I have a VS project with an IntermediateDirectory like this: "....\temp\$(SolutionName)\$(ProjectName)". I can read this value using a macro or add in, however, I would need the actual directory to manipulate files there. Right now, I manually replace the "$(SolutionName)" and "$(ProjectName)" with the respective values, which works fin...

Visual Studio 2008 on Windows 7 hangs (is not responding) when opening web.config file

Dear Group, I have just completed moving my C# ASP.NET web application from Visual Studio 2008 running on Windows XP to Visual Studio 2008 running on Windows 7. I have noticed when I open my web application in Visual Studio 2008 and double-click on the web.config file to edit the file, that Visual Studio 2008 hangs (is not responding)....

Why does Visual Studio hog my other programs' hot keys?

I have found, consistently, that if I use something like Switcher (highly recommended), or Toastify (both are programs that rely on the use of global hot keys to work) that when Visual Studio 2008 has focus none of the hot keys for the other applications work. Does anyone know why this might be and how to fix it? ...

T4 template error

The error is: Error 48 A processor named 'PropertyProcessor' could not be found for the directive named 'property'. The transformation will not be run. The following Exception was thrown: System.IO.FileNotFoundException: Failed to resolve type for directive processor PropertyProcessor. at Microsoft.VisualStudio.TextTemplating.VSHo...

BUG on boost spirit?

I'm trying to migrate my code from VSC++ 6 to VSC++ 2008 express edition and from Intel compiler to Microsoft compiler. Everything were easy to migrate except that I'm receiving this errors now: 1>------ Build started: Project: Base, Configuration: Debug Win32 ------ 1>Compiling... 1>DefaultScriptReader.cpp 1>Warning: This header is dep...

MSBuild delete process

I'm working on ironing out some problems with MSBuild on a large project. As part of a custom build target in our MSBuild setup we insert the .PDB files into Symbol Storeafter the build is successful. This works fine. However when we delete the old builds we also have to delete the .PDB files from Symbol Store, which requires a transacti...

How do I Install Multiple Versions of MyProgram (same PC, VS2008)?

I have a big MDI Suite application that I've written for our company. It is installed on two Citrix servers, and is then accessed by hundreds of Windows terminals across the plant. Before installing updates, I (the sole developer) test my new routines until I am satisfied that it is going to perform how I expect it to. This generally wo...

How do I persuade VS2008 to run .tt template files?

Following the words-of-one-syllable walkthrough should get my demo app working, right? But I fell down twice so far and I'm only up to step 4 in the 5 step process :( 1 Create a new project in Visual Studio 2008 Done that, yayy! 2 Add a connection string to your Web/App.config, give it a name, and point it to a valid database Done ...

Team Foundation Server 2008 Build Server Code Analysis

I'm having trouble getting Code Analysis to run on the build server. My goal is that on checkin the build server will build and run code analysis automatically. For some rules I would like the build to fail. I know how to use the team explorer to set which rules cause a fail. I don't want the developer to have to run code analysis to...

What order to install software on a developer rig?

Hi all, I'm new to the development world, I am gradually teaching myself programming after 15 years as an ITPro. It's been a while since I worked with devs in a day to day setting and had to support them, so here is my question. What order do I install things on a new developer workstation, how much of this matters? this is a brand ne...

Hide Gridview

i have a Gridview that has filters that can fire off the emptydata template. However when this is displayed I can still see the outline of my gridview. How can I make the Gridview disappear when the data is not present? ...

"Configuration system failed to initialize" when accessing settings.settings

Ever since deleting the original settings.settings file I have had endless problems getting the settings to function. I receive the "Configuration system failed to initialize" error on the get or set methods. Any ideas? thanks. public static Settings Default { get { return defaultInstance; } } [g...