visual-studio-2008

How to build solution using batchfile

Hi , I want to build .NET solution using batch file. I am aware that I need to use following statement devenv /build release "D:\Source Code\Source\test.sln" But I do not know how to create batch file which will execute on VS command prompt. ...

Build error in System.Double.cs, floating point constant range

I have a project in Visual Studio 2008 using the .NET 2.0 framework. When I build the project I get two build errors showing as red crosses, but the project still builds successfully. Even more strangely, the errors are in System.Double.cs. The error is "Floating-point constant is outside the range of type 'double'" and they point to the...

How can I test my .NET site on Firefox ? It loads in IE but when I open it in Firefox it doesnt load the CSS

Good day, I'm almost finished with my .net project implementation of a new design. But I'd like to try it with Firefox before releasing it. When I debug the project it creates an URL with "http://localhost/rest-of-url" and it opens IE and I can see the site. But when I copy this URL to Firefox it won't load the CSS at all. Is that a pro...

How to get common library to read App.config of current executable

I have a common library and two executables. Each executable refers to the common library for some functionality. I would like the common library to read from the app.config of the exe which is currently running. Is there specific API calls to do this? ...

Visual Studio - Is there a keyboard combination to select an entire line?

I already know about Control-L to delete an entire line...is there one to just select an entire line (which I can then copy and paste somewhere else...) ...

Rdlc subt report, with group, alternate row color not working

So i have an rldc, and a subreport which is just the same data grouped into region summaries. on the main report the classic alternate row coloring stuff works fine... it even has groups, with page breaks between groups and the rowcolor stuff is fine. but on the subreport with the group the colors seem to be semi random. Does anyone k...

While remote deubgging how are the pdb located (VS 2008)

When the deubgger is attached to a process on remote server - What locations are searched for the pdb? In what order? (e.g. is it searched on the remote server (debuggee) or on the local client (deubger)) When I use the deubgger to manually load pdb file from specific location - is the deubbger looking for the file locally or is it th...

Get an error when trying to set the build version with the AssemblyInfo Task

I've added the AssemblyInfo Task reference to my C# project file (VS2008 .NET 3.5), but when I build I get the following error The "AssemblyInfo" task failed unexpectedly. System.ArgumentException: version Parameter name: The specified string is not a valid version number at Microsoft.Build.Extras.Version.ParseVersion(St...

Updating the MSI for a Project in Visual Studio 2008.

In reference to the post below, where it says I should increase the version number for older versions to be replaced by newer ones. http://stackoverflow.com/questions/40603/msi-installer-fails-without-removing-a-previous-install What I find is, just changing the version number didn't do the job. I had to change the product code also, w...

Do I need the bin\debug\appName.vshost.exe and appName.vshost.manifest in my SVN code repository?

I am building an application which is based on a sample application, written in C# on .NET 2, and is built on VS2008. This application is mostly a wrapper for a COM application. However I compile it in .NET 3.5. The sample application came with the following files in it's bin\debug: appName.vshost.exe appName.vshost.exe.manifest ...

Multiple applications using shared DLLs

I have a few different applications that share some common DLLs. At the moment I am copying each DLL into the application root folder (for each application) and it all works fine. Obviously this isn't exactly the most efficient way as if I need to make a change in one, I need to redeploy this several times to all the different folders. ...

Visual Studio Styles?

Hey Now Everybody, Studio Styles 2010 ? What is the Best public URL view to Visual Studio Styles? ex: CurrentSettings-2010-04-29.vssettings Thx, Catto ...

visual-studio-2008 versioninfo for all files updated from one place

The version information, displayed when the mouse cursor hovers over the file in windows explorer, is set for a file built by visual studio in the VERSION resource. I would like to set the version in one place for all the files built by a solution, preferably when I change the version in the install properties. Is there a way to do thi...

.NET - Is there a way to programmatically fill all tables in a strongly-typed dataset?

Hello, all! I have a SQL Server database for which I have created a strongly-typed DataSet (using the DataSet Designer in Visual Studio 2008), so all the adapters and select commands and whatnot were created for me by the wizard. It's a small database with largely static data, so I would like to pull the contents of this DB in its en...

Conditional themes in Visual Studio 2008

Can I have different visual studio themes associated to different solutions? Here's my problem. I have two files with sames names that have almost identical contents from two different solutions, open simultaneously. Of course, I have the first solution open and the file from the second solution is opened from explorer and has no connec...

Does anyone know how to register VC++ Express 2008?

I recently reinstalled Visual C++ 2008 Express after a system crash, and now it wants me to register. But when I go to the registration page, all I get is information about registering VS Express 2010, which is not what I'm trying to do. Does anyone know if it's still possible to register VS Express 2008? ...

Printing labels with VS 2008 reporting services

I'm using VS 2008 reporting services to building page that will print barcode labels with some data fetched from the database. The labels are on a standard 8.5x11 sheet with 3 across and 10 down. The rdlc file only has the first row of 3 labels and depending on the data, many sheets can be printed. Everything works fine except one thin...

Should I be relying on WebTests for data validation?

I have a suite of web tests created for a web service. I use it for testing a particular input method that updates a SQL Database. The web service doesn't have a way to retrieve the data, that's not its purpose, only to update it. I have a validator that validates the response XML that the web service generates for each request. All ...

I'd like to preview a Word document on form.

Update2: For now, I'm considering saving a temporary copy of the document in html format to display it, but this kills my idea to show the user's real time affect on the document. It's just bad practice to re-save at every character input and reload the browser. So, I suppose this may just be impractical for now. I'll keep my ear to ...

Visual Studio Generating Code in Release mode

I am using Visual Studio to compile some C++ Code. When I compile my program in Debug mode it works perfectly, but when I try compiling it in Release mode, VS halts when Generating Code (ie: took 20 mins and still didn't finish). After I forced VS to stop the build process, the executable generated was huge 2MB while it should be about 3...