visual-studio

.NET Publishing files but allowing them to be edited?

I had media files require in the project so i did this + set built action to content Now here are my problems I would like my app to check for .NET and to check for other installs which is fine now that i made a prerequisite I would like to copy media files when i publish One of these files is a config file i like the user to edit P...

Visual Studio Add-in - How do I create an Installer?

I have made a Visual Studio Add-in as part of a project I'm working on using web services. When I created the new Add-in project in visual studio it generated all the code required and installed the blank add-in on my pc (I assume). Since this is a large project we are using svn to manage the code base and once I had done some of the w...

Share c# class source code between several projects

I have written a class that will handle internal logging in my application. Now I want to use this class in another new and totally separate project. I could simply copy the file to the new project folder, but I would like to only have one copy of it to maintain so that all changes in it will apply to both projects over time. I can use...

SSIS - Multiple Configurations

I have inherited a SSIS project. I have never worked with SSIS before, and the one thing that seems strange to me, is that there is no way to manage multiple configurations. For each SSIS package we have 3 delpoyment environments, DEV, UAT and PRODUCTION. At the moment I am having to edit the configuration for every package we deploy m...

How to create a VS2010 extension that uses Language Services

Creating extensions got much easier with Vs2010, but this seems not to be the case for everything... My aim: I wnat to make method calls and property uses of STATIC classes ITALIC. (Just like Eclipse and Java) I think I need to talk to the C# Language Service for this information, but searching for "Language Service" just yields result...

Quick find files in Visual Studio 2010

Is there a built in solution in VS 2010 to quick find/open files similar to the Ctrl-Shift-O function in Eclipse? Thanks, Cody edit: Does resharper offer this functionality? ...

upgrading from visual studio 2005 to visual studio 2008

I have upgraded one of my projects in c# from visual studio 2005 to visual studio 2008 and and generated DLL .But the size of DLL after upgadring visual studio is 6kb which was 16 kb before upgrade. Why the size has reduced?? Will this give any issue?? I have one more question what is the difference b/w bin and obj folders?? which giv...

What does the scalpel-shaped icon in the gutter in Visual Studio 2008 mean?

What does this icon mean? It doesn’t seem to have a tooltip, it doesn’t respond on right-click, and it doesn’t seem to want to disappear either. ...

Strange error message when closing WinForms App

We have an Windows Forms application which make use of some com components such as the web browser control and an API for a signature pad. When the application is closed, sometimes an error dialog is shown with the following text: "sw: myapp.exe - Error in Application" The text was like this: The instruction xyz caused an illegal acce...

is there a way to create an item template (t4) installer like the POCO generator?

Subject says it all. I want to modify the POCO generation adapter (at http://code.msdn.microsoft.com/EFPocoAdapter ) to generate my own code. I have the .tt adapters done, but I want to be able to distribute this to coworkers, so they right-click on the model, choose "Generate Code", and my t4 templates appear in the options along with...

Visual Studio 2010 Kinetic/Smooth Scrolling

Is there a plugin to VS.NET 2010 that implements kinetic scrolling like on the iPhone? Basically, I want the text editor in VS.NET to do kinetic/smooth scrolling. ...

Are there any plans to support edit-and-continue of XAML in future VS versions?

It would make life so much easier! ...

Why doesn't the AdditionalLibPaths parameter work in MSBuild?

I am trying to specify an additional folder to look for references when doing a command-line compile with MSBuild. The command line is as follows: msbuild C:\LUR.NET\LurReports.sln /t:Rebuild /p:AdditionalLibPaths=C:\Radio;TargetFrameworkVersion=v2.0 For whatever reasons, msbuild completely ignores the C:\Radio folde...

Does Microsoft make available the .obj files for its CRT versions to enable whole program optimization on CRT codepaths?

Given the potential performance improvements from LTCG (link time code generation, or whole program optimization), which requires the availability of .obj files, does Microsoft make available the .obj files for the various flavors of its MSVCRT releases? One would think this would be a good place for some potential gain. Not sure what th...

Visual Studio Missing Warnings

Anyone find where when you open a certain solution (that contains multiple projects) and compile that you're not seen some warnings that your colleagues see when compiling the exact same solution at the exact same state? The code is the same. I depend highly on the warnings as a shortcut to find unused methods, etc. But I get nothing ...

Good tools for using Git on windows

I've been using SVN for my projects and had visualSVN for VS integration. however the Git work flow is different from traditional source control systems (Checkout/edit/stage/commit as oppose to Checkout/edit/commit). I was wondering if there is a good VS addon to support that. Also any good advice on using git on a windows dev machine is...

How to stop debugging (or detach process) without stopping the process?

I often use VS 2008 to debug a .NET C# component of an application. Sometimes, I want to quit debugging and continue running the application. Stop Debugging kills the process I was debugging. How can I achieve my aim? This is not a web app, it's a local process that runs managed and unmanaged code. I found the "Detach All" optio...

Visual Studio Add-in - Close the add-in programmatically

I have a add-in that requires a login and I want the add-in to exit if the user closes the login dialog without logging in first. The problem is that I cant find any documentation on how to programmatically close the add-in. Any ideas? ...

POCO Build Problem

Hello, I'm trying to try the POCO library. I downloaded the zip file, and opened the vs solution file named "Net_vs90.sln" on VS 2008. When I try to build the solution, I get this ugly error: bla bla bla.... 1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'PocoFoundationd.lib' bla bla bla.... Linkin...

DLL response is too slow in Visual Studio [Resolved]

I use a 3rd party DLL in my VB.NET project (VS2005) that responds to slow and give wrong values in debug mode. In run-time mode everything works as expected. I do understand that there are something going on in the debug mode which makes the DLL communication slow. This behavior makes it hard to debug the application correctly. Is ther...