Using 2 different versions of the same dll?

You need to use a dependentAssembly with bindingRedirect but also you need put dlls in different folder or save with a different name. With this done, you need to put the following in your app.config: <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <dependentAssembly> <assemblyIdentity name=”myAssembly” publicKeyToken=”here token dll” culture=”neutral” /> <bindingRedirect oldVersion=”0.0.0.0-1.0.0.0″ newVersion=”1.0.0.0″ /> <bindingRedirect oldVersion=”1.0.0.1-2.0.0.0″ newVersion=”2.0.0.0″ /> <codeBase version=”1.0.0.0″ … Read more

How to disable all whitespace autoformatting in Visual Studio 2015?

I realised I misunderstood the question in my original answer, so have added a partial answer disabling autoformatting for white space. If you select ignore white space on all options where it is offered, it will not reformat the white space of those areas of code. These screen shots are taken from VS2015 Enterprise. I’m … Read more

How to fix “Internal Diagnostics Hub Exception” in VS 2015 Update 1?

I dug into the the Visual Studio logs to understand what was happening (C:\Users\YourUser\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml). In mine, the messages were something like this: <entry> <record>846</record> <time>2016/07/22 01:07:20.351</time> <type>Information</type> <source>VisualStudio</source> <description>Entering function CVsPackageInfo::HrInstantiatePackage</description> <guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid> </entry> <entry> <record>847</record> <time>2016/07/22 01:07:20.367</time> <type>Information</type> <source>VisualStudio</source> <description>Begin package load [Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptPackage, Microsoft.VisualStudio.LanguageServices.TypeScript, Version=14.0.0.0, Culture=neutral]</description> <guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid> </entry> <entry> <record>848</record> <time>2016/07/22 01:07:20.374</time> <type>Error</type> <source>VisualStudio</source> <description>LegacySitePackage … Read more

Visual Studio 2015 new files not being added to source control automatically

Folders called Release and their contents is automatically excluded from TFS (along with Debug and lots of file types). You can override this for particular folders by creating a .tfignore file, as detailed in the “Customize which files are ignored by version control” section of this link Customize which files are ignored by version control … Read more

Why is Visual Studio 2015 adding stdole.dll and Microsoft.AnalysisServices.AdomdClient.dll to my project?

As others indicated, stdole.dll is a Primary Interop Assembly for a bunch of Office COM interop components. You can determine why it’s getting included in your project by doing the following. In Visual Studio, go to Tools > Options > Projects and Solutions > Build and Run. Change the “MSBuild project build output verbosity” setting … Read more

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