Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

not working with a nearly emtpy .net core 3 worker service
LukeHammer
#1 Posted : Monday, May 4, 2020 6:06:23 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/22/2019(UTC)
Posts: 1
Location: United States of America

I asked this question on stack overflow also.

https://stackoverflow.co...-netsore-worker-service


I have a Brand new Worker Service project using .Net Core 3.1 with the attached xunit project.

and NCrunch appears not to be able to build the base project.

I'm getting this error message

> NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d...ng_project-build-issues
..\..\..\..\..\..\..\Program Files\dotnet\sdk\3.1.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (424, 5): The "CreateAppHost" task failed unexpectedly.
Microsoft.NET.HostModel.HResultException: 8007006E
at Microsoft.NET.HostModel.ResourceUpdater.Update()
at Microsoft.NET.HostModel.AppHost.HostWriter.<>c__DisplayClass2_0.<CreateAppHost>g__UpdateResources|1()
at Microsoft.NET.HostModel.RetryUtil.RetryOnWin32Error(Action func)
at Microsoft.NET.HostModel.AppHost.HostWriter.CreateAppHost(String appHostSourceFilePath, String appHostDestinationFilePath, String appBinaryFilePath, Boolean windowsGraphicalUserInterface, String assemblyToCopyResorcesFrom)
at Microsoft.NET.Build.Tasks.CreateAppHost.ExecuteCore()
at Microsoft.NET.Build.Tasks.TaskBase.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()


**Question** What do I need to do to get a .Net Core 3.1 worker service to build with Crunch?
Remco
#2 Posted : Tuesday, May 5, 2020 12:00:15 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,064

Thanks: 788 times
Was thanked: 1026 time(s) in 976 post(s)
Hi, thanks for sharing this issue.

Presently we've performed no testing of NCrunch using this project template. It looks like a new one.

When I try the latest version of NCrunch over a project built using the VS .NET Core 3.1 Worker Service Project template, everything seems to build OK.

Is there an extra twist needed to make this fail? Is there any chance you could share your sample solution with me? You can ZIP it up and send it via the contact form.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.025 seconds.