-
-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Description
Expected Behavior
Compiles without any issues and places libEGL.dylib in bin\Debug\netcoreapp3.1\TestEtoProgram.Mac.app\Contents\Resources
Actual Behavior
Error while building
Error | MSB3021 | Unable to copy file "C:\Users\Hamish\Downloads\libEGL.dylib" to "bin\Debug\netcoreapp3.1\TestEtoProgram.Mac.app\Contents\Resources\C:\Users\Hamish\Downloads\libEGL.dylib". The given path's format is not supported. | TestEtoProgram.Mac | C:\Users\Hamish\.nuget\packages\eto.platform.mac64\2.5.6\build\Eto.Platform.Mac64.targets | 232 |
Steps to Reproduce the Problem / Code that Demonstrates the Problem
- Create an eto project with standard Mac64 target with .net core
- Add the following to the project file (with the absolute path to a file that exists)
<ItemGroup>
<BundleResource Include="C:\Users\Hamish\Downloads\libEGL.dylib">
<Link>libEGL.dylib</Link>
</BundleResource>
</ItemGroup>- Attempt to build
Specifications
- Version: 2.5.6
- Platform(s): Mac, .NET Core 3.1
- Operating System(s): (built on) Windows 10
This behaviour deviates to what a Visual Studio for Mac cocoa app does, which copies to program.app/Contents/Resources/linkpath if linkpath is specified.
I do believe that the error is somewhere near this line