(方框)在类文件的末尾添加垃圾字符 [英] (square boxes)Junk characters gets added at the end of class file

查看:73
本文介绍了(方框)在类文件的末尾添加垃圾字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨memebers,



在用新文件替换旧文件后,在类文件的末尾添加垃圾字符(方框)。

在构建操作时,由于字符无效,我收到错误。



编辑每个文件并手动替换这些sqaure框是非常耗时的





请帮助

解决方案

嗨..,

U不能直接替换,你必须添加那些文件(复制/粘贴到文件夹不起作用)。



添加后还要确保Build操作文件的属性在Visual Studio中设置为编译。也许当您最初添加文件时,您将其添加到某个位置或将其添加为未自动正确设置构建操作的文件类型。



希望它有所帮助

Hi memebers,

Junk characters(square boxes) gets added at the end of class file after replacing old file with new file .
While build operation , i get an error as character is not valid.

It is very time consuming to edit every file and manually replace those sqaure boxes


Please help

解决方案

Hi..,
U cannot replace directly, you have to add those files(Copy/paste to the folder will not work).

After adding also make sure that the "Build Action" property of the file is set to "Compile" in Visual Studio. Perhaps when you initially added the file, you added it to a location or added it as a file type that did not automatically set the build action properly.

Hope it helps.


这篇关于(方框)在类文件的末尾添加垃圾字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆