How can I build the documentation for the EPPlus library? - epplus

I just downloaded the EPPlus library from GitHub. That's a library for working with Excel files in C#. The only documentation provided is a Sandcastle Help File Builder project (EPPlusDoc.shfbproj). I downloaded Sandcastle, opened the project in Visual Studio 2017 and ran it. I got an error message saying "BUILD FAILED: You must specify at least one documentation source in the form of an assembly or a Visual Studio solution/project file. The project shows two documentation sources: EPPlus.dll and EPPlus.xml. What do I have to do to build the documentation for this library?
(And why the heck didn't the developer just provide a simple .chm file instead of making me go through this exercise myself?

Related

How to compile .vb files into exe with visual studio community?

So I got a crypter project from Github and I need help with it. Simply for the fact that I have no clue what I am doing when it comes to visual studio code and I need help with it. So below I have attached some pictures so you guys kinda understand the goal of what I am trying to achieve is (Building an exe file from .vb files).
img1
img2
Here I have opened the loadme.vb file
img3
I went to the build section and it is greyed out :(
img4
Like I said I have no clue what I am doing and I just want to take these .vb files from a project on Github and compile them into a simple .exe file to be executed.
Building .NET code in VS requires a project file. For VB, that's a file with extension .vbproj.
To do this, I suggest you create a new VB .NET project via File | New | Project... and selecting .NET Console Application with language VB.
Once you have a project, you can add the .vb source files to it by copying them into the project folder.
Then you just need to build the project.

VS show alot of errors (E1696, E0020) and warnings (C26451, C4754) with a new project

When I starts a new project (Blank App (C++/WinRT)) on Windows10 1909 # VS2019(up to date) its shows up a lot of errors as if the extension wasn't installed. But after trying to compile and run its works - so why do I get the errors and how can I solve this? screenshot
Edit: I have fond a solution for that. its turns out that the project was needed an additional include directory:
under the project properties->C/C++->General->[Additional Include Directory]
I added the winRT folder:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt
screenshot2
and that's it now there's no errors (correction - after creating new project its still have the same errors)
edit2:
Update: I installed the last windows 10 SDK and was still getting the seam errors. Than I installed a package via cmd with the following command:
D:\vcpkg> vcpkg install cppwinrt:x86-windows
after this was done it seem to work now
edit3:
I'm sorry for the annoying newcomer questions...
its looks like I have another problem now with my project
in the packages.config file is says that the package is not declared with the following warning packages.config pic
thanks for any help in advance.
(edit4) I followed this thread:
nuget 'packages' element is not declared warning
and that's it, now all I have to do is to learn how to code :D
The 'standard' include paths for Visual C++ projects are the VC_IncludePath and WindowsSDK_IncludePath. The Windows SDK includes path already has all of the directories:
include\<10.0.build.0>\ucrt
include\<10.0.build.0>\shared
include\<10.0.build.0>\um
include\<10.0.build.0>\winrt
include\<10.0.build.0>\cppwinrt
"Blank App (C++/WinRT)" is not part of the standard VS 2019 template set. The name of the project in the screenshoot is "ConsoleApplication2", which would imply you created a Win32 console C++ project instead of a C++/WinRT project. Even still, you can reach the standard C++/WinRT headers from a Win32 console application since they are part of the standard path.
From the looks of the errors in your first screenshot, it appears you are using a generated C++/WinRT rather than the one in the Windows 10 SDK. With VS 2019, you must add the NuGet package Microsoft.Windows.CppWinRT to your project to get the MSBuild rules needed to build with the C++/WinRT VSIX installed, so that's likely a problem here. See VS Marketplace

How to Embedded Autodesk Viewer on winform vb.net

I need to finish an older project where AutoDesk Viewer is Embedded on a Winform.
This project was done several years ago using what I assumed an older version of Autodesk. I can see on the Reference that they have a AxACCTRLLib.AxAcCtrl.dll. I downloaded autodesk design review 2013. My question is the .dll library for the embedded view has a diferent name?. Because I cannot find any with the same name of library as show above. This project was in a different computer so thats why I had to install the new autocad etc..
Below is a screenshot of the project showing the autodesk viewwer control.
Any Help please I have been researching for a while now without any success
Try add COM reference to c:\Program Files (x86)\Common Files\Autodesk Shared\DwgViewrAcCtrl.dll

How to add libraries to dll project in VS2013?

I've got a code in C++ built with some libraries like vtk, fltk, pcl and kinect SDK in Visual Studio 2010. My task is taking this project and integrate it into another C#.NET project with Visual Studio 2013.
I was told to do a new project for the dlls and copy the code I need there to make a wrap. My current problem is that I do not know how to add the references so my code can find the includes for the libraries and compile. I have tried to add the .h and .lib manually but does not work. May you give me any hint?
Thank you.
I'm not entirely clear what your question is, but try this:
Right click on your project in the solution explorer and go to Properties -> Configuration Properties -> Linker -> Input.
In the additional dependencies field, add your .lib file(s).
remember to #include the corresponding header files in your source file.

How we Integrated Libgit2 library in Visual Studion 2010 Windows Application

I downloaded two DLLs (libgit2sharp.dll and git2.dll) from this site.
After that I successfully added Libgit2sharp.dll by add reference in my .NET Windows application. Now when I add git2.dll by add reference in my .NET Windows Application, it gives an error:
a reference to 'C:\User\nitesh\git2.dll' could not be added please make sure that the file is accessible and that it is a valid assembly or COM component
Can anyone please help me understand the problem?
I downloaded two DLLs (libgit2sharp.dll and git2.dll) from this site.
First off, this is not a distribution channel that the libgit2/libgit2sharp team has anything to do with.
Install as a NuGet package:
Official releases are available as a NuGet package if you prefer to download pre-built sources. See this post which explains how to install the NuGet Package Manager in Visual Studio.
This is the easiest way to make LibGit2Sharp available to your project.
Build from the source code:
You can download the source code and build the C# code into LibGit2Sharp.dll from https://github.com/libgit2/libgit2sharp, which includes the pre-built version of git2.dll which works for the particular version of the C# code.
Easiest way to build the assembly is by launching the build.libgit2sharp.cmd. This will create a Build folder into which you'll find the LibGit2Sharp.dll and a NativeBinaries folder with the native binaries.
Now when I add git2.dll by add reference in my .NET Windows Application, it gives an error
As for the error message, it sounds like you're trying to add the git2.dll to the project as though it were a CLR/.NET assembly. It is however built from C and isn't something VS is going to do anything useful with. You do not need to add it to your project.
It does need to be available for libgit2sharp to load. The following graph depicts the folder hierarchy that libgit2sharp expects
NativeBinaries+
|___amd64+
|___git2-{shortsha}.dll
|___git2-{shortsha}.pdb
|_____x86+
|___git2-{shortsha}.dll
|___git2-{shortsha}.pdb
Note: This folder structure will be dynamically created in your project output folder if you installed LibGit2Sharp as a NuGet package. However, if you built the project from the source code, you'll have to copy this folder structure as part of your project build process yourself.