Click here to Skip to main content
15,905,683 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Is there any way... Pin
Rage11-Nov-14 2:27
professionalRage11-Nov-14 2:27 
GeneralRe: Is there any way... Pin
DaveAuld11-Nov-14 2:39
professionalDaveAuld11-Nov-14 2:39 
GeneralRe: Is there any way... Pin
Manfred Rudolf Bihy11-Nov-14 2:42
professionalManfred Rudolf Bihy11-Nov-14 2:42 
GeneralRe: Is there any way... Pin
DaveX8611-Nov-14 5:13
DaveX8611-Nov-14 5:13 
GeneralRe: Is there any way... Pin
Mark_Wallace11-Nov-14 11:52
Mark_Wallace11-Nov-14 11:52 
GeneralRe: Is there any way... Pin
Dan Neely12-Nov-14 3:22
Dan Neely12-Nov-14 3:22 
GeneralRe: Is there any way... Pin
Rage12-Nov-14 4:19
professionalRage12-Nov-14 4:19 
GeneralRazor / NuGet Resolution Pin
Marc Clifton11-Nov-14 0:40
mvaMarc Clifton11-Nov-14 0:40 
So, even after uninstalling RazorEngine, the whole assembly reference thing was hosed. While the website runs on my dev box, there was clearly a magic combination of assemblies, both local and I imagine in the GAC, that were somehow resolving correctly.

Not so on the hosting server, of course.

So, my solution was to remove all the references to ASP.NET assemblies, find them in the ASP.NET MVC 4 folder and another place I didn't write down (sorry), copy those assemblies into a new folder in my project called "assemblies", and re-reference those assemblies.

Now, both the local and host server run.

I imagine the only other option would have been to create an MVC 4 project from scratch and copy over the source code pieces into it, but I'm not sure I trust that process.

So, this little adventure wasted probably six hours, all because I did:

install-package RazorEngine

Andy - next time, I'll know better and use the -safe flag.

[edit]Reading through the docs, -safe only applies to update-package, not install-package[/edit]

Marc

GeneralRe: Razor / NuGet Resolution Pin
Kornfeld Eliyahu Peter11-Nov-14 1:18
professionalKornfeld Eliyahu Peter11-Nov-14 1:18 
GeneralRe: Razor / NuGet Resolution Pin
Afzaal Ahmad Zeeshan11-Nov-14 3:44
professionalAfzaal Ahmad Zeeshan11-Nov-14 3:44 
GeneralThere are times...:sigh: Pin
OriginalGriff11-Nov-14 0:39
mveOriginalGriff11-Nov-14 0:39 
GeneralRe: There are times...:sigh: Pin
HobbyProggy11-Nov-14 0:54
professionalHobbyProggy11-Nov-14 0:54 
GeneralRe: There are times...:sigh: Pin
OriginalGriff11-Nov-14 0:58
mveOriginalGriff11-Nov-14 0:58 
GeneralRe: There are times...:sigh: Pin
HobbyProggy11-Nov-14 1:03
professionalHobbyProggy11-Nov-14 1:03 
GeneralRe: There are times...:sigh: Pin
den2k8811-Nov-14 2:09
professionalden2k8811-Nov-14 2:09 
GeneralRe: There are times...:sigh: Pin
Kornfeld Eliyahu Peter11-Nov-14 1:14
professionalKornfeld Eliyahu Peter11-Nov-14 1:14 
GeneralRe: There are times...:sigh: Pin
Mike Hankey11-Nov-14 3:03
mveMike Hankey11-Nov-14 3:03 
GeneralRe: There are times...:sigh: Pin
Dominic Burford11-Nov-14 3:32
professionalDominic Burford11-Nov-14 3:32 
GeneralRe: There are times...:sigh: Pin
OriginalGriff11-Nov-14 4:18
mveOriginalGriff11-Nov-14 4:18 
GeneralRe: There are times...:sigh: Pin
Dominic Burford11-Nov-14 4:42
professionalDominic Burford11-Nov-14 4:42 
GeneralRe: There are times...:sigh: Pin
Brady Kelly11-Nov-14 5:51
Brady Kelly11-Nov-14 5:51 
GeneralRe: There are times...:sigh: Pin
Mark_Wallace11-Nov-14 11:54
Mark_Wallace11-Nov-14 11:54 
GeneralTest Pin
Rohit Airi11-Nov-14 0:37
Rohit Airi11-Nov-14 0:37 
GeneralRe: Test Pin
Nagy Vilmos11-Nov-14 0:38
professionalNagy Vilmos11-Nov-14 0:38 
GeneralRe: Test Pin
P0mpeyBoy11-Nov-14 1:14
P0mpeyBoy11-Nov-14 1:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.