Page 1 of 1

Issue compiling VS 2017

Posted: Tue Jul 10, 2018 2:41 am
by Dan Cio
I'm new to Raspberry Pi. I have a Pi 3 B. Been writing software for years, VB 10+, C# 8+.

I'm trying to write some software that will eventually operate a model railroad layout. All I'm doing now is trying to get a few buttons to toggle on and off. I'm using VB for this project.

When I compile to anything (Device or Remote Machine) I get an error:

Cannot find type System.ComponentModel.Composition.ExportAttribute in module System.ComponentModel.Composition.dll

I have 5 different Windows SDK's installed. According to the Object Browser the one the project is referencing is 10.0.15138. I can't change this.

I've downloaded System.ComponentModel.Composition with NuGet and that didn't help.

Does anyone have any idea what's going on? I'm scratching my head on this one.

Re: Issue compiling VS 2017

Posted: Tue Jul 10, 2018 8:26 pm
by DougieLawson
You are much more likely to get a sane reply by posting on https://social.msdn.microsoft.com/forum ... WindowsIoT where the VS2017 folks are more likely to see your question.