Giter VIP home page Giter VIP logo

Comments (10)

NileshGhodekar avatar NileshGhodekar commented on May 16, 2024

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.

lehtoj avatar lehtoj commented on May 16, 2024

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.

NileshGhodekar avatar NileshGhodekar commented on May 16, 2024

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.

lehtoj avatar lehtoj commented on May 16, 2024

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.

NileshGhodekar avatar NileshGhodekar commented on May 16, 2024

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.

lehtoj avatar lehtoj commented on May 16, 2024

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.

NileshGhodekar avatar NileshGhodekar commented on May 16, 2024

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.

NileshGhodekar avatar NileshGhodekar commented on May 16, 2024

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.

LaLaLeen avatar LaLaLeen commented on May 16, 2024

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.

RobinBeismann avatar RobinBeismann commented on May 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.