

ASP.NET Cannot Load a Reference Assembly
source link: https://www.codeproject.com/Tips/5318276/ASP-NET-Cannot-Load-a-Reference-Assembly
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Stats
ASP.NET Cannot Load a Reference Assembly






Introduction
Too often, I see when running my webapplication from Visual Studio a problem with loading assemblies. Mismatching numbers, etc. It is annoying.
Using the Code
There is an easy way to overcome this issue.
Step 1: Open your web.config
In your web.config, you will find the <runtime>
section. Select that section and remove it from your web.config:
Step 2: Rebuild Your Solution
When you rebuild your solution, you will get a warning stating conflicts.
Step 3: DoubleClick the Line that States Conflicts
You will get a question if you want it fixed and click the YES button. A new runtime section is made in your web.config.
Step 4: Rebuild Your Solution and Run It
Have fun with your application.
History
- V0.1: Initial tip
License
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
Share
About the Author

I started in the eightees with Basic and QuickBasic. When the ninetees started dBase was my thing. Close to the millenium years I swapped to C++ and since 2003 it is only programming in c#.
There is one thing about me.
Not that kind of OO guy and definately not an ORM-fan. I know a database to well to give the importance of data out in the hands of a tool.
Comments and Discussions
Spacing Layout Per page
-- There are no messages in this forum --
Everything else Copyright © CodeProject, 1999-2021
Web02 2.8.20211110.1
Recommend
-
17
Rails Tip How to Fix Cannot/Load Bundler/setup Oct 26, 2016 One of my least favorite things in the entire rails ecosystem is deployment. Deployment was ass painful in 2007 when I started with Rails and it is...
-
15
从内存加载.NET程序集(Assembly.Load)的利用分析 0x00 前言 在之前的文章
-
12
2021-01-19 12:00:00Preview: The SQLite Llibrary as a .NET assembly The latest pre-release of SQLitePCLRaw contains a new bundle package called
-
8
C# Language Highlights: Nullable Reference Types
-
6
How to Fix the “Could Not Load File or Assembly RSy3_AudioAppStreamsWrapper.dll” Error on Windows By Modisha Tladi Published 7 hours ago...
-
5
<?xml encoding="utf-8" ??>Introduction The Vultr Load Balancer is a fully managed solution to distribute traffic across multiple backend servers. If you are new to Vultr Load Balancers, we recom...
-
12
Reprap development and further adventures in DIY 3D printing: The ToolChanger The E3D #ToolChanger - Part 2 Hello everyone, In part 1 I introduced the concept of a ToolChanger as a 3D printer. In this post, I'...
-
11
How to load test your ASP .NET apps Isaac introduces us to NBomber, an open-source project written in F# which makes it easy to start load testing your web apps.
-
14
Search Questions and Answers
-
14
Load Custom Badge UI in Your .NET MAUI App: An OverviewIf you’re developing a social networking or an e-commerce app, it’s essential to consider the significance of UI alert notifications. They serve as a vital means...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK