-
Hi, I have an idea for a DevToys extension, so I started following the "Getting Started" section. I set up my environment (Windows 11 + Visual Studio 2022 17.10.1 with .NET Desktop workload + environment path configured). However, when I try to create the minimal extension, I get stuck at the step where the resource assembly identifier is created. The Here's what I've checked so far:
What I've noticed is that the NuGet package doesn't seem to contain a DLL file (I'm not an expert on NuGet packages, so I don't know if this is normal, but I expected to see DevToys.Api.dll). When I compile the project, I can't see DevToys.Api.dll in the output folder. I observe different behavior when I try to add other references (like AutoMapper, for example): the DLLs are deployed in the output folder even if they are not explicitly used in a C# file. Does this mean that I have to add a DLL reference to DevToys.Api.dll from the installation folder? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, Sorry for the inconvenience. Can you please verify that in the CSPROJ, the reference to <PackageReference Include="DevToys.Api" /> And not <PackageReference Include="DevToys.Api">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup> Thanks. Please let me know if it helps. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your advice. As you suspected, the DevToys.Api reference in the csproj was similar to the second one you mentioned. I tried reinstalling it both via the VS NuGet Package Manager and the command line, but nothing changed. Then I updated the csproj manually with Thank you very much. |
Beta Was this translation helpful? Give feedback.
Hi,
Sorry for the inconvenience. Can you please verify that in the CSPROJ, the reference to
DevToys.Api
package isAnd not
Thanks. Please let me know if it helps.