visual-studio


dotnet core 1.1 multiple project dependencies


I am in the middle of setting up my first dotnet core solution in the new Visual studio for Mac that was just released.
I am trying to achieve the following project structure:
Solution
- Webapi
- Business layer
- Business layer tests
- Data access layer
- Data access layer tests
For starters, i have added the Dapper package to my data project so i can query my database.
My data access layer tests has a reference to the data access layer project so i can create integration test for it.
After creating my first test and running the test project, the tests fail because it can't find the Dapper dependency. Which is installed in the data project, but not in my data test project.
When i also install dapper to my test project the tests run without errors.
I think that this can become problematic in the future when i have to install every dependency that is installed in the data layer, also in the test layers. Not to mention keeping all those dependencies up to date with each other.
So instead of
Solution
- Webapi
- Business layer
- Business layer tests
- Data access layer
- References
-- Dapper 1.5.2
- Data access layer tests
- References
-- Data access layer
-- Dapper 1.5.2
I would like to achieve the following:
Solution
- Webapi
- Business layer
- Business layer tests
- Data access layer
- References
-- Dapper 1.5.2
- Data access layer tests
- References
-- Data access layer
And have the dapper package from the data project automatically copied to the test project.
So far i have not been able to get this to work, and cant find anything about it on the microsoft documentation. Is this even possible? If so, how?

Related Links

How to change word break mode in Visual Studio?
slowcheetah: how to add an existing file as a transform
Link Android SDK tools to Visual Studio
Visual Studio attach debugger already attached
Customize or override ResXFileCodeGenerator
Visual Studio 2015 crashes on WiX installer build when PermissionEx is used
Showing DLL-symbols of an attached process
Pending Changes dialog shows files outside solution that shouldn't be there
Visual Studio, open solution files with git branches?
Mercurial .hgignore for Visual Studio 2015 projects
Lnk2019 error in pycaffe in debug mode for Caffe for Windows
Does TFS VSO supports the use command line for Windows Server 2003?
visualstudio design view not loading
Word wrap setting in VS 2015 keeps resetting
Duplicate component name in SISS package when opening in Visual Studio 2013
Avoid seeing multiple results for the same thing in Visual Studio's Navigate To (Ctrl+comma) box?

Categories

HOME
jboss
spring-data
protocol-buffers
android-studio
memory
xcode
freeradius
functional-programming
concurrency
postgresql-9.4
add-on
compilation
embedded-resource
out-of-memory
biztalk
websocket
cryptography
fogbugz
dependencies
hyperledger
drag-and-drop
angular-meteor
gprs
graphql-js
sympy
hystrix
orc
pm2
fullcalendar-scheduler
google-awareness
squid
vmware-workstation
reselect
fosuserbundle
word2vec
bazaar
libgit2
azure-machine-learning
yii2-basic-app
password-generator
macromedia
sales
monitor
d3.js-v4
objectmapper
netbios
rust-cargo
rspec-rails
sql-execution-plan
apptentive
spring-rabbitmq
polyml
char-pointer
autoencoder
orchardcms-1.8
redgate
code-rally
oauth2
oauth2-playground
cloudera-sentry
minikube
moinmoin
adblock
knockout-2.0
redisson
android-webservice
algebra
gnome-terminal
patternlab.io
swiperefreshlayout
ternary-operator
clp
timestamping
urbit
onepage-checkout
json-spirit
arbre
css-paged-media
apple
swagger-maven-plugin
shell-extensions
global-scope
visual-c++-2012
mfmessagecomposeview
forceclose
redpitaya
fileshare
zend-search-lucene
xulrunner
jms-serializer
spring-social-linkedin
lru
node.js-stream
office-app
jsplitpane
semantic-merge
ip-geolocation
gitx
clrprofiler
live-wallpaper
pcspim
monocross
multidrop-bus
haiku
cewolf
libxslt
downgrade
cleartype
rational-unified-process
source-code-protection
rtti
suggestbox
error-detection

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