Search found 5 matches

by AuDim
Thu Oct 23, 2025 12:59 pm
Forum: Technical questions
Topic: PublishSingleFile=true for .NET
Replies: 15
Views: 12304

Re: PublishSingleFile=true for .NET

Thanks, but: You wrote: >You should exclude renaming for all classes used in reflection I don't use Reflection anywhere in my code. But I tried adding the tag to the project file: <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects> But it didn't work, the error was the same: Could not...
by AuDim
Wed Oct 22, 2025 2:18 pm
Forum: Technical questions
Topic: PublishSingleFile=true for .NET
Replies: 15
Views: 12304

Re: PublishSingleFile=true for .NET

Thank you so much! On the GUI on SinglFile: Now the same thing, but with "CommunityToolkit.Mvvm". And this assembly is in "Imports" too. ??? If I run a simple application (not a SinglFile) from the GUI, compilation succeeds. But the application won't launch. PS: In the code, I on...
by AuDim
Fri Oct 17, 2025 3:45 pm
Forum: Technical questions
Topic: PublishSingleFile=true for .NET
Replies: 15
Views: 12304

Re: PublishSingleFile=true for .NET

I rebuilt the application to use a single executable DLL, but it didn't help. The error persists: Can't resolve type "System.Byte[], System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" (token: 0xc0000eb) Here's the assembly's bin directory: https://drive.goog...
by AuDim
Fri Oct 17, 2025 9:08 am
Forum: Technical questions
Topic: PublishSingleFile=true for .NET
Replies: 15
Views: 12304

Re: PublishSingleFile=true for .NET

I have the following structure in the .exe container: cnc.dll - executable code with "main" function. com.dll - assembly - where the main code is, included from cnc.dll It's com.dll that needs to be protected. I can't protect it even without linking to SingleFile. Now I'm trying it on a re...
by AuDim
Thu Oct 16, 2025 5:04 pm
Forum: Technical questions
Topic: PublishSingleFile=true for .NET
Replies: 15
Views: 12304

Re: PublishSingleFile=true for .NET

I have two questions about PublishSingleFile=true. 1. Am I correct in assuming the console version is being used here? And it won't work with a Lite license? 2. I get the error: [Error] Can't resolve assembly "Avalonia.Controls, Version=11.3.7.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b...