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
I've developed a console application that does a lot of routines, but the Antivirus detected it as a malware of type Gen:Variant.Ursu.56053.
How can I fix this without touching the antivirus policy because it's not allowed for us to create any exceptions for any found threat.
I'd like also to mention that If i changed the assembly name the antivirus is no longer consider the new file virus, but it looks that it considers it virus because I invoke it many times, with different parameters.
Any suggestions, I'm really suffering from this,
I know this thread is very old, but for people which will come here - to fix this issue simply add icon to the program, im not even joking, it works.
FALSE +VE ALERT!!! Many antivirus engines have name pattern matching as their Swiss-knife to detect malicious files,If any of them matches the name they have in their Database then you can't do much about it. Its simply became a False +ve !!! Also your assembly name should consist of the technology area and component description, or company name and technology area (depending on your preferance). So try changing it to more specific one. :)
Assuming that you are talking about .NET (with relation to Visual Studio) For Ex:
Project: Biometric Device Access
Assembly: BiometricFramework.DeviceAccess.dll
Namespace: ACME.BiometricFramework.DeviceAccess
I had the same problem with Bitdefender, but mine is a Gen:Variant.Ursu.787553 when I tried creating a .exe file from my C program.
I simply moved it out of quarantine manually, and it worked well. You might have to that every time you build a new program. Hope this helps!
Related
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 1 year ago.
Improve this question
I've got one java web based project. Build using JDK 1.8 and Using Intellij as IDE.
Using tomcat to deploy the product
Essentially in our product I was trying to test a few things with a class.
Very recently what has happened is whenever I am compiling and putting it inside our project it is saying page not found.
So, I reverted my code base to Out of the box state, compiled and put it back. Still it
s giving me page not found error.
One annoying this about this error is, In the logs I don't have a single error.
So it's not even hinting on where to look or what's going on.
Second annoying this was, like I did some series of changes , but for every change I took a back up. Think of it like, if default OTB was Revision 1, My changes are in Revision 2,3,4. From revision 4 I started to get this error. But when I take revision 1 and put it back. Still getting page not found. But if I take Revision 2 or 3. It is working.
I've compared all revisions and code wise there's no such change, which could break anything. I've a strong doubt that it could be one of the project structure settings.
I checked local history, but apparently local history refreshes every time you rebuild a project so no luck there.
I want to understand and resolve this problem.
Any tips on how to handle this, will help greatly.
Thanks
So, the answer to this problem was Embarrassingly simple.
Our project was last certified with OpenJDK11 but I mixed two of my tasks and started using openJDK12.
I don't understand what exactly in OpenJDK12 broke this.
And I want to inspect what went wrong.
But for the current task at hand. 1 solution is as simple as reverting back to OpenJDK11. After that when I used this modified class it was working perfectly.
PS: Still not 100% sure if it was due to jdk version. But If it was I wonder why in logs it was not mentioning that error. Which says compiled using higher version of Java.
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
microsoft.office.interop.excel is missing but I need to be able to check for it to prevent this error.
If the reference doesn't exist (it's not installed on my computer), I'd like to conditionally load something else instead.
I tried to show a picture but I haven't had enough posts so I'm not allowed to do so yet.
This is more about addressing runtime errors where an assembly isn't found; you can't publish your code if it won't even compile. You'll need to either add the missing dll or install Excel to compile.
You can add this handler to your project's (static) type initializer:
AddHandler AppDomain.CurrentDomain.AssemblyResolve, AddressOf EmbeddedAssembly.GetMissingAssembly
(I have a class called EmbeddedAssembly with a method GetMissingAssembly() but you can simply call a sub/function such as MissingReference() if you like.)
The function signature looks like most handlers but note the event argument (e) type:
Public Shared [Sub|Function] GetMissingAssembly(
ByVal s As Object,
ByVal e As ResolveEventArgs) [As Assembly]
In the handler you can decide what to do, whether it's throw an error or, better, unpack and use an assembly embedded in your project's Resources.
There're plenty of references on S.O. about embedding assemblies as Resources. Another option is FodyWeavers which you can also find info about here. I've moved to the latter from the former mainly because it works and is less work or maintenance.
I should add a warning that when I first started resolving and embedding assemblies, etc, it was a fairly steep learning curve, especially since my project was a commercial app which had to be bullet-proof. My recommendation is create a small test project and get that all working first before you jump in with something more complicated.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm just going crazy about this but I can't find a solution so I'm here to ask for a help.
I've always used Notepad++ but since I've updated to Windows 10 it started not working.
When I open it N++ takes a long time (like.... A LONG time) to be operative (in the meanwhile it stays in "Not Responding").
When finally it unfreezes and I open a file, no text is shown BUT if I try to copy something and paste it somewhere else it does it correctly so I guess it's not a problem of encoding of stuff like these.....
I've tried many times to uninstall N++, clear all the files on the HDD and even eliminate registry keys but when I install it again nothing changes....
I'm desperate please help me!!!
I started having this issue too recently, and found that I had opened up a text file on my network at work, made some changes but hadn't saved it. Then when I got home (where I didn't have access to the network) Notepad++ opened really slow...
Some ideas to try to identify the problem:
Make sure you don't have any file loaded before closing notepad++. Specially files on net shares
If using the project tree Window (Folder as Workspace), try to close it. Specially if you have a huge workspace
Check executable compatibility mode. Is it changed?
Disable any 'check for updates' option (this includes notepad++ check for itself and also all plugins that have a similar option)
Uninstall/disable any notepad++ plugin
Try with a portable version. On the notepad++ site there are both installers and zip packages
Try with 32bit and 64bit versions
Try to delete this folder: "%APPDATA%\Notepad++" (maps to C:\Users\YOUR_USER\AppData\Roaming\Notepad++)
Try to temporarily disable the antivirus. Or add some exception to the path of Notepad++/Notepad++ portable
Create a clean new user and run it from there. Perhaps this is something wrong with some registry keys, so a clean state could work
The official site is here. (Just in case you downloaded it from elsewhere)
I was looking for a solution earlier and it seems like I fixed it myself by updating the application manually (even though "auto-updater" was on). Now the startup times are greatly improved.
Go to Plugins -> Plugin Manager -> Show Plugin Manager. Click the "Updates" tab. Hit the Update button and restart the application until your list of obsolete components / plugins is empty.
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
What I am trying to do is setup Visual Studio 2017 Enterprise to have it help me keep track of my code architecture better. I am running on Windows 8.1 if that makes any difference. An example will (hopefully) demonstrate what I mean:
If I want to use the sine function, Visual Studio insists that I pre-pend Math. in front of it: Rise = Math.sin(Angle)
What I want to do is have the same behavior for libraries that I have created. I have created a class called K2Math (called out as Public Class K2Math) and in it are functions like: Public Shared Function CheckForCollinear( . . . ) as Boolean. I have bundled it up into a separate DLL.
In my caller code, in the project references I have a reference to K2Math.DLL. As the functions are Public Shared, I don't have to use 'New K2Math' setup call like I would with a more conventional DLL. However, in the caller program I can use the CheckForCollinear function without having to pre-pend K2Math. I can also call it using K2Math.CheckForCollinear and the compiler doesn't complain.
What I would like the compiler to do is complain and force me to pre-pend the K2Math. This would help to make it obvious to me or whoever is reading my code how the code is architected and segregated.
But I can't seem to figure out how to do that. Also, I haven't figured out how to succinctly pose the question to do a proper Google search.
If I am being unclear, please so note that and I'll try to clear things up.
Create a Library lets say CustomizedMathLibrary
In that create a class K2Math. WRAP in a NAME SPACE (This is important)
Build and Use It by Importing name space in your code.
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
Yesterday I had a huge problem - suddenly my cocos2d project stopped compiling. You can read the story here: My cocos2d project stopped compiling! Over 40 errors! What to do?
Apparently something changed the folder name and it was the reason. I have made a new project, copied my files into it, verified that everything worked, made a snapshot and zip backup and went to sleep. Now when I did a small change to code and compiled it for simulator it worked.
But when I tried to compile it for device I got same 40 errors.
This is really killing me.
I use ARC-enabled cocos2d project.
If you want to check it out yourself here is the project - https://www.dropbox.com/s/eic1llpri6x6akt/BusterballBackupV1.0.zip
Restoring snapshot or from zip file didnt help either.
I think the problem might be with that:
When you look on the pane to the left of Xcode where you see your project layout there is a folder named Products. It contains two items in it - app itself and libcocos2d-library.a.
When I checked out fresh template they are black and have some strange path in the depth of xcode. But after I add files they go red and lose paths. What can be done about that? I cannot find that file (libcocos2d-library.a)
The problem is caused by the configuration of the static library target. The option "Always Search User Paths" should be set to NO. Here are the steps:
Choose the target cocos2d-library
In the right side, choose the Build Settings,
Find Always Search User Paths and set it to be NO
Build the project. It should be OK. The xCode version I used is Version 4.4 (4F250)