Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

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

@ainasiart

Description

@ainasiart

.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions