Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / November 2007

Tip: Looking for answers? Try searching our database.

how to compile asp.net 3.5 application?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 23 Nov 2007 17:41 GMT
Hi,

i have just installed . net framework 3.5.

With asp.net 2.0, i compiled my code like this:

cd \windows\microsoft.net\framework\v2.0.50727
aspnet_compiler -p "c:\inetpub\wwwroot\myapp" -v / c:\compiled\myapp -f

Is this still the right way with aspnet 3.5 or another compiler must be
used, but i can't find any aspnet_compiler  file in directory
windows\microsoft.net\framework\v3.5 ?

Thanks

Bob
Cowboy (Gregory A. Beamer) - 23 Nov 2007 18:56 GMT
My assumption is the compiler in 2.0, updated with install of 3.5, is aware
of 3.0 and 3.5 assemblies, as both are just added on top of 2.0. If this is
the case, you can still use the compiler with 2.0.

I can see if I can determine what is going on when it compiles in Visual
Studio, as it also uses the command line compiler under the hood. I know the
bits were updated with the 3.5 install, so I would imagine the compiler was
also updated.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************

| Think outside the box!

*************************************************
> Hi,
>
[quoted text clipped - 12 lines]
>
> Bob
Bob - 23 Nov 2007 20:41 GMT
Hi, thanks for replying.

When i checked the date of change of the file aspnet_compiler.exe, it has
still the old date (before installing 3.5). So ' don't think that file has
been modofied during installation of 3.5.

The question is sofar: how can that compiler based on aspnet 2.0 compile an
application based on 3.5 with its new features?

> My assumption is the compiler in 2.0, updated with install of 3.5, is
> aware of 3.0 and 3.5 assemblies, as both are just added on top of 2.0. If
[quoted text clipped - 23 lines]
>>
>> Bob
Cowboy (Gregory A. Beamer) - 23 Nov 2007 21:28 GMT
Did you load the RTM version of .NET 3.5? If so, it should have instaled SP1
of .NET 2.0 and SP1 of .NET 3.0. The date on the newest file is 10/24/2007.

You can download the SPs and the RTM of .NET 3.5 from the
http://www.microsoft.com/downloads site. If you do an advanced search and
sort by date, it should be in the top 20 or 30 newest downloads (set to 50
and you will find it, unless MS has loaded a bunch of new files today).

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************

| Think outside the box!

*************************************************
> Hi, thanks for replying.
>
[quoted text clipped - 32 lines]
>>>
>>> Bob
Bob - 23 Nov 2007 21:46 GMT
You're right: the date is 10/24/2007. So this new file indeed is aware of
the new features of . net 3.5 .

> Did you load the RTM version of .NET 3.5? If so, it should have instaled
> SP1 of .NET 2.0 and SP1 of .NET 3.0. The date on the newest file is
[quoted text clipped - 43 lines]
>>>>
>>>> Bob
Cowboy (Gregory A. Beamer) - 23 Nov 2007 23:58 GMT
Not 100% sure, but it should be. I have not attempted a command line
compile.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************

| Think outside the box!

*************************************************
> You're right: the date is 10/24/2007. So this new file indeed is aware of
> the new features of . net 3.5 .
[quoted text clipped - 48 lines]
>>>>>
>>>>> Bob

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.