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

Plugin not loading on server #3

Open
warrenatatlas opened this issue Mar 17, 2022 · 1 comment
Open

Plugin not loading on server #3

warrenatatlas opened this issue Mar 17, 2022 · 1 comment

Comments

@warrenatatlas
Copy link

warrenatatlas commented Mar 17, 2022

Firstly, thank you for this plugin!

Just wondering if we're done something wrong though, as we can't seem to get it to load when published to the server.

When running on localhost I can see:
image

But on the server:
image

... the App_Plugin folder isn't references there.

Installed the package by running "dotnet add package InlineSvgPicker"
And then included InlineSvgPicker in the solution so it would be published:

image

Is there something else we've missed?
Thank you

@lynnewritescode
Copy link
Owner

Hi @warrenatatlas, it doesn't look like you're missing anything...

Could you check you have these set in your .csproj file?

<ItemGroup>
    <PackageReference Include="InlineSvgPicker" Version="2.0.1" />
    <PackageReference Include="Umbraco.Cms" Version="9.3.1" />
</ItemGroup>
<PropertyGroup>
    <CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
    <CopyRefAssembliesToPublishDirectory>true</CopyRefAssembliesToPublishDirectory>
</PropertyGroup>

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

No branches or pull requests

2 participants