Adding NUnit to the options for ASP.NET MVC test framework

After a bunch of research and experimentation, I’ve found the answer. For the record, the current release of nUnit 2.5 Alpha does not seem to contain templates for test projects in Visual Studio 2008. I followed the directions here which describe how to create your own project templates and then add appropriate registry entries that … Read more

Difference between platform and platform target in VS

The first screen shot is showing the solution configuration (Debug) and solution platform (Mixed Platforms). What this is saying is that building a Debug version of the solution, the projects that make up the solution can target Mixed Platforms. If you explicitly chose x86, that means all your projects in your solution should use this … Read more

How do I actually create a .NET Core project in Visual Studio?

.NET Core templates are available in Visual Studio 2017. When installing VS2017, you have to pick the “.NET Core cross-platform development” workload. Once you do, you’ll have access to the templates: Click File – New Project. Expand Visual C# – .NET Core on the left side. Pick one of the templates. If you’re on Visual … Read more

What is a .pubxml.user file?

Because this is a user-specific file, it should be excluded from version control. From https://msdn.microsoft.com/en-us/library/ff398069(v=vs.110).aspx, emphasis mine. When you create a publish profile, two files are created in the PublishProfiles folder: .pubxml and .pubxml.user. The .pubxml.user file contains only a few settings that apply to a specific user, such as an encrypted password. By default … Read more

How can I step into a SQL Server stored proc from my C# code?

I’ll build on Davide’s answer and Ian’s comment to it because that was the exactly the process I have gone through. Assumption: answer is based on VS2008 & VS2010. To step through a T-SQL stored procedure on SQL Server while debugging a .NET app you need to do the following: Follow the MS Support instructions … Read more

Open Source .Net Reporting Tool [closed]

fyireporting (released under Apache License) is worth a try. The fyiReporting RDL Project is a powerful report and charting system based on Report Definition Language (RDL). Tabular, free form, matrix, charts are fully supported. Report output may be displayed as HTML, PDF, XML, .Net Control, Web Archive, and to a printer. Libraries exist for use … Read more

Make Visual Studio auto reload solution when project files change

Finally found a solution: http://lostechies.com/jimmybogard/2011/01/27/reloading-all-projects-with-vscommands/ Quoting from the site: Quite often I’ll find myself working in situations where multiple projects have changed, and Visual Studio asks to reload them, one at a time. This happens when I’m working a lot with source control, and doing things like switching branches, performing merges, or just integrating upstream … Read more

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