warden-stack/Warden

Issues in Watchers.MsSql (.net 4.6.1), Watchers.Web (.net 4.6.1), Watchers.Performance (.Net Core 1.0)

ainasiart opened this issue · 1 comments

.Net 4.6.1 Console program
Warden.Watchers.MsSql

Install failed. Rolling back...
Package 'Warden.Watchers.MsSql.1.3.2 : Dapper [1.50.2, ), System.Data.SqlClient [4.1.0, ), Warden [1.3.1, )' does not exist in project

Even there is already newer versions of the libraries above, I installed that exact version, but still no success.

Warden.Watchers.Web
I do exactly the same way as the other program in .Net core, but here the result isValid=FALSE, in .Net Core, the result is TRUE

public static void Main(string[] args)
        {
            var warden = ConfigureWarden();
            Task.WaitAll(warden.StartAsync());
        }
        public static IWarden ConfigureWarden()
        {
            var config = WardenConfiguration
                .Create()
               .SetGlobalWatcherHooks(hooks => hooks.OnCompleted(result => CommonOnCompletedHook(result)));
            config.AddWebWatcher(url: "http://localhost/");

            return Warden.WardenInstance.Create(config.Build());
        }

.Net Core Console program
When adding the performance Watcher

Package Warden.Watchers.Performance 1.3.1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Warden.Watchers.Performance 1.3.1 supports: net461 (.NETFramework,Version=v4.6.1)

** Conclusion **
For the performance, I must use .net4.6.1
And for the rest I have to use .NetCore

spetz commented

Hey,
I see that you're targeting full .NET framework and I used only .NET Core for the latest versions since I've been using Linux/Mac for quite some time now. Thus, it boils down to support the full .NET platform as well. I'll see what can be done :).