visual-studio

Using (Ankh) SVN to make two files the same across branches

Unfortunately, I'm not entirely clear on how SVN works... I have a trunk for my main Visual Studio C# solution, and a branch, for work in development. Now and again, something needs to be changed in both, so that the code is identical. I've had a look at the Merge wizard, but it doesn't seem to describe this issue. It seems to allow me ...

How can I force Visual Studio to reference an assembly without using its version?

I have a VC++ project and I need to add a reference to a managed dll. This dll has a version number which changes every build. When I add it to my project, its version is saved and if I replace it with another one (with a different version number) the project cannot compile because it doesn't find the dll with the version previously save...

OpenGL application not picking up 64bit Mesa OpenGL32.dll

I'm trying to get a 64bit OpenGL application running with MESA compiled in 64 bit. When compiling both in 32bit it works perfect putting the opengl32.dll and talloc.dll in the same directory as the executable, however, in 64bit the mesa opengl32.dll driver seems to simply pass on the my hardware driver. If I change the opengl32.dll to a...

Why do I get this error : "Domain operations cannot be started at design time?"

Hi, I have created a silver light user control and I want to test it in a new View (MyTest.xaml). I can see my user control in the toolbox. But when I drag and drop it to the design area in I get this error: Cannot create an instance of ctlMyControl. Domain operations cannot be started at design time. Basically, it is a control with ...

LINK : fatal error LNK1104: cannot open file 'D:\...\MyProj.exe'

Using Visual Studio 2010, when I build + run my application in short intervals I often get the following error. If I just wait a minute or two and try again it works fine. Unlocker claims no handle is locking the executable file. How can I discover what's locking it? If it's Visual Studio itself, what should I do to make it stop? or alte...

executing multiple SQL scripts encoded in UTF-8

Hi, I use Visual Studio 2008 database project for managing my database scripts and version control. by default visual studio script templates are encoded in UTF-8 format. when I try to concatenate the scripts for database release (using the DOS command "type *.sql > dbscripts.sql") and run the concatenated script from SQL server manageme...

Is it possible to hook the copy and paste of Windows Phone Designer and change its behavior ?

I like the windows phone 7 designer but the copy and paste of textbox is irritating. It just keep paste the textbox at the very top. It would be much more productive that it paste below the previous textbox. So would it be possible to change this behavior by hooking this with some IDE API ? ...

SSIS adding an existed pacakge actually added an identical copy

I try to add an existed package to a SSIS project using Visual Studio. But it turns out the tool copies the package to a new package and name it as original name plus an incremented number first and then attach the package to the project. I know I miss some settings. But I could not find out what prevents the original package from att...

proper way to load resource file in VS 2008

Hi there, I have to load some binary resource files in C++ with Visual Studio 2008. But I haven't found a proper way to do with it. It seems that I can't add files with unknown file type directly into the project resource directory and read it. I could only read the file by opening it with the absolute location such as "c://...//...//fi...

missing shockwave flash com from visual studio

I am trying to follow the instructions here: http://code.google.com/apis/maps/articles/flashmapinwpf.html I am at the part where I need to add a reference to the Shockwave Flash Player assembly. I am not finding it in my com tab when I try to add it as a reference. I have tried downloading the most up to date flash player from adobe.com...

How to stop text wrap when exporting a report viewer (SSRS) to Excel ?

When exporting to Excel a report created by report viewer in Visual Studio, the cells which have Cangrow set to false, wrap their long text into several lines. This seems to happen in VS 2005, 2008 & 2010. In Excel the checkbox for textwrap is checked. Is there a way to expand the cells horizontally and have text wrap turned off when ex...

Difficulty debugging WCF Service in Visual Studio

I think I'm having an issue where, if I set breakpoints in a ASP Azure project, the page just freezes without letting me step around in Visual Studio 2010. I'm not sure if I have a bug, or if I'm doing something wrong. I have a Silverlight 4 app that consumes a WCF service made available from an Azure project. If I start up VS, build, a...

SubSonic 3 Visual Studio Add-in

I'm look for a subsonic 3.0 Add-in tools for visual studio like what was provided for Subsonic 2. Any alternative tools. I find using the T4 templates annoying. thanks. ...

Why doesn't MS apply the ribbon UI to Visual Studio?

We have seen that office has the ribbon UI since 2007. Now is 2010 and we all feel the great productivity the ribbon has brought to us. My question is why Visual Studio, now 2010, still not use the ribbon? What do you think? Please share. ...

Oracle Database with SSRS reports

Using SSRS with Oracle DB is not orthodox, but still i am forced to use it. So, while i am working on my reports, if another collegue of mine tries to do a query on the same database, an error occurs, on the TNS Listener. When i check the number of sessions active or inactive, they are in the limit secified. After i close and reopen the ...

Can Visual Studio Code Editor be used for TeX editor (for example)?

I like Visual Studio Code Editor such as, #region, collapsing, etc. Is it possible to use it to edit and compile TeX? Thank you. ...

Why doesn't the assembly seem consistent to me?

Dumped from visual studio: CheckPointer(pReceivePin,E_POINTER); 017D616D cmp dword ptr [ebp+0Ch],0 017D6171 jne CBasePin::Connect+4Dh (17D617Dh) 017D6173 mov eax,80004003h 017D6178 jmp CBasePin::Connect+1A7h (17D62D7h) But the actual definition is: #define CheckPointer(p,ret) {if((p)==NULL)...

how to work on a project with visual studio and eclipse

we are currently starting a project involving people on windows and linux and using SVN. The problem is that people who want to use Visual Studio (2010 for most of them) have problem with the folder structure and the syncing of there project. they've got ankhsvn (http://ankhsvn.open.collab.net/), they are mapping the project to real fo...

How to disable VS2010 script debugging

How does one disable script debugging with Visual Studio 2010? For VS2008 I used: reg add HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\AD7Metrics\Engine{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {4FF9DEF4-8922-4D02-9379-3FFA64D1D639} /f Thanks! EDIT Used Shoban's answer. You have to have the Silverlight Developer ...

How to run unit tests (MSTest) in parallel ?

I am looking for ways to run test suites in parallel. I am aware of .testrunconfig setting. This allows you to multiplex on the number of CPUs. I want to run 1000 tests in parallel. This makes sense because I am testing a web service, so 90% of the time spent in a test is waiting for the service to respond. Any ideeas on how to p...