admin管理员组文章数量:1432752
When trying to run my program on a different computer it does not run and/or asks for .NET installation even if the program was published as self-contained.
I've tried to share a program with some people, first the program wouldn't do anything when trying to publish from Visual Studio.
Used the solution from (doing it from terminal): Create Self Contained Single exe File From C# WPF Application
Now the self contained program asks for .NET to be installed
Tried the solution from: dotnet publish --self-contained -> running the app still asks for installation
And now is asking for a different .NET version and the link to said version is just &gui=true
, so it does nothing
My questions are:
- Is there a difference between publishing from VS and the terminal?
- Is there a way I can publish in a way that I get a single
.exe
that does not ask for global .NET installation ? and how ?
本文标签: wpfSelf contained program asking to install dotnetStack Overflow
版权声明:本文标题:wpf - Self contained program asking to install dotnet - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745581853a2664667.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论