473,386 Members | 1,886 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,386 software developers and data experts.

Can 2.0 use project references like in 1.1?

Hi all. I apologize if this has been asked/answered already, I couldn't
find any info. In 1.1, my standard web application structure includes a
front end website, and a management site (or administration site..
however you call it). The management site is a subfolder of the primary
site, say "/mgt" and it is a separate IIS application, so it has it's
own web.config and authentication scheme. Since both the mgt site and
the front end site use a lot of the same objects, I just create all my
object classes in the mgt site, and add a project reference from the
front end site to the mgt site so they can be shared. For the life of
me, I cannot figure out how to accomplish something similar in VS
2005/dotnet 2.0. Since there are no 'projects' anymore, I can't add a
'project' reference. And since there are no dll files anymore, I can't
just build my project and have a dll file plopped down somewhere so
that I can reference it. I have to publish the website to a folder
somewhere so that the dll gets created and then I can reference it.
This seems very cumbersome. All I want is for my object classes to be
available to both websites, and I want to be able to make changes
quickly to a class file and be able to access those changes without
having to publish the files so the dll gets generated. How do other
people do this?

Thanks in advance for any enlightenment!
Brandon

http://www.busedge.com

Jun 26 '06 #1
4 1366
Hi Brandon,

If you'd rather use the 1.1 project style with 2.0, you can now download the
Web Application Projects add-on:

"Web Application Projects provide a companion web project model that can be
used as an alternative to the built-in Web Site Project in Visual Studio
2005. This new model is ideal for web site developers who are converting a
Visual Studio .Net 2003 web project to Visual Studio 2005. (Released May 8,
2006)"

http://msdn.microsoft.com/asp.net/re...p/default.aspx

Ken
Microsoft MVP [ASP.NET]

"BusEdge" <sp*****@gmail.com> wrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi all. I apologize if this has been asked/answered already, I couldn't
find any info. In 1.1, my standard web application structure includes a
front end website, and a management site (or administration site..
however you call it). The management site is a subfolder of the primary
site, say "/mgt" and it is a separate IIS application, so it has it's
own web.config and authentication scheme. Since both the mgt site and
the front end site use a lot of the same objects, I just create all my
object classes in the mgt site, and add a project reference from the
front end site to the mgt site so they can be shared. For the life of
me, I cannot figure out how to accomplish something similar in VS
2005/dotnet 2.0. Since there are no 'projects' anymore, I can't add a
'project' reference. And since there are no dll files anymore, I can't
just build my project and have a dll file plopped down somewhere so
that I can reference it. I have to publish the website to a folder
somewhere so that the dll gets created and then I can reference it.
This seems very cumbersome. All I want is for my object classes to be
available to both websites, and I want to be able to make changes
quickly to a class file and be able to access those changes without
having to publish the files so the dll gets generated. How do other
people do this?

Thanks in advance for any enlightenment!
Brandon

http://www.busedge.com

Jun 26 '06 #2
Ken,

Thanks so much. Although, I was hoping to get some insight as to the
new "VS 2005 way" of doing it, rather than downloading an add-in that
gives me the old functionality back. How _should_ this be done in the
new framework?

Thanks again,
Brandon
Ken Cox [Microsoft MVP] wrote:
Hi Brandon,

If you'd rather use the 1.1 project style with 2.0, you can now download the
Web Application Projects add-on:

"Web Application Projects provide a companion web project model that can be
used as an alternative to the built-in Web Site Project in Visual Studio
2005. This new model is ideal for web site developers who are converting a
Visual Studio .Net 2003 web project to Visual Studio 2005. (Released May 8,
2006)"

http://msdn.microsoft.com/asp.net/re...p/default.aspx

Ken
Microsoft MVP [ASP.NET]

"BusEdge" <sp*****@gmail.com> wrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi all. I apologize if this has been asked/answered already, I couldn't
find any info. In 1.1, my standard web application structure includes a
front end website, and a management site (or administration site..
however you call it). The management site is a subfolder of the primary
site, say "/mgt" and it is a separate IIS application, so it has it's
own web.config and authentication scheme. Since both the mgt site and
the front end site use a lot of the same objects, I just create all my
object classes in the mgt site, and add a project reference from the
front end site to the mgt site so they can be shared. For the life of
me, I cannot figure out how to accomplish something similar in VS
2005/dotnet 2.0. Since there are no 'projects' anymore, I can't add a
'project' reference. And since there are no dll files anymore, I can't
just build my project and have a dll file plopped down somewhere so
that I can reference it. I have to publish the website to a folder
somewhere so that the dll gets created and then I can reference it.
This seems very cumbersome. All I want is for my object classes to be
available to both websites, and I want to be able to make changes
quickly to a class file and be able to access those changes without
having to publish the files so the dll gets generated. How do other
people do this?

Thanks in advance for any enlightenment!
Brandon

http://www.busedge.com


Jun 26 '06 #3
Hi Brandon,

To me, the way it *should* be done is with that download. For some reason,
Microsoft decided not to implement it in the original version of VS 2005,
despite complaints during the beta.

Finally, they realized that they had taken something away that was very
useful and issued the fix.

http://msdn.microsoft.com/msdnmag/is...ExtremeASPNET/

I suppose the *right* way is to use aspnet_compiler.exe and a ton of
options:

http://msdn2.microsoft.com/en-us/library/ms229863.aspx

In the last couple of Web sites I've done, I used the single file model
where all the code was in the .aspx file (no codebehind). It makes it really
easy to update or add a page... just drop the new version into the directory
and you're done.

Ken
Microsoft MVP [ASP.NET]

"BusEdge" <sp*****@gmail.com> wrote in message
news:11**********************@r2g2000cwb.googlegro ups.com...
Ken,

Thanks so much. Although, I was hoping to get some insight as to the
new "VS 2005 way" of doing it, rather than downloading an add-in that
gives me the old functionality back. How _should_ this be done in the
new framework?

Thanks again,
Brandon
Ken Cox [Microsoft MVP] wrote:
Hi Brandon,

If you'd rather use the 1.1 project style with 2.0, you can now download
the
Web Application Projects add-on:

"Web Application Projects provide a companion web project model that can
be
used as an alternative to the built-in Web Site Project in Visual Studio
2005. This new model is ideal for web site developers who are converting
a
Visual Studio .Net 2003 web project to Visual Studio 2005. (Released May
8,
2006)"

http://msdn.microsoft.com/asp.net/re...p/default.aspx

Ken
Microsoft MVP [ASP.NET]

"BusEdge" <sp*****@gmail.com> wrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
> Hi all. I apologize if this has been asked/answered already, I couldn't
> find any info. In 1.1, my standard web application structure includes a
> front end website, and a management site (or administration site..
> however you call it). The management site is a subfolder of the primary
> site, say "/mgt" and it is a separate IIS application, so it has it's
> own web.config and authentication scheme. Since both the mgt site and
> the front end site use a lot of the same objects, I just create all my
> object classes in the mgt site, and add a project reference from the
> front end site to the mgt site so they can be shared. For the life of
> me, I cannot figure out how to accomplish something similar in VS
> 2005/dotnet 2.0. Since there are no 'projects' anymore, I can't add a
> 'project' reference. And since there are no dll files anymore, I can't
> just build my project and have a dll file plopped down somewhere so
> that I can reference it. I have to publish the website to a folder
> somewhere so that the dll gets created and then I can reference it.
> This seems very cumbersome. All I want is for my object classes to be
> available to both websites, and I want to be able to make changes
> quickly to a class file and be able to access those changes without
> having to publish the files so the dll gets generated. How do other
> people do this?
>
> Thanks in advance for any enlightenment!
> Brandon
>
> http://www.busedge.com
>

Jun 26 '06 #4
Ken, thanks so much. You have been most helpful.

Brandon
Ken Cox [Microsoft MVP] wrote:
Hi Brandon,

To me, the way it *should* be done is with that download. For some reason,
Microsoft decided not to implement it in the original version of VS 2005,
despite complaints during the beta.

Finally, they realized that they had taken something away that was very
useful and issued the fix.

http://msdn.microsoft.com/msdnmag/is...ExtremeASPNET/

I suppose the *right* way is to use aspnet_compiler.exe and a ton of
options:

http://msdn2.microsoft.com/en-us/library/ms229863.aspx

In the last couple of Web sites I've done, I used the single file model
where all the code was in the .aspx file (no codebehind). It makes it really
easy to update or add a page... just drop the new version into the directory
and you're done.

Ken
Microsoft MVP [ASP.NET]

"BusEdge" <sp*****@gmail.com> wrote in message
news:11**********************@r2g2000cwb.googlegro ups.com...
Ken,

Thanks so much. Although, I was hoping to get some insight as to the
new "VS 2005 way" of doing it, rather than downloading an add-in that
gives me the old functionality back. How _should_ this be done in the
new framework?

Thanks again,
Brandon
Ken Cox [Microsoft MVP] wrote:
Hi Brandon,

If you'd rather use the 1.1 project style with 2.0, you can now download
the
Web Application Projects add-on:

"Web Application Projects provide a companion web project model that can
be
used as an alternative to the built-in Web Site Project in Visual Studio
2005. This new model is ideal for web site developers who are converting
a
Visual Studio .Net 2003 web project to Visual Studio 2005. (Released May
8,
2006)"

http://msdn.microsoft.com/asp.net/re...p/default.aspx

Ken
Microsoft MVP [ASP.NET]

"BusEdge" <sp*****@gmail.com> wrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
> Hi all. I apologize if this has been asked/answered already, I couldn't
> find any info. In 1.1, my standard web application structure includes a
> front end website, and a management site (or administration site..
> however you call it). The management site is a subfolder of the primary
> site, say "/mgt" and it is a separate IIS application, so it has it's
> own web.config and authentication scheme. Since both the mgt site and
> the front end site use a lot of the same objects, I just create all my
> object classes in the mgt site, and add a project reference from the
> front end site to the mgt site so they can be shared. For the life of
> me, I cannot figure out how to accomplish something similar in VS
> 2005/dotnet 2.0. Since there are no 'projects' anymore, I can't add a
> 'project' reference. And since there are no dll files anymore, I can't
> just build my project and have a dll file plopped down somewhere so
> that I can reference it. I have to publish the website to a folder
> somewhere so that the dll gets created and then I can reference it.
> This seems very cumbersome. All I want is for my object classes to be
> available to both websites, and I want to be able to make changes
> quickly to a class file and be able to access those changes without
> having to publish the files so the dll gets generated. How do other
> people do this?
>
> Thanks in advance for any enlightenment!
> Brandon
>
> http://www.busedge.com
>


Jun 27 '06 #5

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

Similar topics

15
by: cody | last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I want to start the project I have to wait nearly over 1 minute for the compiler to complete building. This is...
12
by: Jones | last post by:
I am having problems with my C# project. The project was built using VS.net (original release with service pack 1). The project includes windows forms and a DLL (dot.net) After getting the...
7
by: George Copeland | last post by:
This is a request for assistance analyzing a problem we are experiencing in our VB6 development environment. All our code is developed in VB6, and our persistance layer is SQL Server. We are...
2
by: Joe Wedel | last post by:
I have a Solution with 4 Projects, one of which is not loading. I get the error message: Microsoft Development Environment Unable to read the project file 'CouncilAgenda.vbproj'. The project...
2
by: sonu | last post by:
Hi all, I have developed an application in which there are uptill now 12 projects and few of them are dependent on each other. The problem is I am not able to manage the references across...
9
by: Anubhav Jain | last post by:
Hi, I am having few .net source files(.cs or .vb) and I want to dynamically generate the corresponding .net project file(.csproj or .vbproj) for them without using visual studio.So that I could...
3
by: Jerad Rose | last post by:
This is regarding Visual Studio 2003 (framework 1.1). We have several projects/libraries. Of course, many of these reference each other. If we only had one solution, we would simply add all of...
2
by: AMDRIT | last post by:
Hello Everyone, I am having an issue with my solution and hoping that you all can suggest a resolution. I have a common library that (A) that three other projects make reference of (B,C,D). ...
3
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our...
2
by: chris fellows | last post by:
Can someone tell me if .NET 2.0 framework has a namespace to enable project references to be changed programmatically? My C# project files are stored in source control with DLL references but I...
0
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,...
0
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$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.