asp.net-mvc


How to a publish visual studio solution with two dependencies projects to azure?


In Visual studio 2013 I have MVC solution with two projects:
project 1
project 2
project 1 depends on project 2
It works fine in my local machine but I get error when I deployed to Azure:
Could not load file or assembly 'MySql.Data, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies.
My question: did I have to deploy both projects separately to azure or just deploy the main project?
It should work automatically but beware of any libraries you have registered in the GAC on your PC since they will automatically link to the GAC version and "Copy Local" in the properties will be set to false. You can change this to true and force it to put a copy in the bin folder so that it copies correctly.
You only need to do this on the project that directly references the file. If project2 references project1, it will copy all output dlls across to bin automatically.

Related Links

Cross domain session asp mvc in IE and old browsers
Adding MVC Controller scaffolding error
Unable to debug plugin in NopCommerce
Displaying HTML and Images in MultiSelectList ASP.NET MVC Razor
#Html.DisplayFor() value not change after the postback
Location of Validation Message
ASP.NET Identity update column type for primary key Id in AspNetUsers table from a string to and int or a guid, yes or no?
Deploying ASP MVC 5 App with IIS 7.5
validation for dropdown in MVC3
MVC getting a list of music and image into a table
How to allow users to only edit their details in a catalog
Defining Repository for MVC best practice
MVC ASP.NET search filter by int
How do I add placeholder text from the model into a MVC view?
Web site analytic application in the mvc application
mvc3 EditorFor/DisplayFor throws Collection was modified; enumeration operation may not execute

Categories

HOME
validation
matlab
logstash
jsessionid
cql3
xcode8
pyusb
cross-domain
wso2ei
zebble
pymc3
scrollbar
reload
media-source
dotnetbar
haml
netlify
sencha-touch-2
easendmail
sax
slf4j
padding
grouping
esri
regex-group
iar
android-security
debugview
blockui
codeskulptor
rhel7
sieve-of-eratosthenes
solid-principles
linechart
mindstorms
brainfuck
google-slides
btle
angularjs-routing
backwards-compatibility
jquery-ui-dialog
distributed-lock
php-deployer
uifont
name-mangling
ganglia
python-module
column-oriented
liclipse
findall
breach-attack
shift-reduce-conflict
topojson
rails-console
hapi.js
git-config
post-increment
coldfusion-11
finalcut
enhanced-ecommerce
rabbitvcs
docklight
cucumber-java
administrator
multer
actioncable
sejda
post-processor
delphi-10-seattle
ubiquity
phone-number
android-gpuimageview
wss4j
react-rails
getuikit
gcovr
tinkerpop-frames
hebrew
azimuth
xml.modify
keymapping
blazeds
inputview
simpleaudioengine
kmz
route-me
source-highlighting
nspersistentdocument
shebang
blackberry-cascades
rc-shell
freeglut
obout
proxy-classes
postgresql-8.1
emacs-ecb
eye-detection
myisam
newsgroup
nhaml
metaphone

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App