Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Build fails on 3.1.100 #231

Closed
Pzixel opened this issue Jun 10, 2020 · 7 comments
Closed

Build fails on 3.1.100 #231

Pzixel opened this issue Jun 10, 2020 · 7 comments
Labels

Comments

@Pzixel
Copy link
Contributor

Pzixel commented Jun 10, 2020

My environment is freshly installed Windows 10

When I run build.ps1 I get following log:

PS C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples> .\build.ps1
Running in C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples
Run "dotnet tool restore" to make the "nbgv" command available.
Using CG.R package version:  Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------
Get-ChildItem: C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\build.ps1:28
Line |
  28 |  … $cgrNupkg = Get-ChildItem ../bin/Packages/$env:Configuration/ -Filter …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\Packages\Debug\' because it
     | does not exist.

CG.R packages for this version not found, packing...
dotnet pack ../src
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 6,76 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Templates\CodeGeneration.Roslyn.Templates.csproj.
  Restore completed in 6,79 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests.Generators\CodeGeneration.Roslyn.Tests.Generators.csproj.
  Restore completed in 6,79 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj.
  Restore completed in 6,79 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj.
  Restore completed in 6,8 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj.
  Restore completed in 6,81 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Plugin.Sdk\CodeGeneration.Roslyn.Plugin.Sdk.csproj.
  Restore completed in 6,81 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.PluginMetapackage.Sdk\CodeGeneration.Roslyn.PluginMetapackage.Sdk.csproj.
  Restore completed in 6,85 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests.Generators.Dependency\CodeGeneration.Roslyn.Tests.Generators.Dependency.csproj.
  Restore completed in 6,93 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests\CodeGeneration.Roslyn.Tests.csproj.
  Restore completed in 9,93 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests.RunBuild\CodeGeneration.Roslyn.Tests.RunBuild.csproj.
  Restore completed in 11,48 sec for C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Plugin.Sdk'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Plugin.Sdk\CodeGeneration.Roslyn.Plugin.Sdk.csproj]
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Plugin.Sdk.0.8.0-alpha-g.nupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.PluginMetapackage.Sdk'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.PluginMetapackage.Sdk\CodeGeneration.Roslyn.PluginMetapackage.Sdk.csproj]
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.PluginMetapackage.Sdk.0.8.0-alpha-g.nupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
  CodeGeneration.Roslyn.Templates ->
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Templates'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Templates\CodeGeneration.Roslyn.Templates.csproj]
  CodeGeneration.Roslyn.Attributes -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Attributes\Debug\net20\CodeGeneration.Roslyn.Attributes.dll
  CodeGeneration.Roslyn.Attributes -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Attributes\Debug\net40\CodeGeneration.Roslyn.Attributes.dll
  CodeGeneration.Roslyn.Attributes -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Attributes\Debug\netstandard1.0\CodeGeneration.Roslyn.Attributes.dll
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Templates.0.8.0-alpha-g.nupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj]
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Attributes.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Attributes.0.8.0-alpha-g.snupkg'.
  CodeGeneration.Roslyn -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn\Debug\netstandard2.0\CodeGeneration.Roslyn.dll
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.0.8.0-alpha-g.snupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj]
  CodeGeneration.Roslyn.Engine -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Engine\Debug\netcoreapp2.0\CodeGeneration.Roslyn.Engine.dll
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Engine.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Engine.0.8.0-alpha-g.snupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
  CodeGeneration.Roslyn.Tool -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Tool\Debug\netcoreapp2.1\CodeGeneration.Roslyn.Tool.dll
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
  CodeGeneration.Roslyn.Tool -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Tool\Debug\netcoreapp2.1\CodeGeneration.Roslyn.Tool.dll
  CodeGeneration.Roslyn.Tool -> C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Tool\Debug\netcoreapp2.1\publish\
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Tool.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Tool.0.8.0-alpha-g.snupkg'.
BuildPropsGenerator/build.ps1
Running in C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator
dotnet build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]

Build FAILED.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.30
dotnet pack JsonGenerator
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\JsonGenerator\JsonGenerator.csproj]
PackagedGenerator/build.ps1
Running in C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\PackagedGenerator
dotnet build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\PackagedGenerator\PackagedGenerator.csproj]

Build FAILED.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\PackagedGenerator\PackagedGenerator.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.31
dotnet build BuildPropsConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj]

Build FAILED.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.35
dotnet build GeneratorInConsumerSolution
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\GeneratorInConsumerSolution\GeneratorInConsumerSolution.sln]

Build FAILED.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\GeneratorInConsumerSolution\GeneratorInConsumerSolution.sln]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.32
dotnet build JsonConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\JsonConsumer\JsonConsumer.csproj]

Build FAILED.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\JsonConsumer\JsonConsumer.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:23.55
MetapackageSample/build.ps1
Running in C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\MetapackageSample
dotnet pack
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageSample.sln]
dotnet run -p MetapackageConsumer
C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1101: Unable to find package MetapackageSample. No packages exist with this id in source(s): C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\bin\Packages\Debug\, nuget.org

The build failed. Fix the build errors and run again.
dotnet build PackageConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\PackageConsumer\PackageConsumer.csproj]

Build FAILED.

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 'Welcome to .NET Core 3.1! --------------------- SDK Version: 3.1.100  Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.  Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry  ---------------- Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what's new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app --------------------------------------------------------------------------------------' is not a valid version string. [C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples\PackageConsumer\PackageConsumer.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.31
PS C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples>

Installed SDKs:

PS C:\Users\pzixe\Downloads\CodeGeneration.Roslyn-master\samples> dotnet --list-sdks
3.1.100 [C:\Program Files\dotnet\sdk]
3.1.301 [C:\Program Files\dotnet\sdk]
@amis92
Copy link
Collaborator

amis92 commented Jun 10, 2020

So. The problem is visible in 4th line of your log:

Using CG.R package version: Welcome to .NET Core 3.1!

It's a log entry from the following script line:

$env:LocalNuGetVersion = dotnet nbgv get-version --variable NuGetPackageVersion --project ../src

It's quite obvious - because this is the first-ever invocation of dotnet tool, it's output is f**ked up with the very important welcome message.

I don't have time to think about a solution here, because I'm not sure what env variables/switches should be used to fully skip the message and get to business.


There's also another issue - it seems that the dotnet tool restore wasn't run (3rd log line)

Run "dotnet tool restore" to make the "nbgv" command available.

It's not been taken into account (the need for tool restore) for samples build script. The script was though as a helper for development cycle.

@Pzixel
Copy link
Contributor Author

Pzixel commented Jun 10, 2020

I see.

I only ran it because for some reason codegen didn't work for my project so I assumed that builtin samples should work.

It's quite obvious - because this is the first-ever invocation of dotnet tool, it's output is f**ked up with the very important welcome message.

It's not, I can show I ran it several times thereafter.


P.S>

What's your plan on the project? Is it deprecated with source generators release? Because IIRC source generators are much weaker and doesn't allow to do everything we need.

@amis92
Copy link
Collaborator

amis92 commented Jun 10, 2020

Well then it might be because the dotnet tool restore wasn't run.


What's your plan on the project?

See pinned issue: #229 (yes, I don't plan supporting it after source generators hit the fan).

@Pzixel
Copy link
Contributor Author

Pzixel commented Jun 10, 2020

I reran the tool, some projects succeeded but some - failed:

PowerShell 7.0.1
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/powershell
Type 'help' to get help.

PS C:\Users\pzixe> св C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples^C
PS C:\Users\pzixe> cd C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples
PS C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples> dotnet tool restore
Tool 'nbgv' (version '3.0.28') was restored. Available commands: nbgv

Restore was successful.
PS C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples> .\build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples
No git repo found at or above: "C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\"
Using CG.R package version:
Get-ChildItem: C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\build.ps1:28
Line |
  28 |  … $cgrNupkg = Get-ChildItem ../bin/Packages/$env:Configuration/ -Filter …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\' because it
     | does not exist.

CG.R packages for this version not found, packing...
dotnet pack ../src
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 201,28 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests.Generators\CodeGeneration.Roslyn.Tests.Generators.csproj.
  Restore completed in 201,28 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj.
  Restore completed in 201,28 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests.RunBuild\CodeGeneration.Roslyn.Tests.RunBuild.csproj.
  Restore completed in 201,29 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj.
  Restore completed in 201,29 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Templates\CodeGeneration.Roslyn.Templates.csproj.
  Restore completed in 201,3 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj.
  Restore completed in 239,13 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Plugin.Sdk\CodeGeneration.Roslyn.Plugin.Sdk.csproj.
  Restore completed in 238,89 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.PluginMetapackage.Sdk\CodeGeneration.Roslyn.PluginMetapackage.Sdk.csproj.
  Restore completed in 246,16 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj.
  Restore completed in 298,01 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests.Generators.Dependency\CodeGeneration.Roslyn.Tests.Generators.Dependency.csproj.
  Restore completed in 415,88 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tests\CodeGeneration.Roslyn.Tests.csproj.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Plugin.Sdk'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Plugin.Sdk\CodeGeneration.Roslyn.Plugin.Sdk.csproj]
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Plugin.Sdk.0.8.0-alpha-g.nupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.PluginMetapackage.Sdk'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.PluginMetapackage.Sdk\CodeGeneration.Roslyn.PluginMetapackage.Sdk.csproj]
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.PluginMetapackage.Sdk.0.8.0-alpha-g.nupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
  CodeGeneration.Roslyn.Templates ->
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Templates'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Templates\CodeGeneration.Roslyn.Templates.csproj]
  CodeGeneration.Roslyn.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Attributes\Debug\net40\CodeGeneration.Roslyn.Attributes.dll
  CodeGeneration.Roslyn.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Attributes\Debug\net20\CodeGeneration.Roslyn.Attributes.dll
  CodeGeneration.Roslyn.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Attributes\Debug\netstandard1.0\CodeGeneration.Roslyn.Attributes.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Templates.0.8.0-alpha-g.nupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Attributes\CodeGeneration.Roslyn.Attributes.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn\CodeGeneration.Roslyn.csproj]
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Attributes.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Attributes.0.8.0-alpha-g.snupkg'.
  CodeGeneration.Roslyn -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn\Debug\netstandard2.0\CodeGeneration.Roslyn.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.0.8.0-alpha-g.snupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Engine\CodeGeneration.Roslyn.Engine.csproj]
  CodeGeneration.Roslyn.Engine -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Engine\Debug\netcoreapp2.0\CodeGeneration.Roslyn.Engine.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Engine.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Engine.0.8.0-alpha-g.snupkg'.
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
  CodeGeneration.Roslyn.Tool -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Tool\Debug\netcoreapp2.1\CodeGeneration.Roslyn.Tool.dll
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool'. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
C:\Users\pzixe\.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\CodeGeneration.Roslyn.Tool\CodeGeneration.Roslyn.Tool.csproj]
  CodeGeneration.Roslyn.Tool -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Tool\Debug\netcoreapp2.1\CodeGeneration.Roslyn.Tool.dll
  CodeGeneration.Roslyn.Tool -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\CodeGeneration.Roslyn.Tool\Debug\netcoreapp2.1\publish\
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Tool.0.8.0-alpha-g.nupkg'.
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\../bin/Packages/Debug/CodeGeneration.Roslyn.Tool.0.8.0-alpha-g.snupkg'.
BuildPropsGenerator/build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator
dotnet build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 8,84 sec for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj.
FrameworkInfoProviderGenerator.cs(41,42): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]
FrameworkInfoProviderGenerator.cs(49,41): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]

Build FAILED.

FrameworkInfoProviderGenerator.cs(41,42): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]
FrameworkInfoProviderGenerator.cs(49,41): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]
    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:09.61
dotnet pack JsonGenerator
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 1,76 sec for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\JsonGenerator\JsonGenerator.csproj.
  JsonGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonGenerator\Debug\netcoreapp2.1\JsonGenerator.dll
  JsonGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonGenerator\Debug\netcoreapp3.1\JsonGenerator.dll
  JsonGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonGenerator\Debug\netcoreapp2.1\publish\
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/JsonGenerator.1.0.0.nupkg'.
PackagedGenerator/build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\PackagedGenerator
dotnet build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 246,49 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\PackagedGenerator\PackagedGenerator.csproj.
  PackagedGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\PackagedGenerator\Debug\netcoreapp2.1\PackagedGenerator.dll
  PackagedGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\PackagedGenerator\Debug\netcoreapp2.1\publish\
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/PackagedGenerator.1.0.0.nupkg'.

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.14
dotnet build BuildPropsConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj : error NU1101: Unable to find package BuildPropsGenerator. No packages exist with this id in source(s): C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\, C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\, nuget.org
  Restore failed in 2,87 sec for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj.

Build FAILED.

C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj : error NU1101: Unable to find package BuildPropsGenerator. No packages exist with this id in source(s): C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\, C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\, nuget.org
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:03.47
dotnet build GeneratorInConsumerSolution
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 727,41 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\GeneratorInConsumerSolution\Sample.Consumer\Sample.Consumer.csproj.
  Restore completed in 727,41 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\GeneratorInConsumerSolution\Sample.Generator\Sample.Generator.csproj.
  Sample.Generator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Sample.Generator\Debug\netstandard2.0\Sample.Generator.dll
  Sample.Consumer -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Sample.Consumer\Debug\netstandard2.0\Sample.Consumer.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.74
dotnet build JsonConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 368,28 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\JsonConsumer\JsonConsumer.csproj.
  JsonConsumer -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonConsumer\Debug\netcoreapp3.1\JsonConsumer.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:09.96
MetapackageSample/build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample
dotnet pack
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 206,97 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageSample\MetapackageSample.csproj.
  Restore completed in 206,97 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageSample.Generators\MetapackageSample.Generators.csproj.
  Restore completed in 206,97 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageSample.Attributes\MetapackageSample.Attributes.csproj.
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard1.0\MetapackageSample.Attributes.dll
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard2.0\MetapackageSample.Attributes.dll
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard1.0\MetapackageSample.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/MetapackageSample.Attributes.1.0.0.nupkg'.
  MetapackageSample.Generators -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Generators\Debug\netcoreapp2.1\MetapackageSample.Generators.dll
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard2.0\MetapackageSample.dll
  MetapackageSample.Generators -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Generators\Debug\netcoreapp2.1\MetapackageSample.Generators.dll
  MetapackageSample.Generators -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Generators\Debug\netcoreapp2.1\publish\
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/MetapackageSample.Generators.1.0.0.nupkg'.
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard1.0\MetapackageSample.Attributes.dll
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard2.0\MetapackageSample.Attributes.dll
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard1.0\MetapackageSample.dll
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard2.0\MetapackageSample.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\MetapackageSample.1.0.0.nupkg'.
dotnet run -p MetapackageConsumer
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102: Unable to find package CodeGeneration.Roslyn.Tool with version (>= 1.0.0)
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 3 version(s) in nuget.org [ Nearest version: 0.7.63 ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 1 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\ [ Nearest version: 0.8.0-alpha-g ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 0 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102: Unable to find package CodeGeneration.Roslyn.Attributes with version (>= 1.0.0)
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 21 version(s) in nuget.org [ Nearest version: 0.7.63 ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 1 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\ [ Nearest version: 0.8.0-alpha-g ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 0 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\

The build failed. Fix the build errors and run again.
dotnet build PackageConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 360,1 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\PackageConsumer\PackageConsumer.csproj.
  PackageConsumer -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\PackageConsumer\Debug\netcoreapp3.1\PackageConsumer.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.36
PS C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples> cd ..
PS C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master> .\samples\build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples
No git repo found at or above: "C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\src\"
Using CG.R package version:
BuildPropsGenerator/build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator
dotnet build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 1,48 sec for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj.
FrameworkInfoProviderGenerator.cs(41,42): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]
FrameworkInfoProviderGenerator.cs(49,41): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]

Build FAILED.

FrameworkInfoProviderGenerator.cs(41,42): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]
FrameworkInfoProviderGenerator.cs(49,41): error CS1061: 'TransformationContext' does not contain a definition for 'BuildProperties' and no accessible extension method 'BuildProperties' accepting a first argument of type 'TransformationContext' could be found (are you missing a using directive or an assembly reference?) [C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsGenerator\BuildPropsGenerator.csproj]
    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:02.21
dotnet pack JsonGenerator
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 513,15 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\JsonGenerator\JsonGenerator.csproj.
  JsonGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonGenerator\Debug\netcoreapp3.1\JsonGenerator.dll
  JsonGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonGenerator\Debug\netcoreapp2.1\JsonGenerator.dll
  JsonGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonGenerator\Debug\netcoreapp2.1\publish\
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/JsonGenerator.1.0.0.nupkg'.
PackagedGenerator/build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\PackagedGenerator
dotnet build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 240,35 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\PackagedGenerator\PackagedGenerator.csproj.
  PackagedGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\PackagedGenerator\Debug\netcoreapp2.1\PackagedGenerator.dll
  PackagedGenerator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\PackagedGenerator\Debug\netcoreapp2.1\publish\
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/PackagedGenerator.1.0.0.nupkg'.

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.14
dotnet build BuildPropsConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj : error NU1101: Unable to find package BuildPropsGenerator. No packages exist with this id in source(s): C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\, C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\, nuget.org
  Restore failed in 1,25 sec for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj.

Build FAILED.

C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\BuildPropsConsumer\BuildPropsConsumer.csproj : error NU1101: Unable to find package BuildPropsGenerator. No packages exist with this id in source(s): C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\, C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\, nuget.org
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.65
dotnet build GeneratorInConsumerSolution
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 264,6 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\GeneratorInConsumerSolution\Sample.Consumer\Sample.Consumer.csproj.
  Restore completed in 264,6 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\GeneratorInConsumerSolution\Sample.Generator\Sample.Generator.csproj.
  Sample.Generator -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Sample.Generator\Debug\netstandard2.0\Sample.Generator.dll
  Sample.Consumer -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Sample.Consumer\Debug\netstandard2.0\Sample.Consumer.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.18
dotnet build JsonConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 365,98 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\JsonConsumer\JsonConsumer.csproj.
  JsonConsumer -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\JsonConsumer\Debug\netcoreapp3.1\JsonConsumer.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.38
MetapackageSample/build.ps1
Running in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample
dotnet pack
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 206,84 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageSample\MetapackageSample.csproj.
  Restore completed in 206,84 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageSample.Generators\MetapackageSample.Generators.csproj.
  Restore completed in 206,84 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageSample.Attributes\MetapackageSample.Attributes.csproj.
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard1.0\MetapackageSample.Attributes.dll
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard2.0\MetapackageSample.Attributes.dll
  MetapackageSample.Generators -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Generators\Debug\netcoreapp2.1\MetapackageSample.Generators.dll
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard2.0\MetapackageSample.dll
  MetapackageSample.Generators -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Generators\Debug\netcoreapp2.1\MetapackageSample.Generators.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/MetapackageSample.Attributes.1.0.0.nupkg'.
  MetapackageSample.Generators -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Generators\Debug\netcoreapp2.1\publish\
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard1.0\MetapackageSample.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin/Packages/Debug/MetapackageSample.Generators.1.0.0.nupkg'.
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard1.0\MetapackageSample.Attributes.dll
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard1.0\MetapackageSample.dll
  MetapackageSample.Attributes -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample.Attributes\Debug\netstandard2.0\MetapackageSample.Attributes.dll
  MetapackageSample -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\MetapackageSample\Debug\netstandard2.0\MetapackageSample.dll
  Successfully created package 'C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\MetapackageSample.1.0.0.nupkg'.
dotnet run -p MetapackageConsumer
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102: Unable to find package CodeGeneration.Roslyn.Tool with version (>= 1.0.0)
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 3 version(s) in nuget.org [ Nearest version: 0.7.63 ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 1 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\ [ Nearest version: 0.8.0-alpha-g ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 0 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102: Unable to find package CodeGeneration.Roslyn.Attributes with version (>= 1.0.0)
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 21 version(s) in nuget.org [ Nearest version: 0.7.63 ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 1 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\bin\Packages\Debug\ [ Nearest version: 0.8.0-alpha-g ]
C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\MetapackageSample\MetapackageConsumer\MetapackageConsumer.csproj : error NU1102:   - Found 0 version(s) in C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\Packages\Debug\

The build failed. Fix the build errors and run again.
dotnet build PackageConsumer
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 355,8 ms for C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\PackageConsumer\PackageConsumer.csproj.
  PackageConsumer -> C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master\samples\bin\PackageConsumer\Debug\netcoreapp3.1\PackageConsumer.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.31
PS C:\Users\pzixe\Desktop\CodeGeneration.Roslyn-master>

@amis92
Copy link
Collaborator

amis92 commented Jun 10, 2020

Do you maybe have a shallow git clone? Building this project requires full git history because of Nredbank.GitVersioning.

@amis92
Copy link
Collaborator

amis92 commented Jun 10, 2020

I've added fd12007 which runs dotnet tool restore before nbgv is needed in build.ps1 scripts.

@Pzixel
Copy link
Contributor Author

Pzixel commented Jun 10, 2020

Right, it requires full history. Sorry, I didn't know it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants