473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

ASP.NET 2005 Solution Problem

I'm developing a web service that will eventually be sent to other like
organizations to communicate for a particular application. After a few
weeks, I decided it would be better to split of the web service and custome
code from the required code. In doing so, I created a class project.

This left me with a new solution of a web site and a class. I had
previously created the class seperately and added it to sourcesafe. I then
added the class to the web service project, which is where the solution was
created.

Two problems with this and sourcesafe. 1) If I add the solution and web
service to sourcesafe, the next time I open the solution from sourcesafe, the
web service no longer functions properly. It seems you can't add any
references to it and some that were there can no longer be read. 2) If I add
just the website, that works, but the next time you want to open the solution
and change part of the class and redeploy, the class does not exist, needs to
be readded, updated, etc... which is not correct.

Can anyone decipher this problem? What is the correct method to build this
type of solution and how to add it to sourcesafe? Are there any documents
out there discussing best practices in storing, creating, etc... in
sourcesafe?
Feb 2 '06 #1
2 1754
two options.

1. make a seperate project file to compile the class and add the project to
the web solution.
2. in vss, share the class file to the webservice dir.

-- bruce (sqlwork.com)

"mkd1919" <mk*****@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
I'm developing a web service that will eventually be sent to other like
organizations to communicate for a particular application. After a few
weeks, I decided it would be better to split of the web service and
custome
code from the required code. In doing so, I created a class project.

This left me with a new solution of a web site and a class. I had
previously created the class seperately and added it to sourcesafe. I
then
added the class to the web service project, which is where the solution
was
created.

Two problems with this and sourcesafe. 1) If I add the solution and web
service to sourcesafe, the next time I open the solution from sourcesafe,
the
web service no longer functions properly. It seems you can't add any
references to it and some that were there can no longer be read. 2) If I
add
just the website, that works, but the next time you want to open the
solution
and change part of the class and redeploy, the class does not exist, needs
to
be readded, updated, etc... which is not correct.

Can anyone decipher this problem? What is the correct method to build
this
type of solution and how to add it to sourcesafe? Are there any documents
out there discussing best practices in storing, creating, etc... in
sourcesafe?

Feb 2 '06 #2
This is the warning message I get when I add the solution to vss, which
includes the new website and the previously created class.

The project that you are attempting to add to source control may cause other
source control users to have difficulty opening this solution or getting
newer versions of it. To avoid this problem, add the project from a location
below the binding root of the other source controlled projects in the
solution.

Once I do it and attempt to open the solution from vss, the class files
contained under app_code on the website come up with errors. The errors are:
Type 'Exception' is not defined
Type 'ConfigurationManager' is not defined
Type 'Math' is not defined
Type 'IO' is not defined
Type 'Int32' is not defined
Type 'DateTime' is not defined

This all worked before adding and pulling the solution from vss???
"Bruce Barker" wrote:
two options.

1. make a seperate project file to compile the class and add the project to
the web solution.
2. in vss, share the class file to the webservice dir.

-- bruce (sqlwork.com)

"mkd1919" <mk*****@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
I'm developing a web service that will eventually be sent to other like
organizations to communicate for a particular application. After a few
weeks, I decided it would be better to split of the web service and
custome
code from the required code. In doing so, I created a class project.

This left me with a new solution of a web site and a class. I had
previously created the class seperately and added it to sourcesafe. I
then
added the class to the web service project, which is where the solution
was
created.

Two problems with this and sourcesafe. 1) If I add the solution and web
service to sourcesafe, the next time I open the solution from sourcesafe,
the
web service no longer functions properly. It seems you can't add any
references to it and some that were there can no longer be read. 2) If I
add
just the website, that works, but the next time you want to open the
solution
and change part of the class and redeploy, the class does not exist, needs
to
be readded, updated, etc... which is not correct.

Can anyone decipher this problem? What is the correct method to build
this
type of solution and how to add it to sourcesafe? Are there any documents
out there discussing best practices in storing, creating, etc... in
sourcesafe?


Feb 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: DraguVaso | last post by:
Hi, I had Visual Studio 2003 installed, and installed also visual Studio 2005 Beta 2. The problem is, when I am starting now (double click) a solution (*.sln-file), it always start it with...
16
by: Kent | last post by:
We have created several Assemblies that we add to the GAC on our web servers. In an ASP.NET app in VS2003, Adding a reference to strong named GAC'd Assembly meant that the web app would use...
27
by: Rene | last post by:
I keep getting the following error every time I compile the solution under VS 2005: ---------------- Error 5 Unable to copy file "obj\Debug\xyz.dll" to "bin\Debug\xyz.dll". The process...
2
by: clintonb | last post by:
Using Visual Studio 2005, I created a new website: File->New->Web Site and chose the ASP.Net Web Site template. Saved it in location c:\Projects\GCSLRMS_DotNet\WS\WebSite1. It created the...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
4
by: steve_barker333 | last post by:
Hi guys! I keep getting the following error reported by VS 2005 in my ASP.NET 2.0 web project: "The type or namespace name 'MainPages_XXX' could not be found (are you missing a using...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.