My vs development evironment on the laptop is set when I am in the company.
when I am off our internal network and want to work from home, I always get
the following error message when I open the vs.
The solution appears to be under source control, but its binding information
cannot be
found, Because it is not possible to recover this missing information
automatically, the projects
whose binding will be treated as not under source control.
Later on I need to choose to work temporarily without source control.
what I am trying to ask whether I can set an option to not connecting to our
TFS is i am not on our internal network, so this error message won't show up?
thanks,
--
Betty
Glad to work with you again.
Visual Studio will automatically connect to source control server if the
solution and project file has source control information. There is no
option settings to prevent it. The only way to prevent it is to remove the
source control bindings on your home machine.
In Visual Studio, File -> Source Control -> Change Source Control,
disconnect source control from original server.
After removing source control bindings, you have to bind it back in your
company's machine.
Sincerely,
Hongye Sun (hon...@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within?2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
If bind and unbind to the source control for the same project because I have
to work in different env, will there be any issues down the road?
--
Betty
Unfortunately, there will be some issues when you bind and unbind the
source control. Because TFS will detect any changes when bind your source
code to source control. So all your changed files will not be checked out
automatically. Instead, you have to find out them and check out them
manually.
So from this point, I suggest you to continue your orginal way to work in
offline mode when your machine is not in the internal network. The error
message will show only once when it can't connect to TFS server and then it
will change connection status to offline mode. After you back to internal
network, you can right click on the solution file and click Go Online.
In this way, any changes will be automatically checked out and merged.
This is a by design behavior. I couldn't find any better way to workaround
it.
Here are some details information:
Understanding Offline Support in Team Foundation Version Control
http://msdn.microsoft.com/en-us/library/cc667405.aspx
How to: Work Offline when the Server is Unavailable
http://msdn.microsoft.com/en-us/library/bb892960.aspx
How to: Configure Offline Support in Team Foundation to be Solution-based
http://msdn.microsoft.com/en-us/library/cc667406.aspx
Sincerely,
Hongye Sun (hon...@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.