visual-studio

dont set project as startup project but run it .

In my solution there are like 8 different projects,most of the times the startup project is project A but some times I need to run other projects to check things and to do that I must set other project as the startup project every time I wanna know if there is any other way to run a project in the solution without setting it as the star...

script sharp gadgets in 0.5.5.0

Hi, I just created a new project with Script Sharp 0.5.5.0 VS2010 template for the sidebar and it did not even compile. It fails saying Application.Current.Run is not valid anymore. (Method Run doesn't exists) What would be the recommended solution? ...

How to copy a disorganized Visual Studio solution?

Hey. I've a very large C# solution, with many projects that are messy in many locations in my computer. I want to send the solution to a friend. Is there any tool to copy the solution to a new directory, with all the projects in it, cleaned and organized? Thanks. ...

Visual Studio 2008 WPF Project error "project type is not supported"

I'm running Windows 7 x64 with Visual Studio 2008 (SP1). Yesterday I came across an issue when creating WPF projects. I don't know if I've created any other WPF projects since I installed Win7. First of all, in the Create Project dialog, the project type says "csWPFApplication" which is weird enough and I never noticed before. When I...

Estimate the memory usage in .NET (VS)

Hello. I read an article about the performance of the string methods "a" + b versus string.Format("a{1}", b) and decided to make a test. There is my code in a WinForms application(VS 2005, but interested in both 2005/2008). private void button1_Click(object sender, EventArgs e) { Stopwatch stopwatch = new Stopwatch(); ...

Purchasing an Obfuscator?

Why should I pay for an obfuscator if Visual Studio ships with a free version (Dotfuscator Community Edition)? ...

Execution Path Specific Breakpoint

I would like Visual Studio debugger to break within a function only when the call is from a specific sequence of callers. Is there a way to set such a breakpoint? Or perhaps some alternative hack? I ask this in the context of native (C++) as well as managed (C#) code. ...

Project Explorer Windows keeps losing focus when not pinned

This not related to code, but the editor itself. It didnt seem to fit on super-user so I am trying it here. I have Visual Studio 2008 running on Win 7. I usually undock all my windows for maximum real-estate on screen and I have noticed an annoying behaviour which I cant track down. If I have the project explorer window set to "swing-o...

GAC Assembly Missing in Add Reference dialog

I have an Interop assembly lying in GAC; Windows Explorer clearly shows it listed in the C:\WINDOWS\assembly folder. Yet, when I try to add a reference to it in from Visual Studio, I can't see it anywhere in the Add Reference dialog. If this is happened to you too, what is the reason for this? And how do I fix this? (The assembly is ac...

Application in ASP.NET MVC 2 Beta running on IIS 7.5

Hi, i have problems runnning an mvc2beta application in iis 7.5. WebServer: Windows Server 2008 R2 (x64) Application: MVC 2 Beta (developted in Visual Studio 2010 Beta) On IIS i added a new application beneath the Default Web Site and the new application has Application Pool ASP.NET V4.0 If i runn application within Visual Studio ev...

Symbol related problems

Can someone tell me what exactly happens when I right click a function name and click on 'Go to Definition'? The reason why I am asking this is because I created a new function in my project, and while performing the aforementioned operation I get a message that the symbol was found found. Any ideas how I can fix this? ...

Project organizing in Visual Studio

Hi guys. I'm going to cut my project into few parts in one solution. The main part will be console-window and another one should be static-lib. The problem is linking dependencies into static-lib projects. For example, I have a scheme below: Project lib 1 -> TinyXml / Main project \ ...

Does Visual Studio have an option to generate html documentation for Javadoc-style comments?

Does Visual Studio have an option to generate html documentation for Javadoc-style comments? If so, what steps are necessary to accomplish this? In BlueJ there is an option to translate Javadoc-style comments into an html file. Like the following picture shows for Java using BlueJ I want to do the same with Visual Studio : ...

Speeding up deploy operation in Visual Studio

Hello everyone! I'm building an application for windows mobile devices, which deals with a database composed of approximately 1500 files. However, the size of each file is under 50kB, and the overall size is under 15MB. When Visual Studio deploys the app to a mobile device, it takes from 25 to 30 minutes. I was wondering whether there ...

Set default program to open special file extension in vs.net

Hi, I want to set special program to open my template item in visual studio and deploying this to other VS.net. when you add new crystal report in your project it open with crystal report editor by default (right-click on rpt file and select open with option) I want to set my program to open file with special extension in vs.net (my exte...

Create a Integrated Editor For Visual Studio

How can I create an integrated file editor in Visual Studio like as Crystal Reports Editor or RDLC Report Editor more information: as you might be work with crystal report, when you click on your crystal report file "rpt file" in your solution bar , it'll open in an integrated report editor called "crystal report editor" inside vs.net l...

Is there a crystal reports API in visual studio that I can use to manipulate rpt files using a macro?

I'd like to programmatically manipulate my rpt files using a macro or add-in within Visual Studio 2005. What I want to achieve is the ability to automate updating the custom functions in my reports, since there seems no way to have a single copy of the functions shared between reports. So I'd like to have a macro to: Read the functio...

Lines that debugger visited

Do you know some plug-in to visual studio , that can remember lines and the order in which they where visited in the debug mode ? And I will be able to compare two different runs of the debugger in it ? Something like the stack in the debugger, but remembers all the data in line file and the order and can be viewed later and compared...

Visual Studio 2008 hangs when running Azure projects

My ASP MVC Web project runs and debugs without any issues in VS2008SP1 (.NET 3.5 SP1). However when I run the Azure project that refers to the same Web project as a Web Role, although it runs without issues, I can't go back to Visual Studio when I'm done. It seems as if VS is waiting for a modal form to close (I get the "bing" sound in...

Visual Studio: Run C++ project Post-Build Event even if project is up-to-date

In Visual Studio (2008) is it possible to force the Post-Build Event for a C++ project to run even if the project is up-to-date? Specifically, I have a project which builds a COM in-process server DLL. The project has a post-build step which runs "regsvr32.exe $(TargetPath)". This runs fine on a "Rebuild", but runs on a "Build" only if ...