Comments
1 comment
-
Official comment
Hi rick105,
Thank you for reaching out on the Redgate forums regarding your SmartAssembly concern.
Interesting that you have a variance between VS build process over running it through SmartAssembly GUI directly. Since your other .NET 8.0 projects obfuscate correctly, here are some things to check:
1️⃣ Compare SA Logs (Build vs. UI) – Check if the build log shows SA skipping obfuscation or using the wrong input/output paths.
2️⃣ Check the SmartAssembly Project File (.saproj) – Open it in a text editor and compare it to a working one. Make sure dependency merge/embed settings match.
3️⃣ Investigate MSBuild Process – Run
MSBuild /verbosity:diagnostic
to see if SA is being invoked properly for this project.4️⃣ Check the SA Task in .csproj – Verify that SA is actually being triggered. You might have something like:
<Target Name="AfterBuild"> <Exec Command=""$(SmartAssemblyPath)\SmartAssembly.com" /build MyProject.saproj" /> </Target>
Try running this command manually to see if it works outside the build.
5️⃣ Check Dependencies – Does this project reference anything different, like native libraries or unmanaged code?
6️⃣ Rebuild from Scratch – Try a full clean (
bin/obj
deletion) and test with a fresh SA project file.If nothing stands out, feel free to share your SA logs and
.saproj
file so we can investigate furtherI have generated a secure file-link to provide any logs/project files. This link is valid for 14 days.
Add comment
Please sign in to leave a comment.