How can we help you today? How can we help you today?
JeffElliott

Activity overview

Latest activity by JeffElliott

I'm getting almost exactly the same error -- also on WindowsBase.dll: [image] - SmartAssembly 8.1.2.4975 - ASP.NET Core 6.0.11.22523 (x86) - Desktop Runtime 6.0.11.31823 (x86) - WPF .NET 6.0 app; entire FolderProfile.pubxml looks like this: <?xml version="1.0" encoding="utf-8"?> <Project>   <PropertyGroup>     <Configuration>Release</Configuration>     <Platform>Any CPU</Platform>     <PublishDir>..\..\Publish_Files</PublishDir>     <TargetFramework>net6.0-windows10.0.17763</TargetFramework>     <RuntimeIdentifier>win-x86</RuntimeIdentifier>     <DebugType>embedded</DebugType>     <SelfContained>false</SelfContained>     <PublishSingleFile>false</PublishSingleFile>     <PublishReadyToRun>false</PublishReadyToRun>     <PublishTrimmed>false</PublishTrimmed>     <PublishProtocol>FileSystem</PublishProtocol>     <Verbosity>minimal</Verbosity>   </PropertyGroup> </Project> My "dotnet publish" build log shows "WindowsBase.dll" many, many times, and always in the same path shown in the error message: "C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.11\ref\net6.0\WindowsBase.dll" I added the "MandatoryPath" entry to my .saproj file so that line looks like: <Assembly AssemblyName="WindowsBase, Culture=neutral, PublicKeyToken=31bf3856ad364e35" MandatoryPath="C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.11\ref\net6.0\WindowsBase.dll"> Changed "MandatoryPath" to "HintPath" and got the same error. Tried it again with BOTH "MandatoryPath" and "HintPath" and got the same error. Spent numerous hours back at "Project Settings" disabling all other features, one by one, until I nailed it down to the first checkbox in the "Obfuscation" group. The error only appears when "Obfuscation" is checked -- and that's the main feature I really need to be working. Only "Selected Software" is populated; no other features are enabled INCLUDING no assemblies checked in "Dependencies Merging" nor in "Dependencies Embedding". ONE thing I noticed is that my project is for x86, but this error message says "C:\Program Files\..." not "(x86)". All my .csproj files have this under 'Release|AnyCPU': <PlatformTarget>x86</PlatformTarget> ...however "x86" doesn't appear anywhere in my .saproj file. So... hmmm... Thoughts? Questions? Answers?  :-) Many thanks in advance! / comments
I'm getting almost exactly the same error -- also on WindowsBase.dll: - SmartAssembly 8.1.2.4975- ASP.NET Core 6.0.11.22523 (x86)- Desktop Runtime 6.0.11.31823 (x86)- WPF .NET 6.0 app; entire Folde...
0 votes
saproj file contains duplicate entries (PublicKeyToken valid value vs null value)
Hi,I've inherited a small set of .saproj files that started life as SmartAssembly Pro v5 files, then were upgraded to v6, and recently to v8 (actually v8.1.1.4963).I've had to add a new project's D...
1 follower 1 comment 0 votes