Publish web site problem with VS 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a .NET 1.1 application (C#) that I converted to .NET 2.0... Conversion
was pretty painless, code runs from the development environment no problem...
but when I try and publish... It says everything was successful.

So what's the problem??? It never creates any files in the output
directory... It will delete any existing ones but never creates anything.
Nothing ever gets published

Any ideas would be appreciated
 
Problem is solved..

My web site uses multiple web.config files (one in the root and a few other
is sub directories to control behaviour in those directories). The problem
was an error in one of my web.config files (files first line was "<?xml
version="1.0" encoding="utf-8" ?>" This is valid in .NET 1.1 I guess but not
in .NET 2.0. The upgrade wizard changed it in the web.config file located in
the root but not in the others... This is a problem with the wizard??? The
other thiing that seems to be a bug is the when I tried to publish with the
web.config errors... It told me everything (complie and publish) was
successful... It just did not complie anything or put anything in the output
directory... It was completely empty... Perhaps Microsoft could fix this so
that at least it gives an error mesage when an error happens.

The other wierd thing is that the application also ran without any problem
(with the web.config errors) from within Visual Studio... It just would not
publish.
 
Back
Top