当前位置:网站首页>asp. Net project using aspnet_ compiler. Exe Publishing
asp. Net project using aspnet_ compiler. Exe Publishing
2022-06-29 12:50:00 【suxuelian】
stay .net web After the project is developed , Want to publish using encryption , Obfuscated code , You can use aspnet_compiler.exe To publish .
The specific operation is as follows :
Use windows+r Input cmd Open the command operation page .
According to the .net framework Version uses the following command :
.net frameWork 4.5 following :cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
.net framework 4.5 And above :cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\
Then enter the compiled release code :
aspnet_compiler -v /eims1004 -p d:\myproject -d d:\project\ Release among d:\project\ Publish as destination folder for output ( The folder where the published file is located after publishing ) d:\myproject For target folder ( The folder where the project is published )
During the execution of the above code , Possible errors and solutions :
One 、 Unrecognized property targetFramework. Note that property names are case sensitive . Error resolution
This problem is probably caused by the above input .net framework when , Wrong command , Please refer to the version actually used in the project , Re select the corresponding command , Re execute the above process .
Two 、 Unrecognized features “xmlns:xdt”. Note that attribute names are case sensitive
When this problem occurs, first check whether your project contains obj Folder , If it contains, you need to exclude this folder from the project , If it still can't be solved after elimination . Please delete the item directly obj After folder , Re execute the above command to release .
边栏推荐
- 【云原生】2.4 Kubernetes 核心实战(中)
- Is it safe for Orient Fortune Securities to open an account? Handling of securities account opening
- Proteus Software beginner notes
- Unexpected ‘debugger‘ statement no-debugger
- Gbase8s database select has order by Clause 6
- 高校如何基于云原生构建面向未来的智慧校园?全栈云原生架构VS传统IT架构
- Gbase8s database select has order by Clause 5
- Pygame 精准检测图像碰撞
- 对p值的理解
- How to create new user for ORACLE 19c (CDB & PDB)
猜你喜欢

Blurred pictures become clear, one button two-color pictures, quickly organize local pictures These 8 online picture tools apply to join your favorites!

go 学习-搭建开发环境vscode开发环境golang

Baidu cloud disk downloads large files without speed limit (valid for 2021-11 personal test)

QQ group was stolen, a large-scale social death scene caught off guard

解决问题:ModuleNotFoundError: No module named ‘pip‘

Paper reproduction - ac-fpn:attention-guided context feature pyramid network for object detection

【云原生】2.4 Kubernetes 核心实战(中)

Proteus Software beginner notes

【LeetCode】14、最长公共前缀

MIT线性代数中文笔记
随机推荐
Nacos startup error
[comprehensive case] credit card virtual transaction identification
Gbase 8s extended external connection 1
如果我在深圳,到哪里开户比较好?另外想问,现在在线开户安全么?
How to create new user for ORACLE 19c (CDB & PDB)
【君正T31】只读rootfs文件系统squashfs的解压和打包
JVM之方法区
Quick look | the long-awaited 2022 Guangzhou assistant testing engineer's real problem analysis is finally released
墨菲安全入选中关村科学城24个重点项目签约
[环境配置]PWC-Net
MySQL主从同步之 异步复制 半同步复制 全同步复制
《Go题库·14》WaitGroup的坑
倍福PLC通过CANOpen通信控制伺服
ERP Kingdee for preparing BOM
面试突击61:说一下MySQL事务隔离级别?
智能指标驱动的管理和决策平台 Kyligence Zen 全新上线,限量内测中
InDesign插件-常规功能开发-JS调试器打开和关闭-js脚本开发-ID插件
如何計算win/tai/loss in paired t-test
[leetcode] 14. Longest public prefix
Go question bank · 14 the pit of waitgroup