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

  • Home
  • SEARCH
  • 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 6810355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:11:46+00:00 2026-05-26T20:11:46+00:00

I have a console application written mostly in C#, targeting .Net 4. It also

  • 0

I have a console application written mostly in C#, targeting .Net 4. It also uses a C++/CLI library which wraps an unmanaged C++ one. Everything is built in Release mode for x86 platform, except the C++?CLI library which is built in Win32.

So when I invoke the console application on my Win 7 workstation, it works. However, when I move over the folder to my Win 2003 SP2 app server, it does not load, claiming the following:

“System.IO.FileNotFoundException: Could not load file or assembly ‘MyWrapper.dll’ or one of its dependencies. The specified module could not be found.
File name: ‘MyWrapper.dll'”.

I found the advice to add the following to my app.config, but it does not help:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>

What am I missing?

Edit: .Net 4 is installed on my Win 2003 SP2 app server, and console apps written in pure C# and targeting .Net 4.0 do work on it.

Edit 2: MyWrapper.dll is in the same folder.

Edit 3: DependencyWalker shows the following dlls are missing: MSVCP100.DLL, MSVCR100.DLL, DWMAPI.DLL. I am installing the redistributable.

  • 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-05-26T20:11:46+00:00Added an answer on May 26, 2026 at 8:11 pm

    My guess (if MyWrapper.dll is the Mixed mode assembly): The Microsoft Visual C++ 2010 Redistributable Package (x86) is not installed. You can use http://www.dependencywalker.com/ to find missing DLLs. Start Dependencywalker and open MyWrapper.dll – and you can find any missing DLLs.

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

Sidebar

Related Questions

I'm creating a Windows Console application written in VB.NET and I have a few
I have the following console application written in VB.NET: Sub Main() Dim ie As
I have a console application written in C# which processes some data then prints
I have a console application written in C#/.NET that I want to run from
I have a simple console application written in .NET. I need to make an
I have written a console application, which is essentially a Console.ReadLine()-Loop. When the application
I have a console application (written in Java), which should run on a Linux
I have written a sample console application to test backgroundworker using one of the
I have a console application written in Delphi. I saw that I can have
I have written a console application in Delphi that queries information from several locations.

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.