Hi guys
Currently I have problem setting up Ncrunch in a new project.
It is a blazor project on .net 6 and the customer is using a custome dotnet tool to generate code.
This custom tool is available as a nuget package and needs to be installed with the command "dotnet tool restore".
When I start Ncrunch, i errors that the "dotnet" command is not known. As I found out in the MS docs, the "dotnet tool restore" command is only installing the tool for the current user.
Under which user is ncrunch executed and how can I install the custom tool for this user?
Currently I have the exe file added as "Additional files to include", which does not seem to work...
Remco NCrunch Developer
#16244
22 Aug 2022 23:03 UTC
Hi, thanks for posting.
Usually, Visual Studio will run the Nuget restore action when it opens your solution, which will install any packages required for the solution. Most likely the package is already installed on the machine but the build steps cannot find it as they haven't been engineered with NCrunch's constraints in mind.
Can you share any information around how this package operates or how it normally resolves the source generator? I'm assuming that it's the source generation that is causing an error under NCrunch.
Usually, Visual Studio will run the Nuget restore action when it opens your solution, which will install any packages required for the solution. Most likely the package is already installed on the machine but the build steps cannot find it as they haven't been engineered with NCrunch's constraints in mind.
Can you share any information around how this package operates or how it normally resolves the source generator? I'm assuming that it's the source generation that is causing an error under NCrunch.
Deleted post
#16481
25 Feb 2023 05:47 UTC
Deleted post
#16601
14 Apr 2023 05:53 UTC
Deleted post
#16762
17 Jul 2023 11:15 UTC
Deleted post
#16774
25 Jul 2023 10:06 UTC
Post a reply
Log in to reply.