Windows 10 and GPMC Class Library - where is it? - c#

I have installed RSAT for Windows 10 and this should give me the above class lib. But I cannot find it!
This article seems to be outdated, its talking about win vista and win7!. Following this MSDN Article under %windir%\assembly\gac_msil I should find the necessary assembly to add to my Visual Studio Project. Unfortunately I do not have an assembly named Microsoft.GroupPolicy.Management there.
I can start the server manager and I can also open the Group Policy Management console, but I can't find the assemblies! Anybody knows what I am missing? Where can I find these assemblies under Windows 10?

I had the same problem. if you are still looking, on Windows 10 RSAT installs the Microsoft.grouppolicy.management dlls into %windir%\Microsoft.NET\assembly\GAC_MSIL. You can browse to this dll to add it as a reference to your .Net project. Also you don't need to "Turn Windows features on or off" as RSAT doesn't appear in the list and this was installed by default. The Microsoft article is out of date as you mention. Hope that helps.

Related

Problems of using Solidworks EDrawings 2018 viewer in windows application

I want to add EDrawings2018 viewer in my windows application. I took following steps:
Downloaded Edrawings2018
Installed it on my computer
Copied EModelView.dll from "C:\Program Files\Common Files\eDrawings2018\"
Added a reference of this dll in my application.
Compiled my application.
Now rightclick on ToolBox-->ChooseItems-->COM components but i stuck here i didnot find the edrawing control here.
Can you please help me ?
Here's a link you might find useful.
A short summary : at some point they stopped providing x32 version of the control and because VS is a 32 bit application you can't use the toolbox to add 64bit eDrawings control.
Try using sample from the link, but note that you'll need to change GUID for eDrawings control as sample was written for 2016 version of eDrawings.
EDIT: For me guid from the sample worked (I have eDrawings 2017) but make sure your project is building against x64.

Xamarin.Android: Can not debug

I have a problem with Visual Studio Community 2015 and Xamarin.
When I want to debug my Program the virtual device start but the App does not open.
This is the Log:
1>"aapt.exe" exited with code -1073741819.
1>The file "obj\Debug\android\bin\packaged_resources" does not exist.
I don´t know how to fix this problem, I hope you can help me.
Complete Log: Here
This is a known issue currently, where a too new version of Android SDK Build-tools. This error will occur when version 24.x is used, due to Xamarin being compatible with 23.x
We have a technical bulletin available on our release blog, which describes the issue and the solution:
Recommended fix: Uninstall Android SDK Build-tools version 24 using
the Android SDK Manager.
Another separate issue is that version 24 of the Android SDK
Build-tools package requires Java JDK 1.8 or higher. This can cause at
least 1 error:
“java.lang.UnsupportedClassVersionError: com/android/dx/command/Main :
Unsupported major.minor version 52.0”
Source: https://releases.xamarin.com/technical-bulletin-android-sdk-build-tools-24/
Thanks!
Here are a few solutions that worked for some users, as this error might have multiple causes :
Check your AndroidManifest.xml file for any typo. File names must not contain characters like -. This is also the case for any code file. Oh, and by the way, don't use keywords as file names. For example, a file named New.cs might break your app.
Check that the Android SDK you're targeting is installed on your computer. Click Tools->Android->Package manager and install or update the SDK you're targeting. Also, install tools, build tools and platform tools. You might want Android Support Library and Google Play Services too.
According to the logs you put on pastebin, it seems like the last thing done before the build fail is to check for Android SDK Build tools rev 24. There is high chances you lack those files, or that some are corrupted. I'd delete and reinstall everything.

Can't open WP7 solution with VS 2010 Express

I've downloaded a zipped project from https://github.com/slodge/face. This project is a wp7 realization for face.com api. I've just started studying silverlight and wp7 applications, so I'm not strong at it. The problem is that I can't load this solution. The error message is "One or more projects in the solution were not loaded correctly. Please see the output window for details"
What do i have to do?
I just opened solution and it works ok. I think you have problem with your environment.
From errors you see it appears you have no SDK 7.1
Please download and install.
Since it's my github account... :)
This project is just a 7.1 (Mango) project - so it should load for you.
If it doesn't then please do check the output window for more help.
If it still doesn't then the project itself is quite simple - the main code is in the faceapi class - and should be simple enough to use even without a project file. If you need any more help with it, then email me (see my so profile for email address) or contact me via twitter #slodge
To get the app running you will need your own API key from Face - see https://github.com/slodge/face/blob/master/SmilieHappy/Helpers/FaceApiSecrets.txt
Also, the team at face.com seemed very helpful when I contacted them!
Stuart
I also encountered same issue like yours. Some project can open correctly and somes are not. The issue is because the tag is only support "WindowsPhone" other than "WindowsPhone71".
So the solution is clear, manually edit the ".csproj" file. Change the "WindowsPhone71" to "WindowsPhone".
This issue does because symbols related to the windows phone framework (7.1 or 8.0) are missing. I think why I meet this issue is due because I install SDK7.1 on Windows Server 2008 R2 (which sdk not support) through "Web" way.
Here is the link how I install the SDK.
How to install the Windows Phone Developer Tools on Windows Server 2008

debug tool for Windows Embedded Standard 7

I am building WES 7 OS by running our C# application to see which package I need to add to. Most of the time I can get enough information from the error by viewing the System Event. Then I can add right package to the Answer file to create the OS image. But sometime I cannot find enough information from the System Event Viewer.
Is there any tool (debugger?) I can use to trace which file\library\dll is missing which cause our application crash during the runtime? I cannot install Visual Studio on that testing machine.
thanks,
Dependency Walker is a fantastic tool for this: http://www.dependencywalker.com/
It used to be included with the SDK, but I'm not sure if it is anymore. In any case, I'm sure the one on the dependencywalker.com site is more up-to-date.

Where is acedao.dll?

I want to know if Microsoft.Office.Interop.Access.Dao.dll version 12 is the same thing as acedao.dll. If not where can I find acedao.dll and add a reference to it in a C# WPF project?
I have no idea if the Interop dll is the same as acedao.dll.
Visit 2007 Office System Driver: Data Connectivity Components to download the dll as a separate component.
Note though that Jet 4.0, msjet40.dll, is a Windows operating system component and Windows requires it. It is present in Windows 2000 through to Windows 7. Whereas the acedao.dll must be installed. Depending on your overall objective you may find that msjet40.dll works for you.
Have a look here:
"C:\Program Files\Microsoft
Office\Office12\acedao.dll"

Categories