当前位置:网站首页>C WPF normal project suddenly prompts that the name "initializecomponent" does not exist in the current context
C WPF normal project suddenly prompts that the name "initializecomponent" does not exist in the current context
2022-07-28 18:11:00 【Ripo_ za】
Problem description
An existing C# project , It's good to open it before , Never changed , The following error will be prompted when you reopen it recently , Lead to wpf The control of failed to initialize , Some control prompts cannot be found .
Although there are red lines indicating errors , But the project can still run .
The name... Does not exist in the current context “InitializeComponent”
resolvent
There are many solutions to this problem on the Internet , Mostly for sure namespace And so on , Those solutions are mainly for errors caused by copying code .
The effective solution to my situation is
1、 Open and prompt the wrong file (xaml.cs) Corresponding to xaml file
2、 Make any changes , For example, add a space or something
3、 Then save
4、 At this time, it should be good to return to the file just prompted
Simply put, save it again xaml file .
Solve the issue from https://www.itranslater.com/qa/details/2110249013411841024
边栏推荐
- 视频号如何将公域流量将用户导入私域
- Electrotechnics self study notes 1.20
- 视频号小白起号操作指南
- 关于localtion 下的root和alias的区别
- 视频号账号变现的一些方法
- 计算机组成原理核心知识点总结&面试笔试要点[通俗易懂]
- Association between enterprise wechat and video Number
- The best implementation of horizontal listview -- recycleview
- Compilation principle learning notes 1 (compilation principle overview and lexical analysis)
- LeetCode--45. 跳跃游戏Ⅱ(贪心)
猜你喜欢

数字滤波器(一)--IIR与FIR的基本结构与MATLAB实现
![[reading notes] for paper: summary of three papers in r-cnn series](/img/1d/8b862ac66ea04d9371f64e35fc4396.png)
[reading notes] for paper: summary of three papers in r-cnn series

OpenMV(五)--STM32实现人脸识别

The difference between probability function p (x), probability distribution function f (x) and probability density function f (x)

Fluent: exception handling

个人制作:AD库、元件库、封装库及3D模型,免费

Tensorflow2.0 (XI) -- understanding LSTM network

硬件工程师成长之路(0)----认识元件

Openpcd installation process record

Digital filter (V) -- design IIR filter
随机推荐
OpenMV(一)--基础介绍与硬件架构
Musk uses live pigs to show a new brain computer interface technology: it can read pig brain information in real time
联发科已向美方提交申请,力求9月15日后仍可向华为供货
2.1 operator
centos8按照docker官网创wordpress+mysql报错解决
Andorid: Zxing.Demo二维码扫描框架遇到的坑
视频号一条视频播放2.6亿
Tips--对卷积的物理意义的理解
Branch and loop statements
Video number from 2-3 games per week to 3 games per day
数字滤波器(二)--最小相位延时系统和全通系统
开了一个网站的会员,需要下载电子书的留言即可,免费帮下载
Video Number Xiaobai starting operation guide
公众号和视频号互相绑定带来的功能
Processes, threads, semaphores, and mutexes
uniapp本地打包权限配置问题
沪硅产业上半年营收8.5亿元,同比增长30.53%!各类产品认证正在加速
Mmdetection3d (2) -- visualization of results and logs
视频号如何将公域流量将用户导入私域
Openpcd installation process record