Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "CopyRuntimeDependencies" task could not be initialized with its input parameters #1756

Closed
JohanLarsson opened this issue Jun 25, 2016 · 7 comments

Comments

@JohanLarsson
Copy link
Contributor

JohanLarsson commented Jun 25, 2016

Description

Please provide a succinct description of your issue.

Repro steps

  1. Install Net compiler platform
  2. New project > Visual C# > Extensibility > Analyzer with Code Fix (Nuget + VSIX)
  3. Convert to paket.

Expected behavior

Expected the test to build & pass after converting to paket.

Actual behavior

Build fails due to CopyRuntimeDependencies
This is what the element looks like after conversion:
<CopyRuntimeDependencies OutputPath="$(OutDir)" TargetFramework="$(TargetFrameworkIdentifier) - $(TargetFrameworkVersion)" ProjectsWithRuntimeLibs="System.Collections;System.Diagnostics.Contracts;System.Diagnostics.Debug;System.Globalization;System.IO;System.Private.Uri;System.Reflection;System.Reflection.Extensions;System.Reflection.Primitives;System.Reflection.TypeExtensions;System.Resources.ResourceManager;System.Runtime;System.Runtime.Extensions;System.Runtime.Handles;System.Runtime.InteropServices;System.Text.Encoding;System.Text.Encoding.Extensions;System.Threading;System.Threading.Tasks" />

Related information

  • !Win 7
  • Paket 3.2.3
  • .NET 4.5
@forki
Copy link
Member

forki commented Jun 25, 2016

can you please upload a zip with the code before step 3?

@forki
Copy link
Member

forki commented Jun 25, 2016

and what's the concrete error?

@JohanLarsson
Copy link
Contributor Author

JohanLarsson commented Jun 25, 2016

This should repro the issue: AnalyzerWithCodeFix-0.1.zip

@JohanLarsson
Copy link
Contributor Author

There were a bunch of errors after the conversion:

  1. Analyzer paths not updated, stillpointing to the x.y.z paths.
  2. This mysterious CopyRuntimeDependencies failed the build.
  3. One more issue that I don't remember now.

@forki
Copy link
Member

forki commented Jun 25, 2016

If I run paket convert-from-nuget on that zip I get:

image

@forki
Copy link
Member

forki commented Jun 25, 2016

can you please upload state after step 3?

@forki
Copy link
Member

forki commented Jun 25, 2016

closed after discussion on gitter

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

No branches or pull requests

2 participants