开发者

Delete some class files in visual studio, but calling them still works

开发者 https://www.devze.com 2023-02-17 00:50 出处:网络
I am not sure if this is a proble开发者_JAVA百科m with visual studio, but I had some class files that I deleted, but I can still call them in my code.Also I can call a .edmx i created, but I cant see

I am not sure if this is a proble开发者_JAVA百科m with visual studio, but I had some class files that I deleted, but I can still call them in my code. Also I can call a .edmx i created, but I cant see it in my folder, i tried rebuilding my solution, cleaning it, rerunning it, checking source files. Its also causing a lot of my classes to have this error:

Missing partial modifier on declaration of type 'MatchGaming.Models.MyProfile'; another partial declaration of this type exists

I already tried adding partial and it i just get a bunch of errors everywhere else saying that a lot of my variables already contain a definition, almost like theres a duplicate class stuck in the cache or something.


Found the problem, had to delete some xml in the web.config file

0

精彩评论

暂无评论...
验证码 换一张
取 消