Re: Deployment in VS.NET 2005

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Building a web site is local and, unless you have code issues, will work 100% of the time.

Try publishing your website with VS 2005,
(within the IDE, just below the "build" menu item) and deploying the results.

You'll see several DLLs in the appropiate directories after you do that.

But, with the aspnet_compiler, and with the Web Application Project add-in,
you get a much more granular control over the assemblies (DLLs) compiled.

Review the two links I sente you :

http://msdn2.microsoft.com/en-us/library/ms227972.aspx
for the aspnet_conpiler.exe tool
and
http://webproject.scottgu.com/
for the Web Application Projects Add-in.

....and you will understand much better the available scenarios.





Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Peter Afonin" <pafonin@xxxxxxxxxxx> wrote in message
news:%23v7y3oSqGHA.4032@xxxxxxxxxxxxxxxxxxxxxxx
Another strange thing - when I build a web site, I'm getting success messages. What do I building
then?

Thanks,

Peter

"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:e9UNEQSqGHA.5012@xxxxxxxxxxxxxxxxxxxxxxx
VS 2005 doesn't create any DLLs in the /bin directory.

They are only created if you use the aspnet_compiler.exe tool,
or if you use the Web Application Projects add-in for VS 2005.

Please review :

http://msdn2.microsoft.com/en-us/library/ms227972.aspx
for the aspnet_conpiler.exe tool
and
http://webproject.scottgu.com/
for the Web Application Projects Add-in.



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Peter Afonin" <pafonin@xxxxxxxxxxx> wrote in message
news:%23rP$E3RqGHA.2068@xxxxxxxxxxxxxxxxxxxxxxx
Thank you Juan,

Well, at first, when I go to Configuration Manager, I see only Debug option there (apart from
New and Edit). Then, after I rebuld everything successfully, there are no DLLs in my Bin folder.
So I guess I need to configure something else.

Peter

"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:%23Rz8lSRqGHA.4408@xxxxxxxxxxxxxxxxxxxxxxx
re:
If I understand correctly, even if I precompiled my application, I still need to upload
aspx.vb
files to the server, correct?

No.

.cs or .vb files not in App_Code folder are compiled with the page
or resource that depends on it and the assembly is placed in the /bin folder.

Just make sure you transfer the contents of the /bin folder.

See :
http://msdn2.microsoft.com/en-us/library/e22s60h9.aspx for full details.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Peter Afonin" <pafonin@xxxxxxxxxxx> wrote in message
news:eZpUV9QqGHA.3816@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I'm just starting to work with ASP.NET 2.0 and VS 2005.

If I understand correctly, even if I precompiled my application, I still need to upload
aspx.vb
files to the server, correct? The way I did it in VS.NET 2003 - uploaded only aspx and dll
files -
no longer works, correct? At least it didn't work for me.

Thank you,

--
Peter Afonin













.



Relevant Pages

  • Re: Solutions and Projects
    ... >Every time I start a new project I get a new *.sln file in the project's ... >folder. ... an EXE and any DLLs it uses. ... MVP VC++ FAQ: http://www.mvps.org/vcfaq ...
    (microsoft.public.vc.ide_general)
  • Re: Platform builder executable wont run in Windows explorer
    ... You are right that those dlls are in .\Windows folder on my target. ... just the EXE (the other DLLs are almost certainly built into the device ROM ...
    (microsoft.public.windowsce.embedded)
  • Re: essential OS/2
    ... I had to spend time identifying the missing modules and retrieving them from another partition. ... Now I move those program specific dlls back to the folders where the program was installed. ... I am using TVFS and I add the location of these dlls to the list of folders that I append to libpath virtual folder that TVFS creates. ... I have to run which & find duplicated on the libpath to control the common named dlls. ...
    (comp.os.os2.misc)
  • Re: Problem running vc++ program
    ... Documents folder or a subfolder of My Documents. ... install. ... There is a class of DLLs called "redistributable DLLs" that form a consistent set. ... I have created a program for my friend using VC++. ...
    (microsoft.public.vc.mfc)
  • Re: Service installation
    ... My service is a socket server which accesses the database>using two DLLs. ... >> In the VS File System View, you can right-click "File System on Target>Machine",>> Add Special Folder, and the GAC is there. ... >> The side-by-side model really is the way to go - just install those>assemblies>> with the apps that need them, putting them in their application folders. ...
    (microsoft.public.dotnet.framework.setup)