I ran the Portability tool against Apache.NMS.ActiveMQ.dll version 1.7.2.4108
and the tool flagged 22 issues. The json output is pasted below. It doesn't
look like it works out of the box.



{
  "SubmissionId": "2568e45e-2fef-4789-9906-494193cbe4bf",
  "ApplicationName": null,
  "CatalogLastUpdated": "2016-09-22T14:13:55.4777618+00:00",
  "MissingDependencies": [
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId":
"M:System.Threading.Thread.set_Priority(System.Threading.ThreadPriority)",
      "TypeDocId": "T:System.Threading.Thread",
      "RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId":
"M:System.Threading.Timer.#ctor(System.Threading.TimerCallback,System.Object,System.Int64,System.Int64)",
      "TypeDocId": "T:System.Threading.Timer",
      "RecommendedChanges": "Use
System.Threading.Timer.#ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32).",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "M:System.Net.WebClient.#ctor",
      "TypeDocId": "T:System.Net.WebClient",
      "RecommendedChanges": "Not available in .NET Core - use HttpClient API
instead.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "M:System.Net.WebClient.DownloadString(System.String)",
      "TypeDocId": "T:System.Net.WebClient",
      "RecommendedChanges": "Not available in .NET Core - use HttpClient API
instead.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "M:System.AppDomain.GetAssemblies",
      "TypeDocId": "T:System.AppDomain",
      "RecommendedChanges": "Remove usage.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "T:System.Threading.ThreadInterruptedException",
      "TypeDocId": null,
      "RecommendedChanges": "",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "M:System.Net.Dns.GetHostEntry(System.String)",
      "TypeDocId": "T:System.Net.Dns",
      "RecommendedChanges": "",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "T:System.Threading.ThreadAbortException",
      "TypeDocId": null,
      "RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "M:System.Threading.Thread.Interrupt",
      "TypeDocId": "T:System.Threading.Thread",
      "RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "T:System.Net.WebClient",
      "TypeDocId": null,
      "RecommendedChanges": "Not available in .NET Core - use HttpClient API
instead.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "T:System.Threading.ThreadPriority",
      "TypeDocId": null,
      "RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId":
"M:System.Security.Cryptography.X509Certificates.X509Certificate.GetRawCertData",
      "TypeDocId":
"T:System.Security.Cryptography.X509Certificates.X509Certificate",
      "RecommendedChanges": "",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId":
"M:System.Security.Cryptography.X509Certificates.X509Store.Close",
      "TypeDocId":
"T:System.Security.Cryptography.X509Certificates.X509Store",
      "RecommendedChanges": "Use Dispose() instead.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "M:System.Threading.Thread.ResetAbort",
      "TypeDocId": "T:System.Threading.Thread",
      "RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId": "M:System.Threading.Thread.Abort",
      "TypeDocId": "T:System.Threading.Thread",
      "RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    },
    {
      "DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "MemberDocId":
"M:System.Threading.Timer.Dispose(System.Threading.WaitHandle)",
      "TypeDocId": "T:System.Threading.Timer",
      "RecommendedChanges": "",
      "SourceCompatibleChange": "",
      "TargetStatus": [
        null
      ]
    }
  ],
  "UnresolvedUserAssemblies": [
    "Apache.NMS, Version=1.7.1.3894, Culture=neutral,
PublicKeyToken=82756feee3957618",
    "Ionic.Zlib, Version=1.9.1.8, Culture=neutral,
PublicKeyToken=edbe51ad942a3f5c"
  ],
  "Targets": [
    ".NET Core App,Version=v1.1"
  ],
  "BreakingChanges": [],
  "BreakingChangeSkippedAssemblies": []
}



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-NMS-and-the-new-NET-Core-tp4714548p4716814.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to