Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi8-Feb-20 19:01
Ayub Kokabi8-Feb-20 19:01 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi7-Feb-20 19:28
Ayub Kokabi7-Feb-20 19:28 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
MadMyche8-Feb-20 1:10
professionalMadMyche8-Feb-20 1:10 
QuestionWhat is the difference between calling functions via thread and calling directly in c#? Pin
Member 134993233-Feb-20 16:43
Member 134993233-Feb-20 16:43 
AnswerRe: What is the difference between calling functions via thread and calling directly in c#? Pin
OriginalGriff3-Feb-20 20:50
mveOriginalGriff3-Feb-20 20:50 
AnswerRe: What is the difference between calling functions via thread and calling directly in c#? Pin
Pete O'Hanlon3-Feb-20 21:11
mvePete O'Hanlon3-Feb-20 21:11 
AnswerRe: What is the difference between calling functions via thread and calling directly in c#? Pin
Gerry Schmitz4-Feb-20 3:10
mveGerry Schmitz4-Feb-20 3:10 
QuestionError: "No exports were found that match the constraint" Pin
Kevin Marois3-Feb-20 9:49
professionalKevin Marois3-Feb-20 9:49 
Today, out of nowhere, I started getting this error when I run my app
System.ComponentModel.Composition.ImportCardinalityMismatchException: No exports were found that match the constraint: 
    ContractName    Views.MainWindow
    RequiredTypeIdentity    Views.MainWindow
I have made NO code changes. One minute it was running fine, the next - bam! error.

ALl of the Google search hits I found talk about some kind of Visual Studio problem, but this only happens when I RUN my app, not open it. And, the message sure smells like EntityFramework, which we're using.

The message mentions "ImportCardinalityMismatchException". Never seen this before.

I following the instructions in this SO post, I repaired VS, rebooted, and all that.

Anyone have any thoughts on this?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Error: "No exports were found that match the constraint" Pin
Eddy Vluggen3-Feb-20 10:46
professionalEddy Vluggen3-Feb-20 10:46 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Kevin Marois3-Feb-20 10:49
professionalKevin Marois3-Feb-20 10:49 
QuestionRe: Error: "No exports were found that match the constraint" Pin
Eddy Vluggen3-Feb-20 12:08
professionalEddy Vluggen3-Feb-20 12:08 
AnswerRe: Error: "No exports were found that match the constraint" Pin
Kevin Marois3-Feb-20 12:12
professionalKevin Marois3-Feb-20 12:12 
AnswerRe: Error: "No exports were found that match the constraint" Pin
Gerry Schmitz3-Feb-20 16:34
mveGerry Schmitz3-Feb-20 16:34 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Kevin Marois3-Feb-20 16:38
professionalKevin Marois3-Feb-20 16:38 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Gerry Schmitz3-Feb-20 17:02
mveGerry Schmitz3-Feb-20 17:02 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Kevin Marois3-Feb-20 17:04
professionalKevin Marois3-Feb-20 17:04 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Gerry Schmitz3-Feb-20 17:17
mveGerry Schmitz3-Feb-20 17:17 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Kevin Marois3-Feb-20 17:35
professionalKevin Marois3-Feb-20 17:35 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Gerry Schmitz4-Feb-20 2:53
mveGerry Schmitz4-Feb-20 2:53 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Kevin Marois5-Feb-20 6:05
professionalKevin Marois5-Feb-20 6:05 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Eddy Vluggen4-Feb-20 3:48
professionalEddy Vluggen4-Feb-20 3:48 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Kevin Marois5-Feb-20 6:20
professionalKevin Marois5-Feb-20 6:20 
GeneralRe: Error: "No exports were found that match the constraint" Pin
Eddy Vluggen5-Feb-20 6:36
professionalEddy Vluggen5-Feb-20 6:36 
General[RESOLVED] Re: Error: "No exports were found that match the constraint" Pin
Kevin Marois5-Feb-20 6:54
professionalKevin Marois5-Feb-20 6:54 
GeneralRe: [RESOLVED] Re: Error: "No exports were found that match the constraint" Pin
Eddy Vluggen5-Feb-20 7:10
professionalEddy Vluggen5-Feb-20 7:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.