Click here to Skip to main content
15,891,828 members
Home / Discussions / C#
   

C#

 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Luc Pattyn5-Feb-20 8:54
sitebuilderLuc Pattyn5-Feb-20 8:54 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
OriginalGriff5-Feb-20 9:08
mveOriginalGriff5-Feb-20 9:08 
AnswerRe: Performance penalty of Debug.Assert in .NET Pin
jsc4210-Feb-20 4:13
professionaljsc4210-Feb-20 4:13 
QuestionHow do i get value from string Pin
SSI134-Feb-20 19:40
SSI134-Feb-20 19:40 
AnswerRe: How do i get value from string Pin
OriginalGriff4-Feb-20 20:02
mveOriginalGriff4-Feb-20 20:02 
QuestionDecrease download speed in DownloadFileAsync Pin
Ayub Kokabi3-Feb-20 20:38
Ayub Kokabi3-Feb-20 20:38 
AnswerRe: Decrease download speed in DownloadFileAsync Pin
Pete O'Hanlon3-Feb-20 20:58
mvePete O'Hanlon3-Feb-20 20:58 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi4-Feb-20 3:38
Ayub Kokabi4-Feb-20 3:38 
AnswerRe: Decrease download speed in DownloadFileAsync Pin
Gerry Schmitz4-Feb-20 3:18
mveGerry Schmitz4-Feb-20 3:18 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi4-Feb-20 6:07
Ayub Kokabi4-Feb-20 6:07 
AnswerRe: Decrease download speed in DownloadFileAsync Pin
MadMyche7-Feb-20 8:04
professionalMadMyche7-Feb-20 8:04 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi7-Feb-20 19:45
Ayub Kokabi7-Feb-20 19:45 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
MadMyche8-Feb-20 1:02
professionalMadMyche8-Feb-20 1:02 
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 

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.