TagVisual Studio

‘No resources found’ error when publishing to Azure App Service using Visual Studio 2019

&

Yesterday, I tried to publish an app to Azure App Service from Visual Studio 2019 (right-click -> publish) (I know, I know… but I just wanted to try this feature out!) I had already set up my Linux App Service Plan (size B1) On clicking publish, and selecting “use existing” I was seeing a rather unhelpful “no resources found” message Of course I’d tried the usual ‘log...

Using different themes across Visual Studio versions

U

I’m currently working on a couple of solutions – one that is Visual Studio 2017 specific, one 2015. Primarily because the 2017 specific one is full of .net standard projects, and the support is better (or at least, built in) I wanted to have 2015 use a different theme – I’m only doing small bits in it, but have them both open at the same time, so figured having one light...

Visual Studio 2013 Remote Debugging – No Symbols Loaded

V

When trying to use the Remote Debugger with Visual Studio 2013 – connecting to a server on the same network, I was getting ‘No symbols loaded’
I set the Remote Debugger to run with the /FallbackLoadRemoteManagedPdbs switch:

After doing this, the symbols were loaded, and I could step through the code in Visual Studio on my local machine, which was running on the remote server

Resharper ASP.net MVC “Cannot resolve view” functionality missing in Visual Studio 2013

R

I installed Resharper (v 8.2.2) onto my fresh install of Visual Studio 2013, but noticed that the usual helpers I get over ASP.net MVC methods wasn’t there. For example, if I had a method like: public class MyTestController : Controller { public ActionResult Something() { return View(); } } … and the view (/Views/MyTest/Something.cshtml) didn’t exist, I should get a little popup...

Useful way of exploring a StackTrace with Visual Studio 2012

U

I was shown a really handy way of viewing a StackTrace in Visual Studio 2012 today Steps are simply: Copy stack trace (from yellow screen of death for example) In Visual Studio, press ctrl + shift + e For example: at MyProject.Web.Controllers.ErrorController.MyMethod() in d:\Projects\MyProject\Web\Controllers\ErrorController.cs:line 23   at lambda_method(Closure , ControllerBase , Object[] )   at...