0

I just spend hours trying to diagnose why an MVC4 app that I published (file system) to a remote machine ran, but displayed bugs. Then I gave up on publish and copied the whole source tree to the target web site, and now everything works.

I know it's nearly hopeless asking what files the publish action omitted, but maybe I'm lucky and there are some known issues. Are there?

ProfK
  • 49,207
  • 121
  • 399
  • 775
  • It's very simple to ask what files the publish action omitted. Something like WinMerge can compare directory structures and file contents. – Gustav Bertram Mar 18 '14 at 11:26

1 Answers1

1

Most of the time this happens to me it's because I haven't deployed an MVC library.

Open the references folder and ensure they are all being copied locally.

Then when you deploy you know the DLL's are coming over.

Without any further information as to your exact errors etc it's difficult to provide more.

When you deploy to something like GoDaddy etc, you don't know what is in the GAC and what is not.

Also, I always click the "Show All Files" button to see if there are any files I simply copied to the folder and forgot to include in the solution.

But apart from that I've never had issues deploying to the file system and then copying that to the host.

griegs
  • 22,624
  • 33
  • 128
  • 205
  • Time to resurrect that old clean Windows 7 VM for this kind of thing. Right now I just TeamViewer in and test on the client's test machine. – ProfK May 31 '13 at 03:25