In our end-to-end NuGet tests, we test creation of a Sharpliner pipeline library and referencing its NuGet in another project. This works fine. What does not work is having a project referenced directly.
We get this instead:
C:\.tools\.nuget\packages\sharpliner\1.5.9\build\Sharpliner.targets(20,5): error MSB4018: The "PublishDefinitions" task failed unexpectedly. [C:\SolutionShell\src\Microsoft.SolutionCenter.Isv.Pipelines\Microsoft.SolutionCenter.Isv.Pipelines.csproj]
C:\.tools\.nuget\packages\sharpliner\1.5.9\build\Sharpliner.targets(20,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly '[YOUR ASSEMBLY NAME], Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file
specified.
Problem
In our end-to-end NuGet tests, we test creation of a Sharpliner pipeline library and referencing its NuGet in another project. This works fine. What does not work is having a project referenced directly.
We get this instead:
Goal