Accessing C-Code analyser from within C# code? - c#

I am developing a visual studio C# application.
As part of this application I want to conduct a static analysis of C-Code (i.e. the C# application analyzes C-Code).
To this end I want to access some static code analysis tool from within my C#-code and run it over the relevant C-Files.
I hoped that there was some API for "CppCheck", which is installed as a plugin in my Visual Studio Environment:
However, so far I have not found an API through which I would be able to access CppCheck.
My question is: Does anyone know an API for CppCheck or some other C-Code-Analyser that I can use within my C# application?

You can use The CppDepend API from your C# code, a demo project CppDepend.PowerTools is delivered in the install to show you how to do it.

Related

How to use Gatling in visual studio c# code

I have a project which contain WebAPI developed using asp.net c# code. Now my requirement is to add a test layer for this API project which will do the load testing for the API's. Is it possible to use Gatling testing tool for load testing within the visual studio code? if not, then what will be best suited for this kind of scenario.
I tried to search for any library for Gatling but I am not able to find any.I did not find any content available online to this task.

Is there an example project for monaco-editor with omnisharp on a webpage

In my project, I use C# Roslyn scripts for some automation that can my customer write alone. I compile and run this on runtime.
Now I would like to have a web editor for c# with intellisense and spell check. For code completion, I would like also to get some private nugget packets with my API to provide to the script.
Actually, I do that with Visual Studio Code. But it would be nice to have the same behavior on a self-hosted web page.
I have found the Monaco-editor and omnisharp project. I think this is good because Visual Studio Code uses it also.
Does anyone know a sample project or open source project that bring these things together? I am sure I am not the first with this idea.
Not sure if I got your needs correctly but here is a young open-source project to bring c# code completion to Monaco
https://github.com/dotnetprojects/MonacoRoslynCompletionProvider

How to use MS ACCESS Replace function in asp.net c# program?

I am using visual Studio 2013 to develop a website application . I used the ASP.Net Web Application in Visual C#.
I am using the following code in the access desktop version and it does update my item but when i use this in the code it gives exception saying unidentified replace function.
UPDATE tblGroups SET tblGroups.GroupID = replace(tblGroups.GroupID,"LANGLEY","Stessy")
WHERE tblGroups.GroupID Like "LANGLEY";
how can i use it in the program?
Help appreciated.

How to add a separate test project to my application in VS2012

I have a windows 8 app project developed in Visual Studio 2012. Now I would like to write a separate test project and remotely test some functionality without getting into the apps source code. This saparete project should be able to give some input to the main project and also track the output as well. (In this case I think I might have to expose some of those methods in the app to be used externally)
I have this fuzzy idea but Im not sure how exactly to implement it. Any clues about the possibility of it and if yes how can I do it.
Thanks.

Visual studio tool is used to monitor runtime function in .net application

right now i am trying to customized a third party .dll. So i think it will be nice if i know a tool to be able to see the Stack call trace during runtime for my .net application (Silverlight i am using right now).
this tool will be a good skill access for me to learn .net language effectively
I checked the web and only see Runtime Flow tool . Download the trial one and it seems like it won't work with my silverlight application. and it costs money too
Are there any recommendations?
thanks

Categories

Resources