Search
Submit a request
Sign in
How can we help you today?
Categories
Submit a request
Submit a request
Sign in
JeffElliott
Activity overview
Badges (0)
Posts (1)
Comments (1)
Comments
Sort by recent activity
Recent activity
Votes
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
Community
SmartAssembly
.NET 6 WPF project won't build
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
Total activity
3
Last activity
February 06, 2025 12:00
Member since
February 06, 2025 11:48
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
1