Issue I’m Trying to publish a website, using Visual Studio 2013. I’m getting an error: ASPNETCOMPILER(0,0): Error ASPRUNTIME: Object reference not set to an instance of an object. It happens also on Visual Studio 2010. I tried to restart VS,Continue reading
[SOLVED] How do you get version number suffix from assembly version?
Issue Pretty simple one: I have the following version number with an rc suffix in my project file. This is allowed according to this document and it compiles without warning. <PropertyGroup> <Version>126.96.36.1994-rc</Version> </PropertyGroup> When accessing said version information with theContinue reading
[SOLVED] Which SignalR package to install for a .NET 6 server project?
Issue I have a NET6 project which is built part of a larger .NET 6 ASP.NET solution. The project still references: Microsoft.AspNetCore.SignalR, and Microsoft.AspNetCore.SignalR.Core Which have now been marked as deprecated. What packages do I need to install for theirContinue reading
[SOLVED] Hot reload for Typescript compile in Razor class library in Visual Studio 2022
[SOLVED] Reference to type 'HttpContextBase' claims it is defined in 'System.Web' but it could not be found
Issue I’m getting a really weird error that I’ve only found a few times with some pretty extensive googling. I’m making an authorization attribute to add onto my Actions in an ASP.NET MVC project in a class library. I installedContinue reading
[SOLVED] ASP.NET (Content is not supported outside the script or asp:content)
Issue I have created a nav bar on a nested master page that allows there to be a nav bar on each web form page that is created from it. I keep getting an error at the < html >Continue reading
[SOLVED] How to find the reason for a failed Build without any error or warning
Issue I have a WebApplication which contains reference to WCF services. While building using Visual Studio 2010, Build fails without any error or warning. However building the .csproj using MsBuild is successful. Can’t figure out what should I try inContinue reading
[SOLVED] Visual Studio – Resx File default 'internal' to 'public'
Issue Every time I edit a resource file in VS, it regenerates the corresponding code and sets the class access modifier to internal. It’s a pain to Ctrl-F -> ReplaceAll every time I edit the resx. Is there a property/settingContinue reading
[SOLVED] Visual Studio 2019 launches .net Framework 4.6.2 website as ASP.NET Core
Issue I have an ASP.NET site running on .NET 4.6.2. However, Visual Studio 2019 (and 2022) is trying to launch it as an ASP.NET Core site. Webpage shows: HTTP Error 500.0 – ASP.NET Core IIS hosting failure (in-process) Event ViewerContinue reading
[SOLVED] Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform
Issue Other articles on here haven’t been able to solve my issue. The following errors are being thrown when I run my ASP.NET MVC5 Web Project. Anyone got an idea where I am going wrong? Could not load file orContinue reading