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 8631609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:14:31+00:00 2026-06-12T09:14:31+00:00

My problem is: when I set the project build action to release instead of

  • 0

My problem is: when I set the project build action to release instead of debug a control from an external library is lost. every line that uses it have this error:

‘myControlName’ is not defined.

the control is part of SDK library (I mean I didn’t create it)
when I set the action to debug again and rebuild the problem is gone
so what’s the problem?

Edit: I have encountered this problem before when i used WeifenLuo DockPanel Suite

now it’s another library but the error is the same

Edit: the reference is a dll file
screenshot after setting build action to release.
enter image description here

  • 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-12T09:14:31+00:00Added an answer on June 12, 2026 at 9:14 am

    There are project settings that are specific to the configuration, they store different values for Debug vs Release. The very first thing you’ll have to fix, visible in the screen shot, is Project + Properties, Compile tab, scroll down, Advanced Compile Options, Target CPU. Change it from AnyCPU to x86. An ActiveX control like you are using is very rarely available in 64-bit mode, you have to force the app to run in 32-bit mode so it can use the control.

    That however is a long short for the specific error. Another one that’s important and more readily explains such a problem is the Framework Target setting. Try selecting the full one instead of the Client profile. Not a great explanation either btw. Chase possible other fixes by comparing the Compile tab settings for the Debug vs Release configurations. A complete outlier explanation is that you added the ActiveX reference by editing the .vbproj file instead of using the IDE. Be sure to pay attention to any warnings in the Error List window, such a warning may produce hard to diagnose other errors.

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

Sidebar

Related Questions

I am having a problem that every time I try to build my project,
I am doing a transformation from a customoized set cover problem to a sat,
I just started working on a new project and I can't set the build
In my project build definition the SettingKey useProguard in the Android scope is set
today i set up a new ms build project in jenkins which contains unit
In my WPF project i keep a user control in a separate library project.
i get a problem to set the callback function before indexeddb add transaction os
I had a problem with set not working in a batch file; it took
I am having problem to set label at right corner in ToolBar . Hear
The problem: I have set of pictures, when the user presses on one of

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.