Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ainasiart opened this issue Aug 2, 2017 · 1 comment

Comments

@ainasiart
Copy link

.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
Copy link
Member

spetz commented Aug 2, 2017

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 :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants