You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have SharpProj working in unit test and console .net6 projects using Microsoft.NET.Sdk
When we try to run it in an api using Microsoft.NET.Sdk.Web then we get the following error (even though the dll is found in the same place in bin as the console app.
Could not load file or assembly 'SharpProj, Version=9.2000.234.0, Culture=neutral, PublicKeyToken=3a930e679d9a0873'. The system cannot find the file specified.
looking at the output pane in VS can see this:
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dll
Copying the appropriate dll using post build scripts does not work either, or forcing ijwhost.dll.
The text was updated successfully, but these errors were encountered:
I got the same error. What helped in my case (when starting the project in Visual Studio) was to set the Working directory to the the same as <OutputPath>. Without that, the process looked for ijwhost.dll everywhere in %PATH%, except for the actual folder, where the main .exe was.
We have SharpProj working in unit test and console .net6 projects using Microsoft.NET.Sdk
When we try to run it in an api using Microsoft.NET.Sdk.Web then we get the following error (even though the dll is found in the same place in bin as the console app.
looking at the output pane in VS can see this:
Copying the appropriate dll using post build scripts does not work either, or forcing ijwhost.dll.
The text was updated successfully, but these errors were encountered: