Comments (11)
When using 2.9.4 I get the following warning:
Severity Code Description Project File Line Suppression State
Warning Found conflicts between different versions of "MrAdvice" that could not be resolved.
There was a conflict between "MrAdvice, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c0e7e6eab6f293d8, processorArchitecture=MSIL" and "MrAdvice, Version=2.9.4.0, Culture=neutral, PublicKeyToken=c0e7e6eab6f293d8".
"MrAdvice, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c0e7e6eab6f293d8, processorArchitecture=MSIL" was chosen because it was primary and "MrAdvice, Version=2.9.4.0, Culture=neutral, PublicKeyToken=c0e7e6eab6f293d8" was not.
References which depend on "MrAdvice, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c0e7e6eab6f293d8, processorArchitecture=MSIL" [].
Unresolved primary reference with an item include of "MrAdvice, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c0e7e6eab6f293d8, processorArchitecture=MSIL".
References which depend on "MrAdvice, Version=2.9.4.0, Culture=neutral, PublicKeyToken=c0e7e6eab6f293d8" [].
C:\Dev\Abc-CA\Abc.Def.Core\packages\Abc.Diagnostics.2.5.0-prerelease.2.beta\lib\net472\Abc.Diagnostics.dll
Project file item includes which caused reference "C:\Dev\Abc-CA\Abc.Def.Core\packages\Abc.Diagnostics.2.5.0-prerelease.2.beta\lib\net472\Abc.Diagnostics.dll".
Abc.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=251a3ce1bec1fe55, processorArchitecture=MSIL
C:\Dev\Abc-CA\Abc.Def.Core\Abc.Def.Core\bin\Debug\net472\Abc.Def.Core.dll Abc.Def.Config
When going back to 2.9.1 the warning disappears.
The solution contains old csproj files and new SDK-style csproj files. All projects target net472.
In a solution containing only new SDK-style csproj files the warning does not occur.
from mradvice.
Thank you, sorry for that, it should be OK in version 2.9.3… Let me know 😅
from mradvice.
Thanks for your fast fix. The Product version seems to be correct now. Unfortunately the File Version is still on 2.0.0.0
from mradvice.
Yes, that was on purpose, to allow compatibility. Are you still stuck?
from mradvice.
Yes I'm still stuck. Because version 2.8.8 had a file version of 2.8.8.0
My installer seems to have a problem with an increase of Product version and a decrease in File version.
from mradvice.
OK, sorry to read that, I’ll fix tonight (french hour). If you’re in a hurry, please submit a pull request.
from mradvice.
Fixed again… Hopefully. Version 2.9.4.
from mradvice.
Perfect, thank you very much.. The installer works now as expected again.
By the way I'm using "advanced installer 18.9" which has problems to update a file with lower file version and higher product version.
from mradvice.
Good to know, thank you.
from mradvice.
I’ll try to fix this this week, but we’ll probably come back to original versioning (where assembly version is always 2.0, only file version changes).
from mradvice.
There is a new version where:
- package and file versions are 2.9.5
- MrAdvice assembly version is 2.0
- MrAdvice file version is 2.9.5
It’s getting back to the original design, which was lost duringcsproj
migration to SDK-style.
from mradvice.
Related Issues (20)
- Failed to resolve assembly: System.Private.CoreLib, Version=5.0.0.0 HOT 20
- Dotnet core DI and logging HOT 6
- MrAdvice.Weaver.exe fails on Visual Studio 2017 HOT 2
- MrAdviceWeaverPath not defined in Xamarin.Android project HOT 8
- dotnet build on linux build agents
- Containerize the solution in linux with .NET Core 3.1 HOT 4
- Crash when weaving in azure linux build agent .net 6 HOT 4
- StackTraceHiddenAttribute
- Support for .NET 7 HOT 1
- NullReferenceException on build
- No compatible code running on the thread HOT 2
- .NET 8 support? HOT 3
- Cannot build project on mac HOT 7
- PDB fails to load HOT 7
- Compilation error in vs2022 HOT 9
- Advice on methods of child class HOT 1
- Error code 1 when project have refference to MrAdvice, but doesn't have any annotations HOT 3
- [feature request] Allow set custom attributes on inner method HOT 4
- Override assembly level attributes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mradvice.