-1

I have a visual studio project and i add .ignore file for visual studio ignore file from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

When i commit file it ignore all dll from bin folder but i need to upload some necessary dll file to repo. How can i achieve this.

Not ignore file like

AjaxControlToolkit.dll 
CKEditor.NET.dll
CLRIntegration.dll

3 Answers 3

3

If you really need to have these dll files part of your version control, then you can use git add --force to add them to your Git tracking list, e.g.

git add --force AjaxControlToolkit.dll

This assumes that the three dll files you listed above are currently in the Visual Studio .gitignore file you mentioned above.

0

Append this to your .gitignore file.

# bin folder being ignored in the gitignore
[Bb]in/

# exclude these file
!AjaxControlToolkit.dll 
!CKEditor.NET.dll
!CLRIntegration.dll

It will exclude these files from being ignored.

0

You likely have your bin directory in a directory that is included in the .gitignore. Analyze your directory structure and the contents of .gitignore to figure out which it is.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.