<commit_before>--
-- vs2019.lua
-- Extend the existing exporters with support for Visual Studio 2019.
-- Copyright (c) <NAME> and the Premake project
--

	local p = premake
	local vstudio = p.vstudio

---
-- Define the Visual Studio 2019 export action.
---

	newaction {
		-- Metadata for the command line and help system

		trigger     = "vs2019",
		shortname   = "Visual Studio 2019",
		description = "Generate Visual Studio 2019 project files",

		-- Visual Studio always uses Windows path and naming conventions

		targetos = "windows",
		toolset  = "msc-v142",

		-- The capabilities of this action

		valid_kinds     = { "ConsoleApp", "WindowedApp", "StaticLib", "SharedLib", "Makefile", "None", "Utility" },
		valid_languages = { "C", "C++", "C#", "F#" },
		valid_tools     = {
			cc     = { "msc"   },
			dotnet = { "msnet" },
		},

		-- Workspace and project generation logic

		onWorkspace = function(wks)
			p.vstudio.vs2005.generateSolution(wks)
		end,
		onProject = function(prj)
			p.vstudio.vs2010.generateProject(prj)
		end,
		onRule = function(rule)
			p.vstudio.vs2010.generateRule(rule)
		end,

		onCleanWorkspace = function(wks)
			p.vstudio.cleanSolution(wks)
		end,
		onCleanProject = function(prj)
			p.vstudio.cleanProject(prj)
		end,
		onCleanTarget = function(prj)
			p.vstudio.cleanTarget(prj)
		end,

		pathVars = vstudio.vs2010.pathVars,

		-- This stuff is specific to the Visual Studio exporters

		vstudio = {
			solutionVersion = "12",
			versionName     = "16",
			targetFramework = "4.7.2",
			toolsVersion    = "15.0",
			userToolsVersion = "Current",
			filterToolsVersion = "4.0",<commit_msg>Fix VS2019 solution icons<commit_after>--
-- vs2019.lua
-- Extend the existing exporters with support for Visual Studio 2019.
-- Copyright (c) <NAME> and the Premake project
--

	local p = premake
	local vstudio = p.vstudio

---
-- Define the Visual Studio 2019 export action.
---

	newaction {
		-- Metadata for the command line and help system

		trigger     = "vs2019",
		shortname   = "Visual Studio 2019",
		description = "Generate Visual Studio 2019 project files",

		-- Visual Studio always uses Windows path and naming conventions

		targetos = "windows",
		toolset  = "msc-v142",

		-- The capabilities of this action

		valid_kinds     = { "ConsoleApp", "WindowedApp", "StaticLib", "SharedLib", "Makefile", "None", "Utility" },
		valid_languages = { "C", "C++", "C#", "F#" },
		valid_tools     = {
			cc     = { "msc"   },
			dotnet = { "msnet" },
		},

		-- Workspace and project generation logic

		onWorkspace = function(wks)
			p.vstudio.vs2005.generateSolution(wks)
		end,
		onProject = function(prj)
			p.vstudio.vs2010.generateProject(prj)
		end,
		onRule = function(rule)
			p.vstudio.vs2010.generateRule(rule)
		end,

		onCleanWorkspace = function(wks)
			p.vstudio.cleanSolution(wks)
		end,
		onCleanProject = function(prj)
			p.vstudio.cleanProject(prj)
		end,
		onCleanTarget = function(prj)
			p.vstudio.cleanTarget(prj)
		end,

		pathVars = vstudio.vs2010.pathVars,

		-- This stuff is specific to the Visual Studio exporters

		vstudio = {
			solutionVersion = "12",
			versionName     = "Version 16",
			targetFramework = "4.7.2",
			toolsVersion    = "15.0",
			userToolsVersion = "Current",
			filterToolsVersion = "4.0",
{'fraction_non_alphanumeric': 0.12621951219512195, 'fraction_numerical': 0.03475609756097561, 'mean_word_length': 3.19029374201788, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2943363', 'n_tokens_mistral': 1336, 'n_tokens_neox': 1109, 'n_words': 289}