I usually work on multi-project solutions in visual studio.
Since the solutions themselves are not stored in the repository, I spend some time adding in the various projects via visual studio(from a list which is part of the 'parent' project).
I am wondering if I can acommplish this via a script.
ie: 1. create a solution. 2 add project...
Hi ,
I am dealing with code legacy and in UI i can find some id's of my objects which are used at run time.
Those id's could help me to find more quickly the portion of code with which i am dealing for that requirement,but i do not know if it is possible to do in debug mode from Visual Studio 2010 (C++ and C#) a search after a value...
Which parts of the Visual Studio IDE (if any) are open source? Thanks!
...
OK, so I feel dumb for asking this... but I am stumped.
I can't seem to create a project/unit for using the ADO.NET Entity Framework.
I looked for a project type that looked like it would match, but no go (closest I could find was ASP.NET Dynamic Data Entities Web Application).
I also tried to just add a unit (like you do for Linq-to...
Hi everyone,
Every time I build my .NET application with Visual Studio, I got a appname.vchost.exe file along with my appname.exe file. This file doesn't exist when I build with command line commands. So,
What is this *.vchost.exe file for?
Could someone explain its working mechanism in detail?
Thanks.
...
Hi,
I am using visual studio 2010. I have set a breakpoint and added a watch on a complex object with very deep hierarchy. I was wondering if there was any quick way to search this object tree for a particular string I want. Either as a property/value/method etc. In other words, I just want to say "Does this object have anything like "F...
Hello,
I want to use the web.config transformation that works fine for publish also for debugging.
When i publish a web app, visual studio automatically transforms the web.config based on my currenc build configuration.
How can i tell visual studio to do the same when i start debugging.
On debug start it simply uses the default web.conf...
I'm developing an app that uses this as a database Provider. My connection string starts with "Provider=Microsoft.ACE.OLEDB.12.0;". I doubt the customer will have it installed so I can either tell him to download it (which I prefer to avoid) or make my installer download it for him. So I'm wondering if there is a way to make a ClickOnce ...
I wanted to set breakpoint in the dll code so I introduced the statement "_asm int 3;". IE is supposed to open a dialog box saying that an unexpected exception has occured, and whether to close or debug. But it simply cuts down the window. The dll is a _Debug version not _Release version.
Another thing I noticed is that using the "debug...
Which Visual Studio \ Visual C++ file types should be committed to version control?
In my project I have the following file types:
aps
cpp
exe
filters
h
ico
idb
ipch
lastbuildstate
lib
log
manifest
obj
pch
pdb
rc
rc2
res
sdf
sln
tlog
txt
user
vcxproj
I would greatly appreciate a short reasoning for each. If any of them are controversi...
I have a setup project in VS 2005.
In the UI section I put some texboxes with some variables, that the user should fill-in when installing the application.
How can I use this [VARIABLES] in the fields like shourtcuts descriptions?
...
Title says it all, I've got a long-running macro, in which I write periodic messages to Output just so that the user know somethings happening. The problem is that the output doesn't get shown until the macro has finished (unless you have the Continue Waiting? dialog box open, strangely enough).
Is there anyway to 'flush' the event queu...
hi i want to create an application that logs these items:
windows turn on, turn off time
log in, log out time
hibernate time
restart time
in windows 7 'Admin event viewer' log most of above item
but in windows xp there is not a clear log.
in addition, the user can change event setting
how i can do this with fully trust.
Thank yo...
I just imported new fonts and colors for Visual Studio 2008. I want to change the color on the ref keyword on a parameter to stand out a little more. Anyone know what option that is in the Display Items under Fonts and Colors?
...
Is there an easy way to reformat an XML file while viewing it Visual Studio 2010. For example, if you open a generated app.config file, it might look like:
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
This is difficult to read, is there a w...
If I have a field, I can generate a corresponding property by right clicking on the field -> Refactor -> Encapsulate Field.
Is there a way to acheieve the opposite?
I have properties like
public int Foo {get; set;}
I want to generate private fields and change the getter and setter to use the field. Then I can implement INotifyProper...
Hi all!
I'm using Microsoft Visual C++ 6.0 and Microsoft Visual Studio 2008 to develop an academic computer vision project.
In this project i need to use OpenCV 1.1 (http://opencv.willowgarage.com/) and CvBlob (http://code.google.com/p/cvblob/).
I tried to compile this project with Microsoft Visual Studio 2008 and it compiles without...
I hope for using any predefined macro like _MSC_BUILD (from vs2008) because I want to use revision number of compiler.
but i can't find that in vs2005.
thank you for your help.
...
I made an installer fro project/item templates in VS2010 to put the templates in the user's Templates folder. Is this an OK way of doing things? Or is there a way to deploy templates for all users? If so - where should I put them? Thanks.
...
Hi
I need to make some translations of external application forms (I try to add a new language support). I have only form's resx files.
Can you recommend any simple tool which allows me to translate form's texts (only texts if it's possible)?
...