当前位置:网站首页>Problems encountered during commissioning of C # project
Problems encountered during commissioning of C # project
2022-06-13 07:07:00 【AndroidOrCSharp】
1. Use EF As data Library connection tool , During debugging, you will encounter such as Model PK Error and other prompt information , This is usually because the database table structure changes but is not updated in the project Model As a result of , This situation is generally Update once model Or delete the table and add it .
But I don't know the reason for the following problem , If you have encountered the same problem or know how to solve it, leave a message to guide you .

2. When the project is released You may encounter that you can't put some dll Load into the release file , perhaps bin Some of the following dll What can't be found , In this case Generally put bin and obj Folder Click not included in the project Pictured .

3. Use EF As a database connection tool , The database connection information is recorded in Model Of App.config in , If you want to use it directly in the project xxEntities.TableNmae Or Linq & Lambda perform SQL when , Need in the project config Configure the same database connection information in the file .
4. The assembly manifest definition found does not match the assembly reference
When a project references a new Nuget Package or upgrade Nuget Package version , After the release, we usually have no problem locally , because Web.config It has been updated with , But because the server is generally Web.config The file will not be overwritten , Pay attention to runtime Reference package version under , Otherwise, it is easy to cause the conflict that the assembly manifest definition does not match the assembly reference
~~~~~~~ It will be updated continuously in the future
边栏推荐
- MongoDB系列之SQL和NoSQL的区别
- FSM state machine
- Lightning breakpoint continuation
- 数字时代进化论
- Tidb server tuning
- Through the function seaborn cubehelix_ Palette build order palette
- [Markov chain Monte Carlo] Markov chain Monte Carlo method sampling prior distribution
- RT-Thread 模拟器 simulator LVGL控件:switch 开关按钮控件
- WWDC2022最大的亮点: MetalFX
- Nfv basic overview
猜你喜欢

上位机开发(固件下载软件之详细设计)

Normalizing y-axis in histograms in R ggplot to proportion

2022-06-12:在N*N的正方形棋盘中,有N*N个棋子,那么每个格子正好可以拥有一个棋子。 但是现在有些棋子聚集到一个格子上了,比如: 2 0 3 0 1 0 3 0 0 如上的二维数组代表,一

RT thread simulator lvgl control: switch switch button control

First day of learning MySQL Basics

RT-Thread 模拟器 simulator LVGL控件:slider 控件

New Taishan crowdfunding business diversion fission growth model in 2022

百货中心供应链管理系统

AIO Introduction (VIII)

Host computer development (Architecture Design of firmware download software)
随机推荐
【马尔科夫链-蒙特卡罗】马尔科夫链-蒙特卡罗方法对先验分布进行抽样
Related operations under Oracle Database
The new business outlet of beautiful Tiantian second mode will be popular in the Internet e-commerce market
MySQL系列之分库分表学习笔记
牙周炎问题调研(持续进行中)
Chain 2+1 reward, what kind of mode is beautiful everyday seconds?
10 Honest Facts I Want To Share With All Junior Developers
Priority analysis of list variables in ansible playbook and how to separate and summarize list variables
How to seize the bonus of social e-commerce through brand play to achieve growth and profit?
杭州网上开户是安全的吗?
个人js学习笔记
Xuanwu cloud technology passed the listing hearing: the performance fluctuated significantly, and chenyonghui and other three were the controlling shareholders
对绘制丘岭密度图ridge plot的详细说明、重叠核密度估计曲线overlapping densities、FacetGrid对象、函数sns.kdeplot、函数FacetGrid.map
TXT_ File encryption and compression
Through the function seaborn cubehelix_ Palette build order palette
Jinglianwen technology provides a one-stop smart home data acquisition and labeling solution
Periodontitis investigation (ongoing)
SDN基本概述
Tidb statistics
[RS-422 and RS-485] RS-422 and RS-485 serial interface standard