Closed TerribleDev closed 7 years ago
woot, this is on my list to review this week.
Getting this when building with CI bat file first time:
DONE UPDATING NUGET PACKAGES
BUILDING SOLUTION ...
=====================
Microsoft (R) Build Engine version 15.1.548.43366
Copyright (C) Microsoft Corporation. All rights reserved.
C:\src\terribledev-sumologic-net-appenders\SumoLogic.Logging.Log4Net.Tests\SumoLogic.Logging.Log4Net.Tests.csproj(114,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props.
C:\src\terribledev-sumologic-net-appenders\SumoLogic.Logging.EnterpriseLibrary.Tests\SumoLogic.Logging.EnterpriseLibrary.Tests.csproj(99,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props.
C:\src\terribledev-sumologic-net-appenders\SumoLogic.Logging.NLog.Tests\SumoLogic.Logging.NLog.Tests.csproj(115,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props.
C:\src\terribledev-sumologic-net-appenders\SumoLogic.Logging.Common.Tests\SumoLogic.Logging.Common.Tests.csproj(107,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props.
Clears if I explicitly ./.nuget/nuget.exe restore
from repo root, but this should work out of the box.
its supposed to run dotnet restore before the build on this line here: https://github.com/SumoLogic/sumologic-net-appenders/pull/35/files#diff-6ee9f301d8821dfdceea09f2967f45a1R30
@latkin I can't repro the bad restore you previously mentioned. Do you have the newest version of the dotnet cli installed? In this file it should do a restore. Do you see that output when you run this? https://github.com/SumoLogic/sumologic-net-appenders/pull/35/files#diff-6ee9f301d8821dfdceea09f2967f45a1R30
nvm I was able to repro it 568e54f
Here is the issue related to stylecop https://github.com/StyleCop/StyleCop/issues/126
@latkin I pushed some updates
At this point, I'm awaiting your feedback.
Awesome! Builds/tests clean, and sanity check on a desktop and .net core app both work great.
Thank you for the hard work to get this all together! I will get a new nuget package published soon.
@latkin Holy CRAPPPPPPPPPPPPPPPPPPPPPP
Ok, so when can I expect my sumologic hoodie 😛
Just kidding, but thanks this is awesome.
cc @billpratt
@TerribleDev let me see what we can do... 😉
QQ -- nuget yells at me b/c NLog package for .NET Core is still pre-release, but our package is (as it stands) marked stable.
I am thinking I'll push 1.0.0.3 for Common + Log4Net, but push 1.0.0.3-beta1 for NLog so that one is marked pre-release. Is that the right way to do this?
@latkin You can just set the version in the csproj to have that suffix. So just make the version say 1.0.0.3-beta1
You can also pass in versions on the command line
dotnet pack awesome.csproj /p:Version=1.0.0.3-beta1
@latkin that sounds like a solid plan btw
Nice work!
see #19 and #22