Repository navigation
Closed
Labels
Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.WG-Maintainers-Buildspecific to affecting the build
Milestone
Description
Steps to reproduce
get-pnpdevice | Select-Object -First 1 | Get-PnpDeviceProperty
or
Get-PhysicalDisk | Select-Object -First 1 | Get-StorageAdvancedProperty
or
[10.123.172.187]: PS C:\Users\LocalAdmin\Documents> $serviceTypes = @{
'Kernel Driver'=1;
'File System Driver'=2;
'Adapter'=4;
'Recognizer Driver'=8;
'Own Process'=16;
'Share Process'=32;
'Interactive Process'=256
}
$original = Get-CimInstance Win32_Service -filter "Name='wuauserv'"
$res = $original | Invoke-CimMethod -methodname Change -Arguments @{ServiceType=$serviceTypes["Own Process"]}
Expected behavior
It should work
Actual behavior
... Could not find any resources
appropriate for the specified culture or the neutral culture. Make sure
"Microsoft.Management.Infrastructure.Strings.resources" was correctly embedded or linked into assembly
"Microsoft.Management.Infrastructure" at compile time, or that all the satellite assemblies required are loadable
and fully signed.
+ CategoryInfo : NotSpecified: (Win32_PnPEntity:String) [Get-PnpDeviceProperty], CimJobException
+ FullyQualifiedErrorId : CimJob_MissingManifestResourceException,Get-PnpDeviceProperty
Environment data
v0.5.0
> $PSVersionTable
Name Value
---- -----
PSEdition Core
PSRemotingProtocolVersion 2.3
BuildVersion 3.0.0.0
PSVersion 5.1.10032.0
CLRVersion
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
$ dotnet --info
.NET Command Line Tools (1.0.0-preview2-003121)
Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14371
OS Platform: Windows
RID: win10-x64
$ git rev-parse HEAD; git status
Metadata
Metadata
Assignees
Labels
Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.WG-Maintainers-Buildspecific to affecting the build
Activity
vors commentedon Jun 25, 2016
Travis Plunk (@TravisEz13) I noticed that you don't populate "Environment data", i.e. your recent bugs it says v0.4.0 (which is really old vesion).
My original thinking was: ever put version of the product, if issue found in the released version or put second section info (info about
gittree anddotnet --info).Do we need more clear documentation in the template for this section?
How we can improve the template?
andyleejordan commentedon Jun 25, 2016
I think prepopulating with a version is the problem. We should explicitly ask for PSVersionTable and dotnet --info, and if it's not filled in, then at least we don't have misleading information.
TravisEz13 commentedon Jun 27, 2016
sergei (@vors) Andy Jordan (@andschwa) populating this for every issue is very time-consuming. I've updated the template with most of the info
TravisEz13 commentedon Jun 29, 2016
sergei (@vors) This was solved by this change in the installation manifest (skipping
Microsoft.Management.Infrastructure.dllandMicrosoft.Management.Infrastructure.Native.dll). I don't think this is a build issue. Unless you want to keep it open for the nuGet issue you were talking about.vors commentedon Jun 29, 2016
I will keep it open, I think we don't add resources in nuget packages at the moment and we should.
Or better replace nuget packages by reference-only packages.
[-]resources error in master SD[/-][+]Resources are missing from Microsoft.Management.Infrastructure nuget package[/+]3 remaining items
vors commentedon Jul 14, 2016
Fixed in #1367
daxian-dbw commentedon Jul 15, 2016
#1367 covers cimcmdlet, wsman.management and wsman.runtime, but not MMI.
vors commentedon Jul 15, 2016
My bad, too many assemblies, I messed up. :)