Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9223193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:01:06+00:00 2026-06-18T04:01:06+00:00

I am getting the following error: ————————— Microsoft Visual Studio ————————— Could not load

  • 0

I am getting the following error:

---------------------------
Microsoft Visual Studio
---------------------------
Could not load the assembly Common.Logging.NLog because the following errors occurred:

Could not load type 'NLog.TargetWithLayout' from assembly 'NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c'.
---------------------------
OK   
---------------------------

When I try to use the DataContext editor / selector any the Window/Usercontrol properties. I pulled both assemblies down from NuGet

NLog Config:

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true"
      throwExceptions="false">

    <!-- 
  See http://nlog-project.org/wiki/Configuration_file 
  for information on customizing logging rules and outputs.
   -->
    <variable name="appName" value="APPLICATION" />
    <targets async="true">
        <target xsi:type="File"
                name="default"
                fileName="${specialfolder:ApplicationData}/APPLICATION/logs/${shortdate}.log"
                layout="${longdate} | ${uppercase:${level}} | ${message}${onexception:${newline}EXCEPTION\: ${exception:format=ToString}}"
                keepFileOpen="false"  />
        <target xsi:type="File"
                name="debug"
                fileName="${specialfolder:ApplicationData}/APPLICATION/logs/${shortdate}_debug.log"
                layout="${longdate} | ${uppercase:${level}} | ${message}${onexception:${newline}EXCEPTION\: ${exception:format=ToString}}"
                keepFileOpen="false"  />
        <target xsi:type="EventLog"
                name="eventlog"
                source="${appName}"
                layout="${message}${newline}${exception:format=ToString}" />
    </targets>

    <rules>
        <logger name="*" writeTo="default" minlevel="Info" />
        <logger name="*" writeTo="debug" minlevel="Trace" maxlevel="Debug" />
        <logger name="*" writeTo="eventlog" minlevel="Error" />
    </rules>
</nlog>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:01:07+00:00Added an answer on June 18, 2026 at 4:01 am

    I had the same problem and I fixed it by referencing Common.Logging inside the module which had the view/designer problem. It looks like something I was referencing in my namespace definitions had a dependency on Common.Logging being findable for that project. i.e. my module depended on another custom class library that used common.

    Strange way for this problem to manifest, and useless error from the designer, but adding the refence fixed it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting following error in my C# visual studio project: The type or
I am using Visual Studio 2005. While debugging code I am getting following error
I am getting following error while building my vc++ project (Using visual studio 2010)
Why i am getting following error while testing the application? App1 does not specify
I am getting following Error Java.io.IO.Exception; there is not enough space on the disk
I am getting following error in production but the same is not a repro
Am getting following error message on calling WCF service: The formatter threw an exception
I am Getting following error on exporting the video using [exportSession exportAsynchronouslyWithCompletionHandler:^ Error: -[TiBlob
I am getting following error while installing the application on my device. before running
i am getting following error while getting data from dictionary -[__NSCFString objectForKey:]: unrecognized selector

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.