Currently I am getting the following error:
An exception was thrown in the remote environment: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: The path 'C:\dev\Interaction\Interaction-Core-7-Plus\core\.msbuild\*.props' could not be processed because it is not of legal form
I think this is caused by the following lines being present in the project file
<Import Project="$(SolutionDir).msbuild\*.props" />
<Import Project="$(SolutionDir).msbuild\*.targets" />
<Import Project="$(ProjectDir).msbuild\*.props" />
<Import Project="$(ProjectDir).msbuild\*.targets" />
Specifying a wildcard is valid as per the documentation
https://learn.microsoft.com/en-us/visualstudio/msbuild/import-element-msbuild?view=vs-2022
Is there anything I can do to navigate around this so I can use NCrunch?
Build/Test Issues
Cannot run due to Import in C# Project file
Started by WilliamBowsher on 1,366 views
Remco NCrunch Developer
#16682
23 Jun 2023 02:15 UTC
Thanks for sharing this problem.
I've managed to squeeze a fix for this in the version of NCrunch released today (v4.17).
Could you give it a try and let me know if this solves the problem for you?
I've managed to squeeze a fix for this in the version of NCrunch released today (v4.17).
Could you give it a try and let me know if this solves the problem for you?
All working again, Thanks for the super fast turnaround. Keep up the great work.
Post a reply
Log in to reply.