Skip to content

Platform Sample does not run on OSX #447

@hazel-bohon

Description

@hazel-bohon

Describe the bug

Description

When running the platform sample from the getting started > quick start page, I was unable to get the Platform project to run. I encountered the following error:

➜  Platform dotnet run
/usr/local/share/dotnet/sdk/8.0.403/Microsoft.Common.CurrentVersion.targets(5321,5): error MSB3024: Could not copy the file "/Users/hazel/dev/tutorials-quickstart/Platform/obj/Debug/net8.0/apphost" to the destination file "bin/Debug/net8.0/Platform", because the destination is a folder instead of a file. To copy the source file into a folder, consider using the DestinationFolder parameter instead of DestinationFiles. [/Users/hazel/dev/tutorials-quickstart/Platform/Platform.csproj]

The build failed. Fix the build errors and run again.

Expected behavior

We expect the application to run on OS X.

Actual behavior

There is an error. Other parts of the sln work without issue.

Versions

3.2.3

Please list the version of the relevant packages or applications in which the bug exists.

Steps to reproduce

  1. On OSX, download the quick start zip project.
  2. Unzip the project and navigate to the Platform directory
  3. run dotnet run

Relevant log output

/usr/local/share/dotnet/sdk/8.0.403/Microsoft.Common.CurrentVersion.targets(5321,5): error MSB3024: Could not copy the file "/Users/hazel/dev/tutorials-quickstart/Platform/obj/Debug/net8.0/apphost" to the destination file "bin/Debug/net8.0/Platform", because the destination is a folder instead of a file. To copy the source file into a folder, consider using the DestinationFolder parameter instead of DestinationFiles. [/Users/hazel/dev/tutorials-quickstart/Platform/Platform.csproj]

The build failed. Fix the build errors and run again.

Additional Information

Workarounds

No known work arounds.

Possible solutions

🤷🏻‍♀️

Additional information

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