Hi there
I have 1 solution (visual studio 2005) within this solution i have many
projects, they should all be able to have the same webreference to a
webservice.
But as far as i can figure out, i must have 1 webreference per project, and
not 1 for the whole solution.
How can i solve this ?
--
Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF
Aug-sept issue of X-RAY Magazine is ready to download:
EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005 5 1526
Add the same webreference to several projects. This works fine for me or am
I misunderstanding your question?
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Søren Reinke" <so***@reinke.fjernmig.dk> wrote in message
news:de***********@newsbin.cybercity.dk... Hi there
I have 1 solution (visual studio 2005) within this solution i have many projects, they should all be able to have the same webreference to a webservice.
But as far as i can figure out, i must have 1 webreference per project, and not 1 for the whole solution.
How can i solve this ?
-- Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF Aug-sept issue of X-RAY Magazine is ready to download: EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005
> Add the same webreference to several projects. This works fine for me or am I misunderstanding your question?
That is exactly what i am trying to prevent.
We have about 40 different programs (aspx pages) that needs to talk to
different webservices, and also a few standalone applications. All in the
same solution.
I had hoped i could add the webreferences in 1 place, and then share them.
To do that i need to have them all in the same project ?
--
Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF
Aug-sept issue of X-RAY Magazine is ready to download:
EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005 -- Bob Powell [MVP] Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article.
"Søren Reinke" <so***@reinke.fjernmig.dk> wrote in message news:de***********@newsbin.cybercity.dk... Hi there
I have 1 solution (visual studio 2005) within this solution i have many projects, they should all be able to have the same webreference to a webservice.
But as far as i can figure out, i must have 1 webreference per project, and not 1 for the whole solution.
How can i solve this ?
-- Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF Aug-sept issue of X-RAY Magazine is ready to download: EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005
Hi,
You cannot do this, each project is an independent entity and needs to be
able to compile by itself. You will need to include the refeence in each
project.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Søren Reinke" <so***@reinke.fjernmig.dk> wrote in message
news:de***********@newsbin.cybercity.dk... Hi there
I have 1 solution (visual studio 2005) within this solution i have many projects, they should all be able to have the same webreference to a webservice.
But as far as i can figure out, i must have 1 webreference per project, and not 1 for the whole solution.
How can i solve this ?
-- Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF Aug-sept issue of X-RAY Magazine is ready to download: EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:OA*************@TK2MSFTNGP15.phx.gbl... Hi,
You cannot do this, each project is an independent entity and needs to be able to compile by itself. You will need to include the refeence in each project.
Hi there
Thanks for the claryfication.
--
Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF
Aug-sept issue of X-RAY Magazine is ready to download:
EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005 cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"Søren Reinke" <so***@reinke.fjernmig.dk> wrote in message news:de***********@newsbin.cybercity.dk... Hi there
I have 1 solution (visual studio 2005) within this solution i have many projects, they should all be able to have the same webreference to a webservice.
But as far as i can figure out, i must have 1 webreference per project, and not 1 for the whole solution.
How can i solve this ?
-- Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF Aug-sept issue of X-RAY Magazine is ready to download: EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005
One work around for this could be the following:
Create a code library (.NEt .dll) which serves as a wrapper for all of your
webservices. This way, you will only need to add a reference to a single
assembly in each of the projects requiring webservice access.
If not all applications use all of the webservices, you could create
multiple code libraries in which you logically group your webservices.
This also means that when you recompile your webservices, you will only need
to update the webservice references in one place.
--
Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Søren Reinke" wrote: Hi there
I have 1 solution (visual studio 2005) within this solution i have many projects, they should all be able to have the same webreference to a webservice.
But as far as i can figure out, i must have 1 webreference per project, and not 1 for the whole solution.
How can i solve this ?
-- Best regards C.T.O. Søren Reinke www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF Aug-sept issue of X-RAY Magazine is ready to download: EGYPT Finding Yolanda Wreck, Celebrate the Seas 2005 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Simon Neve |
last post by:
Hello,
This question is related to sharing .Net projects across solutions and is
reposted from the SourceSafe group.
We have several different solutions and want to share common assemblies...
|
by: cybertof |
last post by:
Hi !
What is the common use of sharing a single .cs across multiple project
files ?
I think it's to share common classes between projects.
I have actually a .cs file shared accross multiple...
|
by: Daniel |
last post by:
Hi!
I have several projects (approx 50) that includes basically the same
files such as <atlcom.h> and <comdef.h>. The projects are set up to
use a precompiled header wich includes these header...
|
by: Darren Oakey |
last post by:
G'day -
is there anyway of sharing the Session data across two different ASP.Net
projects? Basically, I'm jumping from a page in one to a page in another,
and I'd like to have the data flit...
|
by: Shikari Shambu |
last post by:
Hi All,
I have a situation where multiple applications are sharing some pages/
controls.
So, I have a separate common project that has the common pages/ controls.
My question is how do I...
|
by: rcolby |
last post by:
Hi,
A little advice on code sharing across projects, namespaces and dll's for
references.
I've got an application that is split between three different projects (one
for a service, one for...
|
by: David |
last post by:
How do I share code across files in C#, without including a reference to a
class library.
Here's what I want to do. I have a device I want to talk to. It's a
machine in a factory. It can talk...
|
by: Matt Owens |
last post by:
Hi,
Im setting up a new project in which I'd like to share code across
numerous other projects, specifically a control library and an array
of common objects. Im not really sure how best to go...
|
by: Jeff Dege |
last post by:
I'm working with a group that's been doing C++ coding for quite a long
time, now, and in that environment we've pretty much worked out
development practices that serve us well.
We've been doing...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |