Comments (7)
使用了<BeautyHiddens>*.deps.json;*.runtimeconfig*.json</BeautyHiddens
from netbeauty2.
另外,exe和主dll及其pdb文件,nbloader.dll 等 能否通过配置放到bin子目录中.
目前 *.pdb; pdb这么搞是有问题的
xxx.config,appsetting.json,Microsoft.AspNetCore.Components.WebView.WindowsForms.xml 等通过配置放到例如 config子目录中.
from netbeauty2.
from netbeauty2.
另外,exe和主dll及其pdb文件,nbloader.dll 等 能否通过配置放到bin子目录中.
目前 *.pdb; pdb这么搞是有问题的
xxx.config,appsetting.json,Microsoft.AspNetCore.Components.WebView.WindowsForms.xml 等通过配置放到例如 config子目录中.
目前来说,pdb和xml并没有一个很好的方案去处理该放哪里,特别是xml,因为这还涉及到应用、编辑器或者其他工具是怎么去读取的(文档注释类xml文件),而NetBeauty
是无法知道的,现在的方案是跟随它自身所属的程序集,是否可以弄一个测试案例看下具体是什么情况看下有没有更合适的处理方案?
你说的第二种其他类特殊文件,比如nbloader.dll
主程序.dll
deps.json
还有一些特殊的.dll
等文件是必须放于根目录的,这是runtime
写死的读取位置,如果要实现其他位置需要对corehost
进行大的魔改,随着.NET版本的不断推进更新,魔改代码也会越来越难以合并,所以这类文件几乎是不可动的。
第三类可能涉及到的就是程序可能会用到的其他且和runtime
无关的文件,比如config
langs
等等之类的文件,这个是能做到通过配置移动到指定的子目录中的,但现在还没这个功能。
from netbeauty2.
现在还有一种新的singlefile
结构(非官方的单文件部署
)是有望做到根目录3~5个文件/文件夹以下的,但目前这种方案的实施比较困难,没研究透。
from netbeauty2.
有的时候还是会失败. 然后全部重新生成一下,又好了.
from netbeauty2.
有的时候还是会失败. 然后全部重新生成一下,又好了.
这个不确定是不是vs或者msbuild的问题,我的vs编译的时候偶尔也会莫名报obj/XXX/XXX.g.cs
的报错,像Access is denied
这个问题我也曾在并行编译或者极少机会还是会出现,原因是在跑NetBeauty任务的时候,有一部分文件还在生成或写入就会导致读取失败,现在NetBeauty任务已经尽可能在最后才运行了,而且是有任务依赖的,如果还有出现只能清理项目再编译一次了。
from netbeauty2.
Related Issues (20)
- Missing artifacts for v6.0.6 for NetCoreBeauty HOT 1
- VirusTotal flags the nbeauty2.exe as malicious HOT 3
- REPORT MISSING ARTIFACTS IN HERE
- BeautyHiddens的问题
- Error: cannot find a compatible rid for win-x64 HOT 5
- Feature request for patch when debug HOT 4
- .NET 7.0 support HOT 1
- Weird artifact error HOT 5
- 编译 debug 是无效的对吧? HOT 4
- Could not load file or assembly System.Configuration.ConfigurationManager even when in BeautyExcludes HOT 8
- In some cases, Netbeauty2 may cause the same dll to be loaded multiple times HOT 2
- Could not find or load a specific file System.Configuration.ConfigurationManager.dll HOT 8
- Visual Studio publish profile doesn't trigger NetBeauty HOT 14
- 能够实现比较极端的模式么 HOT 7
- Roll forward global tools HOT 5
- XamlParseException in Version 2.1.3.3 HOT 4
- System.IO.Packaging.dll not moved to libraries after publish HOT 9
- Force the app to use the dll in Libraries even if they exist in the root folder HOT 12
- Is it normal the pdb are not moved to the library folder ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbeauty2.