PowerShell
PowerShell copied to clipboard
Generate DSC from .NET not working, missing assembly?
Steps to reproduce
Generate a DSC file from a .NET Core application.
Expected behavior
The DSC code executes normally.
Actual behavior
It ends with the following error:
Cannot find the type for custom attribute 'Microsoft.PowerShell.DesiredStateConfiguration.ArgumentToConfigurationDataTransformation'. Make sure that the assembly that contains this type is loaded.
Environment data
PSVersion: {6.0.0-alpha}
PSCompatibleVersions: System.Version[7]
PSEdition: Core
BuildVersion: 3.0.0
CLRVersion: null
SerializationVersion: 1.1.0.1
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
GitCommitId: "Could not find file 'C:\\Users\\xxx\\.nuget\\packages\\system.management.automation\\6.0.0-alpha17\\lib\\netstandard1.6\\powershell.version'."
This is working with beta1. Closing this.