mirror of
https://github.com/brutaldev/StrongNameSigner.git
synced 2026-04-25 11:26:04 +03:00
[GH-ISSUE #69] It seems not working in sdk-style project with third-part packages #59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @songjiefa on GitHub (Apr 19, 2022).
Original GitHub issue: https://github.com/brutaldev/StrongNameSigner/issues/69
Originally assigned to: @brutaldev on GitHub.
I created a wpf project with sdk-style .net 4.8, then, I reference un strong name package and strong name signer, when I build it, it shows "no assembly paths were provided" and it works fine in ms-build project
@brutaldev commented on GitHub (Apr 19, 2022):
@songjiefa please provide a sample project so we can reproduce the problem.
@songjiefa commented on GitHub (Apr 19, 2022):
Here is my sample coede: https://github.com/songjiefa/TestStrongNameSinger
@brutaldev commented on GitHub (Apr 22, 2022):
@songjiefa Apologies for the delay, I'm battling with COVID at the moment so my head hasn't been in code for a while...
The link you provided gets to a 404 page, any other way you can get me a sample project to reproduce the problem with?
@songjiefa commented on GitHub (Apr 23, 2022):
@brutaldev
These is not urgent, take care.
I'm sorry for the repository default visible option is private, now I have changed repository visibility to public now.
@brutaldev commented on GitHub (Apr 25, 2022):
@songjiefa The automatic build task uses the reference list to determine which dependencies to sign. Your SDK project has package references but no project references so it does not find anything to sign. To overcome this you need to add a build target yourself: https://github.com/brutaldev/StrongNameSigner/blob/master/README.md#dealing-with-dependencies
In
SdkStyle-Failed.csprojadd the following pre-build target:@songjiefa commented on GitHub (Apr 25, 2022):
Thank you, it works for me!
Because just just see it write "../packages/xxx" in readme file, and I dont't know the path about $(UserProfile).
Anyway, thanks again, and take care!!!