-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The VSIX project won't build:
1. Error: No template files found.
2. Warning: Targets version (16.2.3074.61093) and build task version (16.6.2057.29868) do not match.
I attempted a dotnet pack, but that failed as well:
Each package is licensed to you by its owner. NuGet is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
Package Manager Console Host Version 5.6.0.6591
Type 'get-help NuGet' to see all available NuGet commands.
PM> dotnet pack
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored D:\Dev\Projects\Testing\TemplateSamples\vsix\TemplateVsix.csproj (in 700 ms).
1 of 2 projects are up-to-date for restore.
D:\Dev\Projects\Testing\TemplateSamples\vstemplates\MyConsoleTemplate\MyConsoleTemplate.csproj(63,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\3.1.301\Microsoft\VisualStudio\v16.0\VSSDK\Microsoft.VsSDK.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\3.1.301\Microsoft\VisualStudio\v16.0\VSSDK\Microsoft.VsSDK.targets" is correct, and that the file exists on disk.
D:\Dev\Projects\Testing\TemplateSamples\vsix\TemplateVsix.csproj : error MSB4057: The target "pack" does not exist in the project.
CSC : warning CS2008: No source files specified. [D:\Dev\Projects\Testing\TemplateSamples\templatepackages\TemplatePackage\TemplatePackage.csproj]
TemplatePackage -> D:\Dev\Projects\Testing\TemplateSamples\templatepackages\TemplatePackage\bin\Debug\netstandard1.0\TemplatePackage.dll
D:\Dev\Projects\Testing\TemplateSamples\templatepackages\TemplatePackage\TemplatePackage.csproj(25,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "Pack". D:\Dev\Projects\Testing\TemplateSamples\templatepackages\TemplatePackage\TemplatePackage.csproj
PM>
Can you assist?
Metadata
Metadata
Assignees
Labels
No labels