Skip to content
New issue

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

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

Already on GitHub? # to your account

Just installed and CS0246... #6

Open
richardaubin opened this issue Nov 7, 2024 · 3 comments
Open

Just installed and CS0246... #6

richardaubin opened this issue Nov 7, 2024 · 3 comments
Assignees

Comments

@richardaubin
Copy link

image

@richardaubin
Copy link
Author

Both of these don't seem to exist:
image
image

@camnewnham
Copy link
Owner

It looks like the hint path isn't being correctly set during the project setup. The expected behaviour is for the non-develop configuration to include a hint path @ https://github.com/camnewnham/HotLoader/blob/main/Plugin/HotComponentBase.cs#L633-L640

  <ItemGroup Condition="'$(Configuration)'!='Develop'">
    <Reference Include="HotComponent">
      <HintPath>C:\Users\%you%\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\HotLoader\0.1.0\HotLoader.gha</HintPath>
      <Private>False</Private>
    </Reference>
  </ItemGroup>

I'm not sure what would be causing this on your machine. One thing that comes to mind is sometimes the filesystem APIs are not entirely as synchronous as they should be. I guess the file also shouldn't be opened until the assembly references have been set @

Process.Start(new ProcessStartInfo()

  • Are you using VS2022 as your IDE?
  • Does opening the csproj (double clicking the generated project) for a second time set the path correctly?

@camnewnham camnewnham self-assigned this Nov 8, 2024
@richardaubin
Copy link
Author

richardaubin commented Nov 8, 2024 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants