Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
312 views
in Technique[技术] by (71.8m points)

entity framework - Web API Edmx and Connection String in not cloned

I have a Web API project in TFS it contains all files including edmx files and connection string in webConfig

When I cloned the project all files are exist in my local machine except the edmx files and connection string.

Why those files are not coming? I tried to get the latest again and they're still not cloned.

Shall I add the Data(ADO.net) manually? is it correct way to do it? and why it's not getting cloned?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Please check with the following things:

  1. How did you clone the repository? Using VS, or git clone command, or other methods? Please try different methods to see if the problem still occurs.

  2. Check whether the .edmx file was added into the .gitignore (if any). If yes, remove it from the .gitignore.

  3. Whether the ADO.NET Entity Data Model project was created by you? If it was created by other people, you need to confirm if the creator has set blocking other user to check out the specific files.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...