"SignTool.exe not found" when debugging in Visual Studio 2015 [duplicate] - c#

This question already has answers here:
Visual Studio SignTool.exe Not Found
(8 answers)
Closed 5 years ago.
I was writing a simple program in Visual Studio that requires an external library. When I debug it everything went smoothly.
Since I want to distribute the exe alone without the dlls, I installed Costura, clear all the previous builds and then press debug. Strangely the error "SignTool.exe not found" error pops out. However I am not publishing the exe, I am just trying to build it, how come this error will pop out?
Even after I uninstalled Costura, this problem still exists.

I suspect that Costura modifies your project to require signing. If you don't care about signing, you can disable/revert it.
It seems that SignTool.exe is not installed by default for VS2015, but you can add it yourself.

Related

How to run my c# console application on someone else's computer [duplicate]

This question already has an answer here:
When do i need to download the .Net core Runtime?
(1 answer)
Closed 2 years ago.
So a really basic question:
I wrote a c# console app. Not completly basic. There several classes outside the Programm.cs.
Now I wanted to show it to some friends so I send them zipped folder and and told them to go into \bin\Debug\netcoreapp3.1 and open the .exe file.
This works for me, but not for 2 of my friends who tried it.
A new windows opens and closes right away.
They seem to have the .Net framework installed.
Is there a way to open it without having install visual studio?
Thanks
Solved:
The issue was that .Net Core Desktop Runtime wasn't installed
Thanks everyone
You should publish your project. You will find the option to publish based on your visual studio.
Once your code is published, open \bin\release\netcoreapp3.1\publish..
And share this complete published folder

How to enable intellisense in Visual Studio 2017 for Unity [duplicate]

This question already has answers here:
Unity Scripts edited in Visual studio don't provide autocomplete
(35 answers)
Closed 5 years ago.
I've just gotten started with programming in Unity. I installed Visual Studio Code 2017 recently on Zorin 12. It's a nice interface, but there's no auto-completion! I realize that Ctrl+Space pops up some suggestions, but there are two problems that I'd like resolved with this:
The suggestions don't pop up automatically
The suggestions are based on redundancies in code I've already typed, not suggestions based on unexplored capabilities of Unity. If I'm working with a Transform object, for example, I want it to pop up all of the possible variables I could use, not just the one I used earlier.
Two errors I get can be seen at https://i.imgur.com/AwHl4ef.png
Thank you for your consideration.
For Windows or macOS:
Download/Install the Visual Studio IDE (with Unity Tools)
When installing, make sure you include installation of
Game development with Unity
Then using Unity (you can double click one of your C# files), open a new C# project and the Visual Studio IDE should open with your new project structure.
From there, you should be able to see what you are looking for.
For example:
For Linux (suggestion):
Try Monodevelop - Additional Information, it provides code completion/hints.

Visual studio ".exe" built application cannot open in other computer [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 5 years ago.
Improve this question
I've build a visual studio 2015 project into ".exe" and it worked on my computer and other computer. And then after i update my visual studio 2015, and build the program again, the ".exe" won't open on other computer, but it working as usual on my computer.
Does it have anything to do with the update ?
I've tried it on 3 others computers, on windows 7 it shows error clr20r3. But on windows 10 it doesnt show the error message
UPDATE : Sorry for not being specific. After googling i have found many similliar problem and it have something to do with the Net Framework. I've check my project application project target Net Framework it is 4.5.2. And i already create a setup wizard for it and it's include Net Framework 4.5.2 offline installer. I build it everything fine, then i try to run the Net Framework 4.5.2 installer on other computer, it says Net Framework 4.5.2 already updated/installed. But my app still wont open on that computer, only a loading (circle) symbol, but then the app won't open.
Without more information we cannot guarantee we'll provide a correct answer.
You should check for:
.NET Framework (in which you built the project with)
Configuration files
Dependencies
As we only got the information that it's "crashing", we cannot guarantee it will work.

Visual studio gives build error: SignTool was not found [duplicate]

This question already has answers here:
Visual Studio SignTool.exe Not Found
(8 answers)
Closed 6 years ago.
I have a project that was working fine until yesterday. When I was trying to debug it a message popped up that there are errors even though I can't see anything.
Build message shows this info:
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3616,5): error MSB3482: An error occurred while signing: SignTool.exe was not found at path C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\signtool.exe.
You will probably say I have to download this SignTool but how come everything was working fine earlier and now I need this tool?
Here is solution for you problem ,
I hope it will work,
Click on Project Properties ,
check for signing options
Uncheck all sign the assembly
Clean the Solution and Build it should work!.

Debug an executable without pdb outside visual studio [duplicate]

This question already has answers here:
How to Debug .net applications without Visual Studio
(3 answers)
Closed 7 years ago.
At a remote computer I need to debug an executable which is built in release mode.
There is no Visual studio installed but the .Net framework is.
I read about windbg and remote debugging and other solutions fellow programmers suggested but the subject is vague and I don't have a complete overview of the subject and the options available for my condition.
There is a possibility i can get the .pdb file.
Edit: I know this post was marked as a duplicate. The difference with the other post is that i can not download or send large files like the Windows SDK and the computer does not have internet connectivity. As i said .net framework is installed. Where can i find mdgb??
dotPeek by JetBrains can generate PDB files for you (and act as a Symbol Server). https://confluence.jetbrains.com/display/NETCOM/Introducing+JetBrains+dotPeek#IntroducingJetBrainsdotPeek-GeneratingPDBfiles

Categories