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

The Archive Base Latest Questions

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

If I right-click my app from a network drive and select Run As |

  • 0

If I right-click my app from a network drive and select Run As | Current User, whether the app runs depends on whether I click the sub-checkbox (“Protect my computer and data from unauthorized program activity”).

If I do select the “Protect my computer…” checkbox and then select the OK button, I get, “Unable to find a version of the runtime to run this application.”

However, if I uncheck that checkbox, it runs fine.

So apparently the .NET runtime is considered “unauthorized program activity.”

If I run this app from the same place (a folder on a mapped drive that is neither mine nor the user’s C: drive) from another user’s machine, it won’t start up at all, and gives me an iofileloadexception error. But AFAIK, the .DLLs the app needs have been copied over to the mapped drive’s folder, as well as the text file the startup process references. Is there a tool that shows what ancillary files need to be distributed with a C# .exe created with Visual Studio (2010)? IOW, such a tool should tell me that I need the log4net.dll, a custom internal framework .DLL, and the aforementioned text file. And perhaps something else that, when deployed, would allow the app to run on the user’s machine.

UPDATED

Okay, I think I may be “on the trail” as far as being able to determine what files need to be deployed with a given .exe:

If you select Project | Properties | Publish | Application Files in Visual
Studio, it seems to show you just which files you need to deploy with your app. However,
there are still a couple of issues (noted in parenthesis below; and the bombshell at the
end):

EXE and related files:

1) <appName>.exe (duh, AKA "doh")
2) <appName>.exe.config
3) <appName>.exe.manifest (I have no such file - although I do have a file named
<appName>.vshost.exe.manifest; should I rename it by stripping out the "vshost" part of the name?)
4) <appName>.ico

DLLs:

Any non-native DLLs your project uses, such as (in this case):

<customFrameworkAssembly>.dll
log4net.dll
Devart.Data.dll
Devart.Data.Oracle.dll

HOWEVER, it does not explain why I’m able to run the app from another developer’s
machine (even when those files had not been deployed to the shared network directory).

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

    The files that you need to deploy can be seen from the project in Visual Studio by selecting Project | Properties | Publish | Application files…

    Once you move these to the same location as the .exe, all is right with the world again (well, this little part of your little world, anyway).

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

Sidebar

Related Questions

I want to make a right click menu for my winforms app. It will
I'm in the process of porting an app to JavaScript/CSS and it uses right-click.
In my app I have a stickman, which moves to right when you click
When you right click on a file and select Compare..., you get a few
How do you run another .exe from VB.NET but as another User? I expect
create a new window based app in xcode4 named 'TestLaunchScreen' right click on launch
I'm working on a status bar app that has a left and right click.
The sample code below (heavily influenced from here ) has a right-click context menu
When I create a Console App I can right click on the project in
Is right click a Javascript event? If so, how do I use it?

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.