Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm using MSBUILD macros in my .csproj files for AfterBuild events mainly just to copy files. I'm doing this by example, so the only ones I know of are the ones I've seen in use: SolutionDir, ProjectDir, OutputPath, and Configuration. Is there a list or good info page online anywhere so I can read up on what's available, what point in the build they're available, customization, etc? I know that when using post build events in the project properties Build Events tab, the macros and their corresponding values are listed in a dialog...does any such gui exist for MSBUILD? Currently I'm just manually editing the .csproj files.
These are called Properties, not macros. See:
Reserved Properties
Common project properties
There's the MSDN MSBuild Reference.
The landing page has an overview of the different areas, though I must admit I can't find anything on the AfterBuild events at the moment. Even the Targets page itself is a little short of information in this area.
Here is what you were looking for.
MSDN - Macros for Build Commands and Properties
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am currently working with a big Library that I did not write myself, there are close to no comments at all and there is no API. Therefore I thought it would be helpful if I could parse the whole project to a UML Diagram, to get a better overview of how it is structured.
My Questions are:
Is there a way to automatically generate a UML Diagram from a C# project (not just one class)?
Can you give me any Tips on how to get a good overview of the Library fast?
Visual Studio can produce a Class Diagram - its a pop-up menu option if you right click the project in Solution Explorer (right click project - View - Class Diagram.
It will give you a static view of the classes and when expanded which ones that they rely on.
There's also the Object Browser (under the View Menu).
Both options will probably give you information overkill.
Be aware that the Object Browser will also show you those libraries that your library code relies on, but you can at least change it to only show items with public access rights.
Installation: You have to add it separately to VisualStudio through the VisualStudio installer. It's called "Class Designer" in it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We were using a product from a vendor provided to us in form of dll's. Now we are taking over that vendor product's source code. Our core application is dependent on those vendor provided dll's. We want to make sure that the source code that is provided to us is the same as of the dll's we are using. Otherwise our code can break and that could cost us big time. Can anyone please suggest a tool or a way we can compare the source code with dll's.
One way is that we can compile and publish the dll's and then compare the dll's, but that is going to be a huge task as there are multiple packages included in the base product including some aspx and html pages. We are looking for a quick and clean way to perform the task.
Any help 'd be much appreciated. Thanks
For me the only good way is to ask the vendor to provide the compilation environnement as well as the source code (using a Virtual Machine for example).
Recompilling the source, then comparing the DLLs is the only good way.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 10 months ago.
Improve this question
In Visual Studio 2015 (after installing the SDK preview), I created a 'diagnostic with code fix' project. The skeleton code is full of interesting types such as DiagnosticAnalyzer (under Microsoft.CodeAnalysis.Diagnostics) and CodeFixProvider (under Microsoft.CodeAnalysis.CodeFixes).
Where can I read the docs for these types? I couldn't find them on msdn. All I found was a different namespace with a confusingly similar name System.Diagnostics.CodeAnalysis .
Ideally msdn would have a full guide to writing a DiagnosticAnalyzer, as well as the usual reference documentation.
These are all Roslyn related, so the best place to look is the Roslyn documentation
It has samples, walkthroughs, FAQ, etc. Specifically here's a PDF file showing How To: Write a C# Diagnostic and Code Fix using a DiagnosticAnalyzer.
MSDN doesn't usually have information on technologies still in preview. I can only guess that until VS 2015 ships all the MSDN articles would be published (but we'll have to wait and see).
Roslyn is now moved to https://github.com/dotnet/roslyn
I think still the documentation is not that very great...!
my personal openion
This is an older question, but the docs have moved
Roslyn Wiki
A useful example: build a c# analyzer
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I know how to generate html documentation using Sandcastle and similar tools. But if I want to host the project on Google code, how can I easily publish the documentation straight into the Google project Wiki pages?
I can see the SVN repository has a wiki folder which I assume maps to the project Wiki pages and I guess I can make a build step to build the documentation from the autodoc tags. But is there some tool that generates wiki compatible format from the code documentation tags?
First, you're right about the SVN repository...
You're correct in assuming that the 'wiki' folder is there to contain any/all wiki documents that are viewable on Google Code. If you want to see for yourself, create a wiki page on the site and browse the source to see what I mean.
Second, it doesn't look like there's an 'official solution' to generating .wiki files from the autodoc tags but that doesn't mean you're the only one trying
Here's an approach where the Sandcastle files are used to populate a wiki.
Here's an approach to extract the comments themselves from the source.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to visualize components and connections of a HVAC system with .NET/C#.
The diagrams will just include a few different components and their connections.
They do not have to comply to any formal standard and should look alike the diagrams attached. In addition the user should be able to select a single component/connection (so that I can display additional data).
Which free drawing/charting library would you use and why?
Thanks for your time.
Julian,
Please check out GraphSharp: http://graphsharp.codeplex.com/Release/ProjectReleases.aspx
Small/open source C# library on Git renders to HTML5 (You can modify to render to for example WPF or Winform as well)
https://gridwizard.wordpress.com/2015/03/25/simple-c-library-to-render-graph-to-flowchart
I would try to host VS studio designer in application , how you can host workflow designer for instance. Read about VS extensibilities
It doesn't get more free than System.Drawing...
Seriously, given your requirements I'm not sure you need a framework or library. The most complex part of the system you describe is drawing the lines between components. If that doesn't have to get fancy (automatic layout, detecting where the lines overlay other lines/boxes) then you can probably roll the whole thing custom.