Check in of new C# project missed .csproj file

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

Moderator: SourceGear

Post Reply
George Mills
Posts: 33
Joined: Tue Aug 24, 2004 8:19 am

Check in of new C# project missed .csproj file

Post by George Mills » Fri Jan 07, 2005 4:24 pm

During a demo to the groups in my company (naturally).

I was showing them how smart Vault is in checking in new projects and it knows what files to check in and what not to.

Well someone pointed why isn't the .csproj checked off.
All the other files were correct.

The was a simple Wizard Project, Rebuild solution and check-in.

I also verified VS IDE was closed to confirm the file was not locked.
Running 3.0.1 with gold support

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Jan 07, 2005 4:48 pm

Not sure what you mean by the .csproj not being checked off - do you mean it was not checked out but it was edited? If so, are you using VSS style or CVS development style?

George Mills
Posts: 33
Joined: Tue Aug 24, 2004 8:19 am

Post by George Mills » Fri Jan 07, 2005 4:59 pm

Screen shot is me dragging a brand new project intp Vault.
Why doesn't it have the .csproj file checked by default.

We are using VSS style.
Attachments
add.JPG
add.JPG (76.18 KiB) Viewed 5893 times
Running 3.0.1 with gold support

George Mills
Posts: 33
Joined: Tue Aug 24, 2004 8:19 am

Post by George Mills » Fri Jan 07, 2005 4:59 pm

Screen shot is me dragging a brand new project intp Vault.
Why doesn't it have the .csproj file checked by default.

We are using VSS style.
Attachments
add.JPG
add.JPG (76.18 KiB) Viewed 5893 times
Running 3.0.1 with gold support

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Jan 07, 2005 5:11 pm

Yea, this was a boneheaded default on our part. We accidently included .csproj as an excluded file type. This will be corrected in 3.0.2

In the meantime, you can edit the file exclusion list in the Admin Tool->Repository Options, and take *.csproj out of that list, and it should start automatically including them.

mattGreatPond
Posts: 24
Joined: Fri Apr 30, 2004 2:38 pm

Post by mattGreatPond » Wed Jan 19, 2005 3:16 pm

On a related note:

If you still have .csproj as an excluded file type:

- Add folder with a .csproj file in it
note that .csproj file is (correctly) not checked
note properties (ex: 10KB, 4 files, 1 folder)

- check the .csproj checkbox in the file list to have it added too
note the properties in the Add Files/Folders dialog are correct
(ex: 14KB, 5 files, 1 folder)

- Press OK
Note the changeset details are NOT correct
(ex. still 10KB, 4 files, 1 folder)

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Jan 21, 2005 1:35 pm

Nice catch on that bug. I'll add it to the list.

Post Reply