Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Framework 3.5 SDK Availability #56

Closed
ghost opened this issue Jun 20, 2018 · 10 comments
Closed

.NET Framework 3.5 SDK Availability #56

ghost opened this issue Jun 20, 2018 · 10 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2018

The link the the .NET Framework 3.5 SDK takes you to a Microsoft page that says the download is no longer available.

@NileshGhodekar
Copy link
Contributor

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).

@lehtoj
Copy link

lehtoj commented Nov 8, 2018

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 ==========

@NileshGhodekar
Copy link
Contributor

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?

@lehtoj
Copy link

lehtoj commented Nov 8, 2018

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.

@NileshGhodekar
Copy link
Contributor

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.

@lehtoj
Copy link

lehtoj commented Nov 9, 2018

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.

@NileshGhodekar
Copy link
Contributor

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.

@NileshGhodekar
Copy link
Contributor

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!

@LaLaLeen
Copy link

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/

@RobinBeismann
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants