Skip to content

FileNotFoundException SharpProj.dll for Microsoft.NET.Sdk.Web #52

@elliz

Description

@elliz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions