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

Projects
None yet
2 participants
@JohanLarsson
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

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jun 25, 2016

Member

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

Member

forki commented Jun 25, 2016

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

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jun 25, 2016

Member

and what's the concrete error?

Member

forki commented Jun 25, 2016

and what's the concrete error?

@JohanLarsson

This comment has been minimized.

Show comment
Hide comment
@JohanLarsson

JohanLarsson Jun 25, 2016

Contributor

This should repro the issue: AnalyzerWithCodeFix-0.1.zip

Contributor

JohanLarsson commented Jun 25, 2016

This should repro the issue: AnalyzerWithCodeFix-0.1.zip

@JohanLarsson

This comment has been minimized.

Show comment
Hide comment
@JohanLarsson

JohanLarsson Jun 25, 2016

Contributor

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.
Contributor

JohanLarsson commented Jun 25, 2016

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

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jun 25, 2016

Member

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

image

Member

forki commented Jun 25, 2016

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

image

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jun 25, 2016

Member

can you please upload state after step 3?

Member

forki commented Jun 25, 2016

can you please upload state after step 3?

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jun 25, 2016

Member

closed after discussion on gitter

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