Visual Studio 2012 Web.Debug.config and Web.Release.config

If you are having a problem using Vault, post a message here.
Post Reply
owainajones
Posts: 9
Joined: Thu May 16, 2013 1:42 pm

Visual Studio 2012 Web.Debug.config and Web.Release.config

Post by owainajones » Thu May 16, 2013 1:46 pm

Hi,

The Web.Debug.config and Web.Release.config files are not getting added to SourceGear Vault. In Visual Studio 2012 the option "Add to Vault Professional" is greyed out.

Also Visual Studio 2012 upgraded my web project and removed an unsupported webdeploy project from it, but the remove was not reflected in SourceGear. This is not as much of an issue since I just deleted the project files manually using the Vault client.

Thanks,

Owain

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Visual Studio 2012 Web.Debug.config and Web.Release.conf

Post by lbauer » Thu May 16, 2013 3:36 pm

What version of Vault are you using?

What type of web project is this?

Was the behavior different in an earlier version of Visual Studio?
Linda Bauer
SourceGear
Technical Support Manager

owainajones
Posts: 9
Joined: Thu May 16, 2013 1:42 pm

Re: Visual Studio 2012 Web.Debug.config and Web.Release.conf

Post by owainajones » Fri May 17, 2013 6:27 am

We are using 6.1 (server and client):
[5/17/2013 8:24:15 AM] Version Check: This Vault Professional client is version 6.1.0.30531
[5/17/2013 8:24:16 AM] Version Check: Your server is version 6.1.0.30531

This is a Web Application project in VS2012.

In previous versions of VS there wasn't the Web.Release.config and Web.Debug.config files. I have attached a partial screenshot to show how these files appear in the VS2012 project. There are physical files associated with these files.
You do not have the required permissions to view the files attached to this post.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Visual Studio 2012 Web.Debug.config and Web.Release.conf

Post by lbauer » Fri May 17, 2013 7:24 am

I tested this with a C# Web Application in VS 2010 SP 1, which generated these files. They were added to source control. I used the Vault Enhanced Client.

I'll try to reproduce what you're seeing with VS 2012.
You do not have the required permissions to view the files attached to this post.
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Visual Studio 2012 Web.Debug.config and Web.Release.conf

Post by lbauer » Fri May 17, 2013 11:17 am

I was not able to reproduce what you're seeing in VS 2012.

>>Visual Studio 2012 upgraded my web project>>

What did you upgrade from -- VS 2010??

If VS 2012 added the config files during the upgrade, it may not have communicated with our plugin about adding the files.

Try adding the files with the Vault GUI Client.
You do not have the required permissions to view the files attached to this post.
Linda Bauer
SourceGear
Technical Support Manager

owainajones
Posts: 9
Joined: Thu May 16, 2013 1:42 pm

Re: Visual Studio 2012 Web.Debug.config and Web.Release.conf

Post by owainajones » Fri May 17, 2013 11:26 am

I could add the files from the client.

In your reproduction the plugin added the files? It could be that the files were not there in my VS2010 project and were added after the upgrade with the "Add Config Transform" action in the right-click menu for Web.Config, can you reproduce this?

If you can't reproduce that is fine, this issue is resolved for me.

Thanks for your help.
Owain

Post Reply