Monday, March 26, 2012

VS 05 noob: Where is my Bin directory?

Ok, we have just delved full force in to VS 05 and I am fairly comfortable
with the layout. But I think I have run into my first gotcha.

I setup a web application doesn't produce a /bin with a compiled DLL for the
site.
I looked in the prop pages and there seems to be a way of manually creating
a DLL to a specified directory using msbuild. Also, my friend tells me that
you can now just put the raw .cs files in the web directory and .NET 2.0
compiles it on the fly. Is this so? How can I set things up to compile my web
apps like in 03?VS 2005 changed the compilation model.
It doesn't provide a single DLL for apps any more.

If you want to do that, check out :

http://webproject.scottgu.com/Default.aspx
and/or

http://msdn.microsoft.com/library/d...nt_projects.asp
Both are VS 2005 add-ins which allow you to control/change the compilation model.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"A Programmer" <AProgrammer@.discussions.microsoft.comwrote in message
news:A650D05D-69E8-4E53-ACE6-C2A8BB9D3043@.microsoft.com...

Quote:

Originally Posted by

Ok, we have just delved full force in to VS 05 and I am fairly comfortable
with the layout. But I think I have run into my first gotcha.
>
I setup a web application doesn't produce a /bin with a compiled DLL for the
site.
I looked in the prop pages and there seems to be a way of manually creating
a DLL to a specified directory using msbuild. Also, my friend tells me that
you can now just put the raw .cs files in the web directory and .NET 2.0
compiles it on the fly. Is this so? How can I set things up to compile my web
apps like in 03?


Hi,

A Programmer wrote:

Quote:

Originally Posted by

Ok, we have just delved full force in to VS 05 and I am fairly comfortable
with the layout. But I think I have run into my first gotcha.
>
I setup a web application doesn't produce a /bin with a compiled DLL for the
site.
I looked in the prop pages and there seems to be a way of manually creating
a DLL to a specified directory using msbuild. Also, my friend tells me that
you can now just put the raw .cs files in the web directory and .NET 2.0
compiles it on the fly. Is this so? How can I set things up to compile my web
apps like in 03?


Since this question gets asked at least once a week since the release of
VS2005, maybe Google would have helped you faster ;-)

See this:
http://webproject.scottgu.com/
Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Maybe if MS hadn't altered the compilation model this group wouldn't have
reposts like this. Obviously .NET developers were not happy with the change
or MS wouldn't have produced this addin to replicate past functionality.

"Laurent Bugnion" wrote:

Quote:

Originally Posted by

Hi,
>
A Programmer wrote:

Quote:

Originally Posted by

Ok, we have just delved full force in to VS 05 and I am fairly comfortable
with the layout. But I think I have run into my first gotcha.

I setup a web application doesn't produce a /bin with a compiled DLL for the
site.
I looked in the prop pages and there seems to be a way of manually creating
a DLL to a specified directory using msbuild. Also, my friend tells me that
you can now just put the raw .cs files in the web directory and .NET 2.0
compiles it on the fly. Is this so? How can I set things up to compile my web
apps like in 03?


>
Since this question gets asked at least once a week since the release of
VS2005, maybe Google would have helped you faster ;-)
>
See this:
http://webproject.scottgu.com/
>
Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
>


re:

Quote:

Originally Posted by

Obviously .NET developers were not happy with the change
or MS wouldn't have produced this addin to replicate past functionality.


You're right.
Aren't you glad MS listens to the developers who use .Net ?

Note that *both* functionalities are available,
so that everybody gets a piece of the cake they like.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"A Programmer" <AProgrammer@.discussions.microsoft.comwrote in message
news:3135479C-0512-4B37-8459-ACC68CC6682B@.microsoft.com...

Quote:

Originally Posted by

Maybe if MS hadn't altered the compilation model this group wouldn't have
reposts like this. Obviously .NET developers were not happy with the change
or MS wouldn't have produced this addin to replicate past functionality.
>
"Laurent Bugnion" wrote:


Quote:

Originally Posted by

Quote:

Originally Posted by

>Hi,
>>
>A Programmer wrote:

Quote:

Originally Posted by

Ok, we have just delved full force in to VS 05 and I am fairly comfortable
with the layout. But I think I have run into my first gotcha.
>
I setup a web application doesn't produce a /bin with a compiled DLL for the
site.
I looked in the prop pages and there seems to be a way of manually creating
a DLL to a specified directory using msbuild. Also, my friend tells me that
you can now just put the raw .cs files in the web directory and .NET 2.0
compiles it on the fly. Is this so? How can I set things up to compile my web
apps like in 03?


>>
>Since this question gets asked at least once a week since the release of
>VS2005, maybe Google would have helped you faster ;-)
>>
>See this:
>http://webproject.scottgu.com/
>>
>Greetings,
>Laurent
>--
>Laurent Bugnion, GalaSoft
>Software engineering: http://www.galasoft-LB.ch
>PhotoAlbum: http://www.galasoft-LB.ch/pictures
>Support children in Calcutta: http://www.calcutta-espoir.ch
>>


Hi,

A Programmer wrote:

Quote:

Originally Posted by

Maybe if MS hadn't altered the compilation model this group wouldn't have
reposts like this. Obviously .NET developers were not happy with the change
or MS wouldn't have produced this addin to replicate past functionality.


I didn't mean my post as a criticism. Just noting that while newsgroups
are great, Google often helps faster than NGs, since many answers are
already out there.

About the new compilation model, it is great for websites, not so great
for web applications. It would have been better to offer both from the
start.

Also, the add-in was initiated by Scott Guthrie and his team, so not
directly by the Visual Studio people, rather by the Atlas team. Note
also that in VS2005, it's very easy to create your own templates, and to
modify the behaviour of VS to make it fit your personal preferences.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch

0 comments:

Post a Comment