git - Why after pushing my branch, my file disappeared from Solution Explorer? - Stack Overflow

Context:I recently started working on this project, this is the first WebForms that I add, after pushi

Context: I recently started working on this project, this is the first WebForms that I add, after pushing my branch on sourcetree, the file HR_OnTimeReward.aspx dissapeared and is no longer on my solution explorer

If I select the View All Files option, my file appears with a gray icon different than the other web forms and is no longer accesible by the button it used to redirect to it

Thanks in advance

Context: I recently started working on this project, this is the first WebForms that I add, after pushing my branch on sourcetree, the file HR_OnTimeReward.aspx dissapeared and is no longer on my solution explorer

If I select the View All Files option, my file appears with a gray icon different than the other web forms and is no longer accesible by the button it used to redirect to it

Thanks in advance

Share Improve this question edited Mar 20 at 15:38 ASh 35.7k9 gold badges65 silver badges87 bronze badges asked Mar 20 at 15:31 Soto A.Soto A. 114 bronze badges 4
  • Did you check the .csproj file to see if the file is still listed as included in the project? Were there any merge conflicts when you pushed your branch? – user29917028 Commented Mar 20 at 22:28
  • So here is what happend when I pushed the branch: -Made changes on Original WebForms -Created new webform -Only pushed changes on original forms -Created another branch and pushed new form – Soto A. Commented Mar 21 at 0:15
  • Okay, so it sounds like you only pushed changes to existing files in your initial push and the new webform was pushed in a separate branch. Keep that separation in mind when you're troubleshooting. – user29917028 Commented Mar 21 at 0:26
  • Where can I search the files included on the project? I tried searching on my own but couldn't find the feature – Soto A. Commented Mar 21 at 14:33
Add a comment  | 

1 Answer 1

Reset to default 0

Found the Fix for this particular Issue:

1.- Right click on gray icon file, select "Include in project" (On image "Exclude from project" after I included it)
2.- Push changes made on the .csproj including the file

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744399244a4572304.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信