the 2.) That was going to follow was, I'm making m...
# windows
t
the 2.) That was going to follow was, I'm making manual use of
msbuild
to compile the extension with
msbuild osquery.sln /p:Configuration=Release /p:PlatformType=x64 /p:Platform=x64 /t:external_extension_test /m /v:m
after I have invoked the VC Build tools with
Invoke-BatchFile "$env:VS140COMNTOOLS\..\..\vc\vcvarsall.bat" amd64
z
Invoke-Batchfile
does not seem to be a PS builtin, but I was able to copy/paste this implementation to get it to work (https://github.com/jbake/Powershell_scripts/blob/master/Invoke-BatchFile.ps1). Where are you getting it from?
t
That might be the one I'm using - we have an implementation in
tools/provision/chocolatey/osquery_utils.ps1
, but it's very likely the same as the one you grabbed 🙂