Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

DVTk

> 编程语言
Open source

DICOM Validation Toolkit

191 stars0 likes1 views
WebsiteGitHub

About

DICOM Validation Toolkit

DVTk

DICOM Validation Toolkit

This GitHub project contains the complete and latest source code of the DVTk (DICOM Validation Toolkit) Open Source project. The Windows installers and forum are located on https://www.dvtk.org/.

Note that the DVTk library and DVTk based applications are not for clinical use, they are only meant for testing purposes!

Build instructions for DICOM solution (DICOM.sln)

Build steps

  1. Make sure you have installed Visual Studio with following dependencies:

    a. Individual components:

    i.    C++ ATL for v142
    ii.    C++ MFC for v142

    b. Desktop development with C++ with following Optional components:

    i.    MSVC v142 - VS 2019 C++ x64/x86 build tools

    c. .NET desktop development

    i.    Development tools for .NET
    ii.    .NET Framework 4.8 development tools
    iii.    .NET Framework 3.5 SP1 (required to build DVTk Script Support)
    
  2. If you want to add or update the setup files of the installers, then in Visual Studio install Visual Studio extension: Microsoft Visual Studio Installer Projects 2022. The installers are created in the build pipeline.

  3. Clone the DICOM project from Github repository into a path which does not contain spaces (for eg: C:\Github\DICOM)

  4. Open Visual Studio and open DICOM.sln solution file. Do NOT upgrade/use latest version, if Visual Studio asks to upgrade a project.

  5. Right click on the DICOM solution and click Build.

Generated source files

Some lexer/parser outputs are generated during toolchain runs (for example *_lexer.cpp, *_parser.cpp, *_parser.cpp.h, and *_lex.cpp, *_parse.cpp, *_parse.cpp.h). These generated files are intentionally excluded via .gitignore and should not be committed.

Errors

If you get error regarding afx.h (Cannot open include file 'afx.h': No such file or directory.), make sure to check Output tab in Visual Studio and locate the error related to afx.h. Make sure the file exists and the path is correct. If the file does not exist, download the correct MSVC version from Microsoft. If you get error HRESULT 8000000A when building .vdproj (setup) projects, apply the following registry fix in PowerShell as Administrator:

powershell
$instanceId = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -version "[17.0,18.0)" -property instanceId
$registryPath = "HKCU:\SOFTWARE\Microsoft\VisualStudio\17.0_$($instanceId)_Config\MSBuild"
if (!(Test-Path $registryPath)) {
    New-Item -Path $registryPath -Force | Out-Null
}
Set-ItemProperty -Path $registryPath -Name "EnableOutOfProcBuild" -Value 0 -Type DWord

The setup projects can only be built after all other projects have been successfully compiled.

NuGet package

The GitHub Actions workflow builds a NuGet package for DvtkHighLevelInterface and publishes it to GitHub Packages for the dvtk-org owner.

Feed URL:

https://nuget.pkg.github.com/dvtk-org/index.json

Example consumer configuration is available in NuGet.config.example. The GitHub Packages feed requires authentication with a GitHub username and a Personal Access Token that has permission to read packages.

After adding the feed, install the package by ID:

powershell
nuget install DvtkHighLevelInterface -Source https://nuget.pkg.github.com/dvtk-org/index.json

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言