File outside project/added to solution folder/no check in

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
hgds
Posts: 2
Joined: Fri Nov 02, 2012 6:09 am

File outside project/added to solution folder/no check in

Post by hgds » Tue Apr 17, 2018 7:44 am

We are using Visual Studio 2017 (15.6.4) with the enhanced client (10.0.1.30793).

Files in solution folders that are outside of the project folder can not be checked in.

How to reproduce:
- create a project and add it to vault
- create a folder outside of the project, add a file and add both to vault
- open the project with Visual Studio and add a new solution folder (right click solution, add, new solution folder)
- add the file to the folder (right click solution folder, add, existing element, use the file outside of the solution)

Now you see the file with correct status. You can CheckOut the file. If you try to CheckIn, the summary does not recognize the file.

If the file, added to the solution folder, is in some sub folder of the solution (for example /obj/Release/file.txt) the CheckIn works.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: File outside project/added to solution folder/no check i

Post by Beth » Tue Apr 17, 2018 4:30 pm

I think this might be normal for individual files that are outside the scope of the solution. I will get this issue logged with the developers to review.
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: File outside project/added to solution folder/no check i

Post by Beth » Wed Apr 18, 2018 2:50 pm

The layout you are trying to work with is unsupported. One possible resolution is to move the solution file to a higher level so that the solution folder's file would fall within the scope of the solution file.

We have a few KB articles that cover this.

FAQ: viewtopic.php?p=39467#p39467
Project Layout: viewtopic.php?f=13&t=18956&p=68332#p68332
Beth Kieler
SourceGear Technical Support

Post Reply