visual-studio

Convert Doxygen to XML comments

We have a C# project which for historical reasons uses both Doxygen and Visual Studio style comments in the same code. Has anyone tried to systematically translate one standard to another, preferably to the common XML subset? I guess it would not be too difficult to write a script to cover the most common features, but I would not like...

Visual Studio 2008 Professional with MSDN Professional to Visual Studio 2010

With Visual Studio 2010 right around the corner, what does Visual Studio 2008 Professional with MSDN Professional upgrade to in Visual Studio 2010? Do I get 2010 for free, if I buy this flavor of 2008 now? ...

How to integrate conditional logic in postbuild events

Hi I have a visual studio project which includes postbuildevents in the following form: MyTool.exe $(ProjectDir)somesrcfile.txt $(TargetDir)sometargetfile.bin Now I want to add some logic saying that these steps are taking place only if the files have changed. In peudocode: if (somesrcfile.txt is newer than sometargetfile.bin) { My...

i don't solve "must declare a body because it is not marked abstract, extern, or partial" problem?

How can i solve "must declare a body because it is not marked abstract, extern, or partial". This problem. Can you show me some advices? Full Error message is about Save, Update, Delete, Select events... Full message sample : GenoTip.DAL._AccessorForSQL.Save(string, System.Collections.Specialized.ListDictionary, System.Data.CommandTyp...

How to call base abstract or interface from DAL into BLL?

How can i access abstract class in BLL ? i shouldn't see GenAccessor in BLL it must be private class GenAccessor . i should access Save method over _AccessorForSQL. ok? MY BLL cs: public class AccessorForSQL: GenoTip.DAL._AccessorForSQL { public bool Save(string Name, string SurName, string Adress) { ...

IntelliSense not finding methods

I'm working in Asp.net and IntelliSense isn't finding the methods in app code. It executes the code well without any issue at run time, but I'm not able to see the method names while coding. Any idea how to fix this? Thanks in advance ...

Find unused classes in a .net project

I have a VS.NET 2008 project. Is it possible to check for classes that are not used anywere in the project? With FXcop I can find unused variables and unused code, but not unused classes. ...

SQL Server Reporting Services - output subreports to individual files

Hi, I have a parent report that generates a series of subreports. After clicking the preview button, I can see the final report built with the actual data, and I may print it or save it to file. File may be a MS Word doc, a PDF or others. Perfect. I can do that individually to each report I need. My problem: I have a base report that wil...

Have anyone succeeded in ThinApp'ing Visual Studio?

The purpose is to have a USB flash to have a developer seat everywhere. The idea is to use application virtualization to package Visual Studio. However, AFAIK, there are big problems. Have anyone succeeded in packaging Visual Studio (2010, 2008) using ThinApp, App-V, ... P.S. I'm aware of google. ...

Graphical representation of an app using Visual Studio 2008 Professional edition.

Is there a way in Visual Studio 2008 Professional edition to create a graphical representation of an application? What I am looking for is a flowchart or other design graph that shows each program in the app and how they relate to other programs and files in the app. I can create one using Visio, but wanted to know if there is somethin...

VS2008 intellisense performance issue with large number of partial static classes

My question is a follow-up to the issue posted here regarding the Intellisense performance issue when building a large solution in VS2008 that has many partial static classes. Since Microsoft does not seem to be addressing the issue for VS2008, I would like to know if there are other ways around the problem? Waiting for VS2010 is not ...

smart device cab project with visual studio: inserting of registry value

hi, i have created a cab file using visual studio smart device cab project. i've managed to generate a cab file and install onto a mobile phone successfully. for my installation, it will also insert into registry. however, for this it is not working. the registry value is suppose to be like this including the double quote: "\Program Fi...

Spaces and backslashes in Visual Studio build events

I have an application that is supposed to aid my project in terms of pre- and post-build event handling. I'm using ndesk.options for command line argument parsing. Which gave me weird results when my project path contains spaces. I thought this was the fault of ndesk.options but I guess my own application is to blame. I call my applicati...

Custom web.config in Visual Studio Setup Project

Hi, In the Setup Project I have 2 web.config files: web.config - used during the development and web_dist.config - the one that should be included into Setup Project. I must be sure the the Setup project will NOT include the web.config and will always include web_dist.config. In the File System -> Web Application Folder I have added t...

How do I make Visual Studio automatically stop compiling after 1 (or n) errors?

For example, a missing semi-colon in C++ can result in hundreds of errors. Is there a way to stop compiling when the first error is hit? Update: apologies, just realized this was a duplicate of http://stackoverflow.com/questions/134796/how-to-automatically-stop-visual-c-build-at-first-compile-error ...

Unable to open code behind file in Visual Studio

In an ASP.NET web application using C#, when we double click on design it will go to code behind page (cs file), but problem here is, when we double click on design its going to script of source file. Why it is happening? ...

How can I build Addons to visual studio(ankh)

Hi, I daily make a few commits and publish my webservice and I daily make a few mistakes with this, because I forget about doing update. Is there any way to get mesaage box with question "Did you update changes ?). This message bo could arrise while I'm click publish or commit. I use vs 2008, tortoise, and ankh svn. ...

Restart system in the deplyment of visual studio 2008

I there any option to restart in the visual studio when my product install? ...

Windows SDK for Windows 7 and .net framework 3.5 installation

I have Visual Studio 2005 Pro and VS 2008 Pro installed. I think the VS 2008 installation gives me the MS Windows SDK for VS 2008 headers and libraries.Do i need to install Windows SDK for Windows 7 and .net framework 3.5? I have a version 5.0,6.0A already in C:\Program Files\Microsoft SDKs\Windows ...

Why is my Platform environment variable defined as 'BNB'?

Hi, Something, maybe the windows sdk or visual studio installer, has defined the Platform environment variable and given it the value BNB. What does BNB mean, and why is Platform set to BNB? Thanks. I've seen this, but it doesn't answer my question: http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/1d229d75-aa89-42bf-80...