tag:help.appveyor.com,2012-11-13:/discussions/problems/70-r-sdk-nuget-package-dependencies-fail-on-buildAppVeyor: Discussion 2018-08-25T01:37:22Ztag:help.appveyor.com,2012-11-13:Comment/312051862014-01-20T17:59:42Z2014-01-20T17:59:42ZR# SDK nuget package dependencies fail on build<div><p>Hi Dmitry,</p>
<p>It should work now. Please let me know if it doesn't.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/312051862014-01-21T00:45:16Z2014-01-21T00:45:16ZR# SDK nuget package dependencies fail on build<div><p>Still have the same error report.</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-01-21T01:05:23Z2014-01-21T01:05:23ZR# SDK nuget package dependencies fail on build<div><p>Oh, just noticed you reference Resharper SDK as a NuGet package.
This is cool - no need to install it on build machines.</p>
<p>Regarding the problem - make sure you are not referencing
specific assembly of the SDK. Open project file contents and check
assembly references.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/312051862014-01-21T02:55:50Z2014-01-21T02:56:36ZR# SDK nuget package dependencies fail on build<div><p>Hi.</p>
<p>I have checked out. All sdk references are imported with
tips:</p>
<p>" "</p>
<p>Thanks.</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-01-24T03:16:49Z2014-01-24T03:16:49ZR# SDK nuget package dependencies fail on build<div><p>Dmitry,</p>
<p>Is it the latest version: <a href=
"https://github.com/KozhevnikovDmitry/MockMetrics">https://github.com/KozhevnikovDmitry/MockMetrics</a>
or you roll-backed? I can't see ReSharper package there...</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/312051862014-01-24T03:24:29Z2014-01-24T03:24:29ZR# SDK nuget package dependencies fail on build<div><p>Feodor,</p>
<p>Look into 'trunk' branch.</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-01-24T03:46:15Z2014-01-24T03:46:15ZR# SDK nuget package dependencies fail on build<div><p>OK, I see. I've cloned trunk to my dev machine and after running
'nuget restore<code>everything built OK with few warnings. However,
I noticed restoring</code>JetBrains.ReSharper.SDK` took some
time.</p>
<p>My guess would be something's wrong with restoring that package
on AppVeyor build machine. Perhaps, it requires some permissions or
trying to access GAC...</p>
<p>Next week we are releasing beta of the new release - I'm sure
your project will work there just fine as it uses for builds clean
VMs with admin access.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/312051862014-01-24T04:03:43Z2014-01-24T04:03:43ZR# SDK nuget package dependencies fail on build<div><p>SDK consists of huge number of packages, maybe later I will be
able to reduce it. In order <a href=
"http://blog.jetbrains.com/dotnet/2013/11/07/resharper-sdk-now-available-on-nuget/">
SDK via nuget</a> was intended specially for CI. But even on dev
machine project sometimes(first time, on update sdk package)builds
with errors. Anyway thanks for great support! Look foward for next
release.</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-02-04T17:22:45Z2014-02-04T17:22:45ZR# SDK nuget package dependencies fail on build<div><p>Dmitry,</p>
<p>It's time to try your project on a new release!</p>
<p>Use this link to register for beta:<br>
<a href=
"https://ci-beta.appveyor.com/signup">https://ci-beta.appveyor.com/signup</a></p>
<p>Let me know how it goes.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/312051862014-02-05T06:01:44Z2014-02-05T06:02:49ZR# SDK nuget package dependencies fail on build<div><p>Feodor,</p>
<p>Unforutanetelly have the same errors with R# sdk dependencies .
I have regathered all projects for eliminate any inconsistencies.
According to build log R# sdk is downloaded from nuget correctly,
but copying sdk files to bin\debug directory is performing after
building assembly. In other word the sequence is: downloading
packages => compiling(fails with errors) => copying sdk files
to bin/debug. In the other hand nuget package HaveBox is
downloading and copying in right order and its dependencies do not
fail. May be the way of importing sdk to project is the cause of
this behavior. SDK adds the next strings into csproj file:</p>
<p>And the HaveBox adds:<br>
..\packages\HaveBox.1.6.1\lib\net45\HaveBox.dll</p>
<p>SDK imports lead to catalog
"packages\JetBrains.ReSharper.SDK.8.1.555\build" where particular
props and targets files(that includes sdk references) are
placed.</p>
<p>Dmitry Kozhevnikov</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-02-05T06:04:51Z2014-02-05T06:04:51ZR# SDK nuget package dependencies fail on build<div><p>OK, I see.</p>
<p>What if you add "nuget restore" command into "Before build
script" box - to restore all packages before build occurs? Would it
help?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/312051862014-02-05T06:48:33Z2014-02-05T06:48:33ZR# SDK nuget package dependencies fail on build<div><p>Yes! The solution has builded succesfully! Thanks for great
work.<br>
Now have a problem with running tests: Could not load
JetNativeHooks.dll. This lib in two varies must be placed to
bin\debug\x86 and bin\debug\x64.</p>
<p>Dmitry Kozhevnikov.</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-02-05T07:00:18Z2014-02-05T07:00:18ZR# SDK nuget package dependencies fail on build<div><p>Cool, you can just copy that assembly into both folders in
"before test script" ;)</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/312051862014-02-05T07:02:25Z2014-02-05T07:02:25ZR# SDK nuget package dependencies fail on build<div><p>I wil try.</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-02-06T06:48:16Z2014-02-06T06:48:16ZR# SDK nuget package dependencies fail on build<div><p>Everything works completelly amazing!</p></div>d.o.kozhevnikovtag:help.appveyor.com,2012-11-13:Comment/312051862014-02-06T18:41:59Z2014-02-06T18:41:59ZR# SDK nuget package dependencies fail on build<div><p>Told you! :)</p></div>Feodor Fitsner