C# Console App .exe Not Running Outside of Visual Studio [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to run my .exe file for a console app I made. When I go to /bin/debug/~~~.exe it won't run. However, it still manages to build from inside Visual Studio.
How can I get this to work?

I have experienced the same situation, my exe is just a simple Hello World console. After a lot of trials and errors, I figured out it is just my antivirus (Avast Free Antivirus) pausing it. Whitelisting my exe solves the problem. Hope it is your case too.

Its my antivirus which is blocking my application. After uninstalling everything is working properly.

Related

C# .NET How i can add code editor C# to my website? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
How i can add code editor C#,which will compile the code in live
I tried something with Ace, but nothing so far
Thank you.
If I understand correctly, you want to propose an input to user. They had C# code (no matter what) and your server executes it.
If yes, take a look at that.
It creates a project and build it in memory before executing it.
Be careful cause if you execute the code no matter what it will be a security breach into your server. For example, someone could execute a code which will download a file onto your server and open a backdoor to it.
Check this site:
https://dotnet.microsoft.com/platform/try-dotnet
This is embeddable .Net compiler which you could use without any preparations and setups

Window application what written in c# by myself not appearing [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Today I run into a strange error.
When I start my program without Visual studio 2010 Express, start to running, but the gui not appear, and inpossible do stop it in task managger.
But if I run it in Visual studio, it work without any problem.
It do it with my all c# program,even what I write years before, but not any other program.
Tried to check, if a virus do it, but it can't find anything.
Operting system is Windows 7
It can be antivirus who stops execution of your application. Try to turn off it.

Deploying Winforms app [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm having trouble creating an installation program for my Winforms application. I am using the Windows Installer and the publish function. It creates a nice setup program. After I run the setup on a client machine, I want to update the App.config file to point to a different database than was used for the setup. I have this setting in the app.config file. However, I am not able to update the app.config file on the client's machine. Temporarily, I am creating a new build when I want to change the database that the application points to.
Duplicate of...
Setup App.Config As Custom Action in Setup Project
?
The answer looks good...
http://raquila.com/software/configure-app-config-application-settings-during-msi-install/

Can you add a Console program to a WindowsFormApplication program? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to make a C# WindowsFormApplication project to collect and store answers.
I then want to use these answers to generate input for selenium web driver which is a console application.
Is it possible to join the two projects together so I first collect my answers on the form, and when I click run on the windows application form, for the console application to start running? If so, how would this be done?
In case you don't want to use database as suggested by kat0r you can use sockets to make them communicate together.
The obvious answer would be to store the questions in a file/database, and simply access it from both applications. You can start other programs with something like Process

thoughts about antivirus dll [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Currently i've tried the antivirus dll from this site:
http://antivirusscanner.codeplex.com/documentation
After installing this package from nuget i ran the code to scan (and clean) a file.
I got a 'virusnotfound' answer back, but that wasn't what i expected: I had no single antivirus program installed.
Does anyone know if this package contains some function to check if an antivirus program is installed? I want to know for sure if the code works fine.
To be fair, the response it correct: it didn't find a virus. That doesn't say whether or not it had the tools to look very hard. There are only 3 responses:
VirusNotFound
VirusFound
FileNotExist
of those, it sounds like VirusNotFound is the closest.
To check, you could perhaps use EICAR.

Categories

Resources