Comments (10)
Thanks for reporting this. I guess I'm just going to remove the hotlink to the SDK. People then can get those utilities from the GitHub initial check-in itself (already hotlinked).
from mimwal.
I've downloaded the files mentioned in the wiki separately to the specified locations. However, the build still fails.
Even though the projects target .NET Framework 3.5, Visual Studio 2015 attempts to build the solution using .Net 4.
1>------ Rebuild All started: Project: WorkflowActivityLibrary, Configuration: Release Any CPU ------
1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Workflow.targets(121,5): error : Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
2>------ Rebuild All started: Project: WorkflowActivityLibrary.UI, Configuration: Release Any CPU ------
2>CSC : error CS0006: Metadata file 'C:\MIMWAL-2.18.0318.0\src\WorkflowActivityLibrary\bin\Release\MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.dll' could not be found
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========
from mimwal.
This is a different issue than the issue for which this thread was opened. Here it seems like when you installed VS 2015, it did not install the .NET 3.5 workflow components?
from mimwal.
All I can say for certain is that I've installed VS 2015, put the files in the MIMWAL wiki in their place, ran rebuild. Which then fails to the error described above. In the individual projects in the MIMWAL solution, the target is 3.5. I cannot tell if I actually have the 3.5 SDK installed, because I cannot find it anywhere so I could install it to make sure.
But if I do have the SDK, then I do not know what to do to fix the problem. I've googled for the issue and tried a few of the proposed solutions, which did not help.
from mimwal.
You don't need SDK installed, you only need those two specific utilities from the SDK. These two utilities does not play any part in the build/compilation step that is reporting error. If you try to create a brand new Workflow project, does VS allows you to a new .NET 3.5 Workflow Activity Library? If not, try rerunning the VS installer with "Custom" setup and see what .NET 3.5 WF optional component you need to install.
from mimwal.
Visual Studio presents me with various .NET 3.5 C# projects types, but Workflow Activity is not one of them. .NET 4 and newer however do give me the option to select Activity Library.
Visual Studio 2015 custom install does not give me any options that might be related.
from mimwal.
Ok, so I did a VS 2015 fresh install on a WS2012 R2 server. All I needed was to turn on the .NET 3.5 feature on the server and default install of VS 2015.
from mimwal.
I'm closing this Issue now as the I've updated the Build wiki for the original issue reported (.NET 3.5. SDK not available for download any more and have provided instructions on workaround). @lehtoj, if you still have issue with VS 2015 and .NET 3.5 WF projects, probably do a reinstall or post this on a Visual Studio forum. Thanks!
from mimwal.
I had the same error; within the "errorlog" we had :\Windows\Microsoft.NET\Framework\v4.0.30319\Workflow.targets(121,5): error : Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
and
MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.dll' could not be found
.NET 3.5 was installed.
We installed the tool on a windows 2016 server.
Seems if you download the files, they files get a property enabled "Security: This file came from another computer and might be blocked to help protect this server". When unblocking the all files, this issue was solved. The URL below triggered me.
https://projectkbblog.wordpress.com/2017/07/12/re-building-workflows-for-mim-2016-compilation-failed-unable-to-load-one-or-more-of-the-requested-types/
from mimwal.
I had the same error; within the "errorlog" we had :\Windows\Microsoft.NET\Framework\v4.0.30319\Workflow.targets(121,5): error : Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
and
MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.dll' could not be found.NET 3.5 was installed.
We installed the tool on a windows 2016 server.
Seems if you download the files, they files get a property enabled "Security: This file came from another computer and might be blocked to help protect this server". When unblocking the all files, this issue was solved. The URL below triggered me.
https://projectkbblog.wordpress.com/2017/07/12/re-building-workflows-for-mim-2016-compilation-failed-unable-to-load-one-or-more-of-the-requested-types/
Thanks, unblocking the files solved it for me aswell.
Heres a quick PowerShell Cmdlet for it: Get-ChildItem -Recurse -Path "C:\src" | Unblock-File
from mimwal.
Related Issues (20)
- GenerateRandomPassword function and consecutive characters HOT 2
- GenerateRandomPassword Function not present HOT 4
- Check Target exists before executing activity HOT 2
- Event ID 41501 Thrown during Generate Unique Value Activity HOT 2
- Build solution - The referenced component 'WorkflowActivityLibrary' could not be found. WorkflowActivityLibrary.UI HOT 3
- Failure adding assembly to the cache: Strong name signature could not be verified HOT 2
- GenerateUniqueValue conflict filter parsing starts-with
- Generate Unique ID limit HOT 1
- Feature request - Adding dot notation support to Converttonumber HOT 1
- Feature Request : Add a possibility to query Azure AD in the "Generate Unique Value Activity"
- This repo is missing important files HOT 1
- With IIF statement, both true and false conditions are evaluated HOT 2
- Update Resource - PowerShell activity Error
- WorkflowManager could not deserialize XOML definition HOT 9
- MIMWAL UI display issue HOT 24
- MIM Portal ignoring extra lines in xoml HOT 2
- Feature Request - CamelCase HOT 4
- DateTimeFromFileTimeUTC Function error (attribute Type) HOT 5
- Verify Request - Error Message HOT 2
- Issue with deleting ids from MIM portal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimwal.