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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:21:18+00:00 2026-06-15T08:21:18+00:00

I have an application that runs perfectly when I run it from Visual Studio.

  • 0

I have an application that runs perfectly when I run it from Visual Studio. But once I hit “Publish” and try to launch “setup.exe”, I get an error message:

This application could not be started. Do you want to view information about this issue?

Clicking on yes leads me here. I have no idea what “SHIM” is and it’s definitely not part of the code.

The error is the same if I publish to a network share or to my local drive. Once installed, the application shows up in “Programs and Features” and can be uninstalled but a Start Menu entry is not added. It’s as if the error occurs during the installation.

I tried chancing the prerequisites (and target framework) between 3.5 and 4, as well as Windows Installer 3.1 vs 4.5 – no dice.

While it is currently targetting 3.5, it was originally created as a 4.03 app. I did change the target framework a couple times and going back to 4.03 doesn’t fix it. I’m pretty sure this issue appeared as a result of retargetting.

Can anyone provide clues where to look?

  • 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-15T08:21:19+00:00Added an answer on June 15, 2026 at 8:21 am

    Take a Look at configuration files if you have any app.config or web.config.

    If you didn’t find any tag regarding the target framework, Do a File Search on you solution folder and if you find something in .csproj or .sln files, change it to the correct one.

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

Sidebar

Related Questions

I have an MFC application that runs on my computer, but when I try
I have a web application that runs perfectly fine when I use the Visual
We have a WPF Application that runs from both desktop and as a XBAP
I have a java application that runs out of memory, but I have no
I have a C# Web app that runs perfectly fine in VS2010, but when
I have a C# application that uses the built-in MSI builder in Visual Studio
C# VS 2005. I have developed an application that run perfectly on my development
I have a web application that doesn't run correctly in chrome. Works perfectly in
I have a web application, that runs perfectly on IIS 5.1 installed on windows
I have an application that runs fine on Windows 7 but is failing on

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.