Conflicts between different versions of the same dependent assembly.


Author
Message
Daniel Essin
Daniel Essin
StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)
Group: Forum Members
Posts: 235, Visits: 309
Got the following compiler warning:

Warning   1   Found conflicts between different versions of the same dependent assembly.



Attech jpg shows all project references

Attachments
ProjectRefs.jpg (292 views, 59.00 KB)
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The actual assembly that is causing that error is the EnvDTE assembly. Our some of our framework DLLs reference the EnvDTE for design-time use and there are multiple versions of it. It is never used by any runtime component of StrataFrame (doing so would require Visual Studio to be installed on every machine you run a StrataFrame application on), but having a reference to I believe MicroFour StrataFrame UI.dll causes the Visual Studio project to assume that it needs EnvDTE.dll. When you get the error message, simply select "Yes" and Visual Studio will modify the application's app.config file to correct the compiler warning.
Daniel Essin
Daniel Essin
StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)StrataFrame User (275 reputation)
Group: Forum Members
Posts: 235, Visits: 309
Thank you
John Frankewicz
John Frankewicz
StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)
Group: Forum Members
Posts: 36, Visits: 65
I also get this, but its a warning when the solution is built. See below:

Warning 1 Found conflicts between different versions of the same dependent assembly. Medselect.Oncology.Login

How do you get rid of this warning?

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Double click on the warning, this will bring up a message box.  Just click "Yes" and the message will go away. 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search