Comments (7)
I'm looking into it and it's a bloodbath.
Let me see how to do it, it might take some time
from xesmarttarget.
LOL, figures
from xesmarttarget.
In the interim @spaghettidba if we could obtain the DLL via your releases on GitHub would help. Adding it as an asset for those of us that don't want to run the MSI to get it.
from xesmarttarget.
Hey Shawn, I wish it was this simple!
I tried to create a nuget package, but it's very complicated and beyond my abilities. I read multiple guides on the topic but I'm unable to produce the package. It's something I definitely want to do, but as of now I'm stuck.
However, I think we have multiple problems here:
- There are two different versions for x86 and x64. I know that 99% of the time it's going to be x64, but if you include the DLL in dbatools you will have to choose which one to include, or include both.
- XESmartTarget has dependencies: if you don't install it, you have to take care of your dependencies by yourself.
- There are more dependencies that are not included in the XESmartTarget MSI, like the C++ redistributable runtime (again you have to choose the correct bitness)
I can include the x86 and x64 DLLs in the releases page. Would that take you further, considering the points I raised?
from xesmarttarget.
Windows 10+ including Server OS I have not come across a generic install with any customer that some application or service has not already installed multiple C++ redistributable versions. I have no concern dealing with that dependency separate. e.g., this is my primary device, and I don't even have Visual Studio or SSMS installed on this machine:
The architecture side your build process should take care of that for us if you are able to get it published. When I do dotnet build
and create that output path it includes both (if required) but in most cases a single DLL can be used for both architectures. Unless there is something about .NET I'm missing or just have not coded for before.
The build process you I recall VS has a build setting to automatically create a Nuget package on build. I can try testing that to see if I can get it to build and publish something to my account if needed. (I'd have to get a VM built with VS on it, what version is your project using?)
from xesmarttarget.
The problem is that XESmartTarget uses native DLLs from Microsoft and they have their own x86 / x64 versions.
Regarding c++ redistributable, the native DLLs used by the Extended Events API are available only in the 2013 version: 2015 or higher will not work. I don't know why, but this is beyond my understanding.
I tried to follow that guide to build my project and create a package, but it's a legacy project (started on VS 2017) and some things don't work. It seems like nuget pack won't use SharedAssemblyInfo. I'm trying to figure out how to proceed. Not easy (at least for me)
from xesmarttarget.
OK, I worked on this a bit and got two .nupkg files, one for x86 and one for x64.
I don't really know what to do with these. Could you please verify this is what you expect (see attached zip file)?
XESmartTarget.Core.1.5.3.zip
from xesmarttarget.
Related Issues (20)
- New-DbaXESmartTableWriter not writing to table HOT 9
- Aggregated column cannot have the same name as the underlying column in GroupedTableAppenderResponse HOT 1
- Column 'X' does not belong to underlying table 'events' HOT 11
- Add a mechanism to reconnect the session when error/disconnection is found
- Feature request - Add aggregate "LAST" to GroupedTableAppenderResponse HOT 1
- Allow loading configuration from URL
- Allow having multiple targets in the same config but still support old style config
- GelfTcpResponse not inserting "short_message" or "message" (as seen from Graylog GELF receiver machine) HOT 6
- Add Timeout to let XESmartTarget stop gracefully after it expires
- XelToCsv won't launch 1.4.9 HOT 6
- XESmartTarget.Core.Utils.XELFileCSVAdapter does not export all events
- Error during start: Could not load file or assembly 'Microsoft.SqlServer.XEvent.Linq.dll' or one of its dependencies. HOT 1
- Add command line parameter to load a .sql file and create the session
- Setup: QMonitor Agent is copied to a separate folder
- Setup: upgrade should delete all local config files
- ConfigWizard: does not display service user name in the servers page
- Running XESmartTarget Continuously for 24/7 Monitoring HOT 1
- Missing column in the TableAppenderResponse created table
- Add collection time bucket to GroupedTableAppenderResponse HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xesmarttarget.