{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/911","repository_url":"https://api.github.com/repos/Azure/service-fabric-issues","labels_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/911/labels{/name}","comments_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/911/comments","events_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/911/events","html_url":"https://github.com/Azure/service-fabric-issues/issues/911","id":303896193,"number":911,"title":".NET CORE Microsoft.ServiceFabric.Services.Remoting","user":{"login":"hanxinimm","id":13499426,"avatar_url":"https://avatars0.githubusercontent.com/u/13499426?v=4","gravatar_id":"","url":"https://api.github.com/users/hanxinimm","html_url":"https://github.com/hanxinimm","followers_url":"https://api.github.com/users/hanxinimm/followers","following_url":"https://api.github.com/users/hanxinimm/following{/other_user}","gists_url":"https://api.github.com/users/hanxinimm/gists{/gist_id}","starred_url":"https://api.github.com/users/hanxinimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanxinimm/subscriptions","organizations_url":"https://api.github.com/users/hanxinimm/orgs","repos_url":"https://api.github.com/users/hanxinimm/repos","events_url":"https://api.github.com/users/hanxinimm/events{/privacy}","received_events_url":"https://api.github.com/users/hanxinimm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T16:20:55Z","updated_at":"2018-03-14T05:16:19Z","closed_at":null,"author_association":"NONE","body":"```\r\nnamespace Actor1.Interfaces\r\n{\r\n    /// <summary>\r\n    /// \r\n    /// \r\n    /// </summary>\r\n    public interface IActor1 : IActorService\r\n    {\r\n        /// <summary>\r\n        /// \r\n        /// </summary>\r\n        /// <returns></returns>\r\n        Task<int> GetCountAsync(CancellationToken cancellationToken);\r\n\r\n        /// <summary>\r\n        /// \r\n        /// </summary>\r\n        /// <param name=\"count\"></param>\r\n        /// <returns></returns>\r\n        Task SetCountAsync(int count, CancellationToken cancellationToken);\r\n    }\r\n}\r\n```\r\nOr\r\n\r\n```\r\nnamespace Actor1.Interfaces\r\n{\r\n    /// <summary>\r\n    /// \r\n    /// \r\n    /// </summary>\r\n    public interface IActor1 : IService\r\n    {\r\n        /// <summary>\r\n        /// \r\n        /// </summary>\r\n        /// <returns></returns>\r\n        Task<int> GetCountAsync(CancellationToken cancellationToken);\r\n\r\n        /// <summary>\r\n        /// \r\n        /// </summary>\r\n        /// <param name=\"count\"></param>\r\n        /// <returns></returns>\r\n        Task SetCountAsync(int count, CancellationToken cancellationToken);\r\n    }\r\n}\r\n```\r\n\r\nbuild exception\r\n\r\n2>Actor1 -> C:\\Users\\HanXin\\Documents\\Visual Studio 2017\\Projects\\Application3\\Actor1\\bin\\Debug\\netcoreapp2.0\\win7-x64\\Actor1.dll\r\n2>Assert Failure\r\n2>Expression: [Recursive resource lookup bug]\r\n2>Description: Infinite recursion during resource lookup within System.Private.CoreLib.  This may be a bug in System.Private.CoreLib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names.  Resource name: ArgumentNull_Generic\r\n2>Stack Trace:\r\n2>   at System.SR.InternalGetResourceString(String key)\r\n2>\r\n2>   at System.SR.GetResourceString(String resourceKey, String defaultString)\r\n2>\r\n2>   at System.ArgumentNullException..ctor(String paramName)\r\n2>\r\n2>   at System.Runtime.Loader.AssemblyLoadContext.GetLoadContext(Assembly assembly)\r\n2>\r\n2>   at System.Reflection.Assembly.LoadFromResolveHandler(Object sender, ResolveEventArgs args)\r\n2>\r\n2>   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)\r\n2>\r\n2>   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)\r\n2>\r\n2>   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)\r\n2>\r\n2>   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)\r\n2>\r\n2>   at System.SR.InternalGetResourceString(String key)\r\n2>\r\n2>   at System.SR.GetResourceString(String resourceKey, String defaultString)\r\n2>\r\n2>   at System.ArgumentNullException..ctor(String paramName)\r\n2>\r\n2>   at System.Runtime.Loader.AssemblyLoadContext.GetLoadContext(Assembly assembly)\r\n2>\r\n2>   at System.Reflection.Assembly.LoadFromResolveHandler(Object sender, ResolveEventArgs args)\r\n2>\r\n2>   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)\r\n2>\r\n2>   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)\r\n2>\r\n2>   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)\r\n2>\r\n2>   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)\r\n2>\r\n2>   at System.SR.InternalGetResourceString(String key)\r\n2>\r\n2>   at System.SR.GetResourceString(String resourceKey, String defaultString)\r\n2>\r\n2>   at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)\r\n2>\r\n2>   at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)\r\n2>\r\n2>   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)\r\n2>\r\n2>   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)\r\n2>\r\n2>   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)\r\n2>\r\n2>   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)\r\n2>\r\n2>   at Microsoft.ServiceFabric.Actors.Runtime.ActorTypeInformation.Get(Type actorType)\r\n2>\r\n2>   at FabActUtil.Tool.LoadActors(Assembly inputAssembly, IList`1 actorFilters, IList`1 actorTypes)\r\n2>\r\n2>   at FabActUtil.Tool.LoadActors(ToolContext context)\r\n2>\r\n2>   at FabActUtil.Tool.Run(ToolArguments arguments)\r\n2>\r\n2>   at FabActUtil.Program.Main(String[] args)\r\n2>C:\\Users\\HanXin\\.nuget\\packages\\microsoft.servicefabric.actors\\3.0.467\\build\\netcoreapp2.0\\Microsoft.ServiceFabric.Actors.targets(22,5): error MSB3073: 命令“dotnet \"obj\\\\FabActUtilTemp\\FabActUtil.dll\" /spp:\"PackageRoot\" /t:manifest /sp:\"Actor1\" /in:\"bin\\Debug\\netcoreapp2.0\\win7-x64\\\\Actor1.dll\" /arp:\"C:\\Users\\HanXin\\Documents\\Visual Studio 2017\\Projects\\Application3\\Actor1\\bin\\Debug\\netcoreapp2.0\\win7-x64\\\\\" ”已退出，代码为 -2146232797。\r\n\r\n\r\n<ItemGroup>\r\n    <PackageReference Include=\"Microsoft.ServiceFabric\" Version=\"6.1.467\" />\r\n    <PackageReference Include=\"Microsoft.ServiceFabric.Actors\" Version=\"3.0.467\" />\r\n    <PackageReference Include=\"Microsoft.ServiceFabric.Data\" Version=\"3.0.467\" />\r\n    <PackageReference Include=\"Microsoft.ServiceFabric.Services\" Version=\"3.0.467\" />\r\n  </ItemGroup>\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/comments/372907336","html_url":"https://github.com/Azure/service-fabric-issues/issues/911#issuecomment-372907336","issue_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/911","id":372907336,"user":{"login":"ashishnegi","id":1728946,"avatar_url":"https://avatars0.githubusercontent.com/u/1728946?v=4","gravatar_id":"","url":"https://api.github.com/users/ashishnegi","html_url":"https://github.com/ashishnegi","followers_url":"https://api.github.com/users/ashishnegi/followers","following_url":"https://api.github.com/users/ashishnegi/following{/other_user}","gists_url":"https://api.github.com/users/ashishnegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishnegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishnegi/subscriptions","organizations_url":"https://api.github.com/users/ashishnegi/orgs","repos_url":"https://api.github.com/users/ashishnegi/repos","events_url":"https://api.github.com/users/ashishnegi/events{/privacy}","received_events_url":"https://api.github.com/users/ashishnegi/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T05:16:19Z","updated_at":"2018-03-14T05:16:19Z","author_association":"NONE","body":"This is netcore bug. @hanxinimm Try fix provided at https://github.com/dotnet/corefx/issues/23608#issuecomment-325422701\r\n\r\nOr update your dotnet runtime to 2.0.3."}}
{"actor":{"display_login":"ashishnegi"}}