The /bin folder question
Moderator: SourceGear
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
The /bin folder question
I've read those threads on the subject of Vault (or rather, VS) including all of the files in a Web Site's /bin directory in the repository.
What I haven't seen is a solution to the problem I have wherein I have a number of projects, including a number of toolsets which we've written, included in the solution.
If I make a change to a toolset class and compile it up that class compiles OK and vault recodnises that the file has been changed. When, however, I come to compile my website I will get a compile error if the source includes, for example, access to a method that was added in the recent changes.
I'm not sure how I'm supposed to get this new version of the file to be used in the web site.
If it makes any difference in using CVS-style development in v4.0.4
--
Stuart
What I haven't seen is a solution to the problem I have wherein I have a number of projects, including a number of toolsets which we've written, included in the solution.
If I make a change to a toolset class and compile it up that class compiles OK and vault recodnises that the file has been changed. When, however, I come to compile my website I will get a compile error if the source includes, for example, access to a method that was added in the recent changes.
I'm not sure how I'm supposed to get this new version of the file to be used in the web site.
If it makes any difference in using CVS-style development in v4.0.4
--
Stuart
Let me make sure I understand. Simplified, you have something like this:
Solution
- Web Site
- Class Library
The web site makes use of code in the class library, but when you make changes to the class library they're not available in the web site?
The typical way to set this up would be to add the output of the class library as a reference in the web site. This way Visual Studio will copy the file as necessary into the web site's bin folder.
If I've misunderstood the question, let me know.
Solution
- Web Site
- Class Library
The web site makes use of code in the class library, but when you make changes to the class library they're not available in the web site?
The typical way to set this up would be to add the output of the class library as a reference in the web site. This way Visual Studio will copy the file as necessary into the web site's bin folder.
If I've misunderstood the question, let me know.
Ian Olsen
SourceGear
SourceGear
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
No, this works fine, or rather it did until I used VS to add the various projects to Vault.
When I compile my class library, I can see that the file (including the compiled DLL) have changed as they are in the pending change set. But when I compile the web site the changes I made in the class library aren't available.
As I say, this worked fine prior to implementing the SCC stuff using VS/Vault.
--
Stuart
When I compile my class library, I can see that the file (including the compiled DLL) have changed as they are in the pending change set. But when I compile the web site the changes I made in the class library aren't available.
As I say, this worked fine prior to implementing the SCC stuff using VS/Vault.
--
Stuart
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
I'd do it like this:
1. Close Visual Studio
2. Using the standalone Vault GUI client, delete the DLLs from the repository. (Because you're in CVS mode, make sure you commit the deletes, they won't happen immediately.)
3. Re-open Visual Studio
4. Recompile to get the dlls back in your working folder.
1. Close Visual Studio
2. Using the standalone Vault GUI client, delete the DLLs from the repository. (Because you're in CVS mode, make sure you commit the deletes, they won't happen immediately.)
3. Re-open Visual Studio
4. Recompile to get the dlls back in your working folder.
Ian Olsen
SourceGear
SourceGear
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact: