remove nuget package restore from solution

I didn’t look very well, there’s another property added to the project files: <RestorePackages>true</RestorePackages> Just have to remove this as well as all these lines manually from all *.csproj files: <Import Project=”$(SolutionDir)\.nuget\nuget.targets” /> UPDATE: Turns out it’s a persistent little bugger, if you’re manually editing your project files, make sure to close the solution and … Read more

Turn off Visual Studio Attach security warning when debugging IIS

Also found in the article mentioned by Tzury, but to sum up the answers in this thread: Make sure Visual Studio is not running when changing the registry key or it will be overwritten on exit with the old value Visual Studio 2022: Follow these instructions, then reboot. Visual Studio 2019: Follow these instructions, then … Read more

Targeting .NET Framework 4.5 via Visual Studio 2010

Each version of Visual Studio prior to Visual Studio 2010 is tied to a specific .NET framework. (VS2008 is .NET 3.5, VS2005 is .NET 2.0, VS2003 is .NET1.1) Visual Studio 2010 and beyond allow for targeting of prior framework versions but cannot be used for future releases. You must use Visual Studio 2012 in order … Read more

IIS does not list a website that matches the launch url

I hate answering my questions: in my question i stated that i was running VS under the administrator account. This was not true!!! So the solution (for me) was to run VS2010 as administrator (Start->In Vista menu right click-> Run as administrator)…so simple. As a side effect: VS2010 let me also create Virtual Directories without … 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

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