Dan Cio
Posts: 1
Joined: Tue Jul 10, 2018 2:26 am

Issue compiling VS 2017

Tue Jul 10, 2018 2:41 am

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.

User avatar
Posts: 33342
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Issue compiling VS 2017

Tue Jul 10, 2018 8:26 pm

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.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

Return to “Windows 10 for IoT”

Who is online

Users browsing this forum: No registered users and 1 guest