Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with Epoxy.Avalonia11 on .NET 9.0 SDK (MSB6003 error) #47

Open
InuInu2022 opened this issue Dec 9, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@InuInu2022
Copy link

Description

Using the .NET 9.0 SDK with Epoxy results in a build failure. An MSB6003 error is displayed.
This issue was confirmed with Epoxy.Avalonia11.


Steps to Reproduce

  1. Create a new C# project using the Avalonia xplat template with the .NET 9.0 SDK.
  2. Install the Epoxy.Avalonia11 NuGet package.
  3. Replace CommunityToolkit.MVVM with Epoxy and update the ViewModel accordingly.
  4. Observe a build error.

Expected Behavior

The build succeeds even with the .NET 9.0 SDK.


Actual Behavior

The build fails when using the .NET 9.0 SDK.
The build succeeds when using the .NET 8.0 SDK.


Screenshots or Logs

Here is the log output when the error occurs:

【Path】\.nuget\packages\epoxy.build\1.15.0\build\Epoxy.Build.targets(111,5): error MSB6003:
      指定されたタスク実行可能ファイル "cmd.exe" を実行できませんでした。
      System.IO.DirectoryNotFoundException:  作業ディレクトリ "【Path】\.nuget\
      packages\epoxy.build\1.15.0\tools\net9.0" が存在しません。
         at Microsoft.Build.Tasks.Exec.GetWorkingDirectory()
         at Microsoft.Build.Utilities.ToolTask.GetProcessStartInfo(String pathToTool      , String commandLineCommands, String responseFileSwitch)
         at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String       responseFileCommands, String commandLineCommands)
         at Microsoft.Build.Tasks.Exec.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
         at Microsoft.Build.Utilities.ToolTask.Execute()

Environment

  • OS: Windows 10 Home (22H2)
  • Application Version: v1.15.0
  • .NET Runtime: 9.0.100

Additional Information

I haven't investigated the cause in detail, but it seems that a similar build error occurs with Epoxy.Wpf as well.

@kekyo kekyo added the bug Something isn't working label Dec 9, 2024
@kekyo kekyo self-assigned this Dec 9, 2024
@kekyo
Copy link
Owner

kekyo commented Dec 9, 2024

Fixed 1.16.0, will be deployed in few minutes.
Could you please test new version?

@InuInu2022
Copy link
Author

Thank you very much. I checked with the latest version and the build went through successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants