-
-
Notifications
You must be signed in to change notification settings - Fork 796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single-file deploymentBug #1150
Comments
I build and publish as a single file app. You have to set a few different things for MSBuild to actually produce a single file executable. Here is a link to the most recent Workflow run with the build artifact. |
thanks your reply and I will do your solution. Actually , I resolved that problem before through try ~ catch.
|
Expect the template to be fixed soon |
Single file deployments cannot use the |
Describe the bug
I using Wpf UI - Compact Navigation template. but after i deploy single file in the visual studio , when I setup exefile, it couldn't execute.
basic wpf app(without supporting WPFUI template) can execute.
this is maybe bug.
(I followed that "https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=vs" this guideline for single file deployment)
To Reproduce
You should try this guideline [ https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=vs ]
and then execute your app
see Publish a single-file app(visual studio) part in the guideline
Expected behavior
publish ok, but can't execute program app on the publish folder path.
Screenshots
No response
OS version
window 11
.NET version
.net 8.0 win-x86
WPF-UI NuGet version
WPF-UI 3.0.3
Additional context
if you have issue when you publish, you can request help to chat gpt
like it gave to me solution input into project's properties this
<PropertyGroup> <InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration</InterceptorsPreviewNamespaces> </PropertyGroup>
The text was updated successfully, but these errors were encountered: