Home Visual Studio creating duplicate cshtml files
Reply: 1

Visual Studio creating duplicate cshtml files

PaulMcCarthy Published in 2017-09-12 11:04:14Z

Has anyone else had this problem? VS2015 Community keeps creating duplicates of my views. There is one other developer working on these, with github for version control. It only appears to be a problem on one branch.

They're not true duplicates in the sense that if you delete one, the other is empty and the project fails to compile. Anyone else had this?

PaulMcCarthy Reply to 2017-09-20 16:44:43Z

As pointed out by @Chetan Ranpariya above this is the result of heavy merging by multiple developers using the Visual Studio merge tools, which failed to resolve. Problem solved by unloading the project startup file in VS, copying to Excel, removing duplicate statements and pushing back into VS and reloading the project.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.332653 second(s) , Gzip On .

© 2016 Powered by cudou.com design MATCHINFO