Getting the PublicKeyToken of .Net assemblies [duplicate]

Open a command prompt and type one of the following lines according to your Visual Studio version and Operating System Architecture : VS 2008 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2008 on 64bit Windows : “%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2010 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\sn.exe” -T <assemblyname> VS 2010 on … Read more

Getting the PublicKeyToken of .Net assemblies [duplicate]

Open a command prompt and type one of the following lines according to your Visual Studio version and Operating System Architecture : VS 2008 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2008 on 64bit Windows : “%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2010 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\sn.exe” -T <assemblyname> VS 2010 on … Read more

How to make ReSharper re-evaluate its assembly reference highlighting

Except for reinstalling, the only way to successfully clear the caches is to delete the files manually from your AppData directory. Delete the solution folder that’s giving you grief in the following locations: %LOCALAPPDATA%\JetBrains\ReSharper\v7.1\SolutionCaches\ %LOCALAPPDATA%\JetBrains\Transient\ReSharperPlatformVsXX\vXX\SolutionCaches\ for newer versions. Note that the version numbers in the paths may be different depending on the ReSharper version that … Read more

How to find server name of SQL Server Management Studio

Open up SQL Server Configuration Manager (search for it in the Start menu). Click on SQL Server Services. The instance name of SQL Server is in parenthesis inline with SQL Server service. If it says MSSQLSERVER, then it’s the default instance. To connect to it in Management Studio, just type . (dot) OR (local) and … Read more

Visual Studio 2010 always thinks project is out of date, but nothing has changed

For Visual Studio/Express 2010 only. See other (easier) answers for VS2012, VS2013, etc To find the missing file(s), use info from the article Enable C++ project system logging to enable debug logging in Visual Studio and let it just tell you what’s causing the rebuild: Open the devenv.exe.config file (found in %ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)