Tuesday, May 13, 2014

Synchronize Class View in Visual Studio 2010

1. Tools->Options->Environment->Keyboard and
2. bound Ctrl+Shift+C to View.SynchronizeClassView in Text Editor view. 

http://stackoverflow.com/questions/546113/visual-studio-automatically-refresh-class-view-when-changing-class

Monday, May 12, 2014

Todo in Visual Studio 2010

1. Resharper>Tools>To-do Items list all todo items
2. Reshaper>Options set what to show in todo items

for me I create //MyTodo:...

3. To view only MyTodo: Using (1), in the filter choose MyTodo



Wednesday, May 7, 2014

Running 32 bit DLL on 64 bit Machine on Visual Studio

Solution:
1. Right click the Solution>Configuration Manager

2. In the Active solution platform, Choose <New>, under Copy Settings from, choose x86, click ok.
(ALL projects need to be compile under X86)

3. Make sure Build for all projects are checked.

P/S: If you have the problem on Visual Studio 2010 during compilation: Could not load file or assembly … or one of its dependencies. An attempt was made to load a program with an incorrect format (.resx file), use the following method to solve it.

1. Close all instances of Visual Studio.

2. From the Visual Studio Tools subfolder, open an elevated “Visual Studio Command Prompt (2010)” (using “Run as administrator” option). Change directory to "<system_drive>:\Program Files (x86)\Microsoft SDKs\Windows\v<x.xx>\bin\”.

3. Issue the command :

corflags /32bit+ ResGen.exe /force

4. Open <project_name>.csproj in notepad.

5. Add the following property <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture> under the PropertyGroup section. Save and close the csproj file.

From: http://support.microsoft.com/kb/2028833

Friday, May 2, 2014

How to refer to labels in other documents?

How to refer to labels in other documents? 

\usepackage{xr}
\externaldocument{supplement}
...
\ref{ext:supplement}
http://tex.stackexchange.com/questions/160140/how-to-refer-to-labels-in-other-documents

How to remove the link
http://tex.stackexchange.com/questions/118182/selectively-turn-off-hyperref-links-for-citations