M
Mark Rae
Hi,
Am currently in the process of migrating a whole heap of v1.1 ASP.NET
solutions to v2.0, and would be interested to know what others are doing
about excluding files from projects.
I maintain several music websites which contain lots of static binaries
(newsletters, gig photos etc) which, once they are posted, never change.
In v1.1, I was able to exclude these files from the project so that they
wouldn't get deployed to the live site every time I made a change. However,
in v2, when you select a file and click "Exclude from project", the file
gets renamed with a ".exclude" extension which means that IIS can no longer
find it during testing etc.
The v1.1 functionality here worked perfectly in that the file was excluded
from the project so that it didn't get unnecessarily redeployed every time,
but it was not renamed so that IIS could still find it when requested. It's
a real nuisance when making a small change to a site to be forced to upload
megs and megs of binaries as well.
What is the accepted wisdom for overcoming this in ASP.NET 2? I understand
that there was a problem surround file exclusion during the the beta stage
of ASP.NET 2, but I had thought that it was fixed in the final release.
Mark
Am currently in the process of migrating a whole heap of v1.1 ASP.NET
solutions to v2.0, and would be interested to know what others are doing
about excluding files from projects.
I maintain several music websites which contain lots of static binaries
(newsletters, gig photos etc) which, once they are posted, never change.
In v1.1, I was able to exclude these files from the project so that they
wouldn't get deployed to the live site every time I made a change. However,
in v2, when you select a file and click "Exclude from project", the file
gets renamed with a ".exclude" extension which means that IIS can no longer
find it during testing etc.
The v1.1 functionality here worked perfectly in that the file was excluded
from the project so that it didn't get unnecessarily redeployed every time,
but it was not renamed so that IIS could still find it when requested. It's
a real nuisance when making a small change to a site to be forced to upload
megs and megs of binaries as well.
What is the accepted wisdom for overcoming this in ASP.NET 2? I understand
that there was a problem surround file exclusion during the the beta stage
of ASP.NET 2, but I had thought that it was fixed in the final release.
Mark